How to Install Adventure Works Database on Mac M1 & M2 | SQL Server, Docker and Azure Data Studio

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • How to Install Adventure Works Database on Mac M1 & M2
    SQL Server Management Studio Alternate using Docker SQL Container and Azure Data Studio.
    Link to the Adventure Works Download :
    docs.microsoft...
    Terminal Command to move Adventure Works to SQL Docker Container :
    docker cp ~/Downloads/AdventureWorks2019.bak {containerID}:/var/opt/mssql/data/
    **Replace container ID and the curly braces with container ID from docker application. Also make sure File name matches the download.
    Keywords :
    Install Adventure Works on Mac 2022
    Install Adventure Works Sample Database to SQL Server Management Studio
    Adventure Works Sample Database 2019
    Adventureworks
    SQL Studio
    SQL Server Management Studio
    #sqlserver #sqlservermanagementstudio #mac

КОМЕНТАРІ • 69

  • @rahmiozerdemir8151
    @rahmiozerdemir8151 2 місяці тому +2

    If RESTORE button not visible you may go to left bottom and click settings> click Command palette and write manually `restore`

  • @VladislavaVucetic
    @VladislavaVucetic 2 місяці тому +2

    i also dont have Restore option available. I already have enabled preview features and also installed sql server dacpac so really not sure how to get that button :(

  • @yadmer100
    @yadmer100 2 роки тому +2

    Thank you!! Exactly what I was looking for!

  • @kayjoshi350
    @kayjoshi350 Рік тому +1

    Thank you, great video and super easy to understand compared to any other video I watched!

  • @BruceWilliams-mt9xt
    @BruceWilliams-mt9xt Рік тому

    Super Helpful! More videos are needed! Great job!
    😀

  • @Ola2526O
    @Ola2526O Рік тому +1

    Awesome! Many thanks. Well appreciated.

  • @julybrown4916
    @julybrown4916 Рік тому +1

    Thank you for such helpful and very useful video.

  • @soheilpalermo491
    @soheilpalermo491 Рік тому

    Thanks mate really helpful

  • @omgmaw
    @omgmaw Рік тому +1

    Great video. Please make more videos on azure data studios!

  • @proactivegirl
    @proactivegirl Рік тому

    thank you so much! with your help only I can install MS SQL and database

  • @JeannePaulineMallari
    @JeannePaulineMallari Рік тому +2

    Hi! Can you please help? I'm having an error. It says this:
    Restore Database: Microsoft.Data.SqlClient.SqlError: The database was backed up on a server running database version 957. That version is incompatible with this server, which supports version 931. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server.
    Is there a way to fix this or the database itself is outdated? I perfectly followed your instructions. It works on the old 2019 BAK file but not the Adventureworks 2022 which I need :/

    • @beyonder7817
      @beyonder7817 9 місяців тому

      same error :(

    • @G25071983
      @G25071983 9 місяців тому

      same error

    • @beyonder7817
      @beyonder7817 8 місяців тому

      try downloading the 2019 version, it is showing an error for 2022 version

  • @chelseacook1854
    @chelseacook1854 2 роки тому +1

    Thank you SO MUCH!

  • @ONikeeenO
    @ONikeeenO Рік тому

    Ohh, you are so amazing, thank you for this video!🙏

  • @KennieFIRE
    @KennieFIRE Рік тому +1

    Thank you a lot!

  • @rudreshjasani5081
    @rudreshjasani5081 Рік тому

    btw thank you for the installation video

  • @joscaz
    @joscaz 5 місяців тому

    Thanks, it worked

  • @Hipp962
    @Hipp962 11 місяців тому

    THANK YOU SO MUCH you saved meeee 😭😭

  • @kametayturar
    @kametayturar Рік тому +1

    THANK YOU!!!

  • @hamzaaltaee2895
    @hamzaaltaee2895 Рік тому +1

    Thanks , keep it up

  • @ninalange3989
    @ninalange3989 5 місяців тому

    thank u so so much!

  • @NiranjanMariyappa
    @NiranjanMariyappa Рік тому +1

    Thank you

  • @lilasle
    @lilasle 2 місяці тому

    I use Macbook air 2019, I follow the instruction but when the restore step I couldn't find it in my Azure Studio even I press refresh many times

    • @VladislavaVucetic
      @VladislavaVucetic 2 місяці тому +2

      go to general setting icon (for me its bottom left), then hit Command Palette and in search bar put Restore. it pulls up same box as in video and it worked for me

    • @matveykokin4879
      @matveykokin4879 2 місяці тому

      @@VladislavaVucetic Thanks boss!

  • @uwayojacques317
    @uwayojacques317 Рік тому

    thanks for knowledge share however i am getting You must enable preview features in order to use restore

  • @cerioscha
    @cerioscha Рік тому

    Thanks !

  • @itssaintwalrus5577
    @itssaintwalrus5577 8 місяців тому

    God bless your soul

  • @hadiqabukhari6780
    @hadiqabukhari6780 4 місяці тому +1

    There is no "restore" button showing on my Azure Data Studio when I go to "Manage"

    • @matveykokin4879
      @matveykokin4879 2 місяці тому

      Same... Were you able to solve the issue yet?

    • @schan263
      @schan263 2 місяці тому

      Select a database (create a dummy one if necessary) and then select "Manage". You will see the Restore option. Don't worry about different database. It will be corrected once you select the bak file. However, azure sql edge doesn't work for tables with more rows (ie. employee table), it seems. You can only query against small tables. So I am switching to Azure SQL Server.

  • @lana.16
    @lana.16 Рік тому +1

    Thank you for this video. May I know how I could import a csv table into the database?

    • @datawithdominic
      @datawithdominic  Рік тому

      Will do this video soon ? Do you want it for mac or windows ?

    • @lana.16
      @lana.16 Рік тому

      @@datawithdominic for mac. thank you!

  • @anthonyobiora1987
    @anthonyobiora1987 11 місяців тому

    Hello I did everything you said but my azure is not connecting ( the network related or instance -specific error occurred) please help me

  • @rudreshjasani5081
    @rudreshjasani5081 Рік тому

    Hi there, right click is not working for me to manage the database on left hand side bar. can you please mention how I can do that or share me the link of the solution.

  • @leiwu4302
    @leiwu4302 Рік тому

    I successfully insalled Adventureworks, but when I run a select query, it is not working. Error Msg 10347 Common Language Runtime (CLR) is not enabled on this instance. Please help! Thanks!

  • @missloliipop
    @missloliipop 2 роки тому +1

    how to input a csv file in Azure data studio with a MacBook please??

    • @datawithdominic
      @datawithdominic  2 роки тому +1

      Thanks for the recommendation will definitely cover this in a future video

  • @Harry96mega
    @Harry96mega 4 місяці тому

    Hiii. Why I don't have the restore option?? Anybody can help me?

    • @schan263
      @schan263 2 місяці тому

      Select a database (create a dummy one if necessary) and then select "Manage". You will see the Restore option. Don't worry about different database. It will be corrected once you select the bak file. However, azure sql edge doesn't work for tables with more rows (ie. employee table), it seems. You can only query against small tables. So I am switching to Azure SQL Server.

  • @dans4
    @dans4 8 місяців тому

    Thank you for the video. Why is the "restore" option missing in Azure when I go to manage the server? There is "new database" in its place

    • @АлександрКрайник-р1р
      @АлександрКрайник-р1р 6 місяців тому

      In Azure settings you should find "Workbench: Enable Previous features...". Check this box and apply to all profiles. Next in Search line enter: >restore

    • @davidkim9709
      @davidkim9709 4 місяці тому

      any luck? missing the restore options as well. Tried below solution, but that did not work.

    • @hadiqabukhari6780
      @hadiqabukhari6780 4 місяці тому

      @@davidkim9709 facing the same problem

    • @schan263
      @schan263 2 місяці тому

      Select a database (create a dummy one if necessary) and then select "Manage". You will see the Restore option. Don't worry about different database. It will be corrected once you select the bak file. However, azure sql edge doesn't work for tables with more rows (ie. employee table), it seems. You can only query against small tables. So I am switching to Azure SQL Server.

  • @manansharma3889
    @manansharma3889 Рік тому

    What does this exactly do in SQL if someone can make. me understand. I am new to SQL

  • @keithbonaventure8302
    @keithbonaventure8302 10 місяців тому

    What happen if the restored database failed due to version? What can I do?

  • @chijiokekelvinson6504
    @chijiokekelvinson6504 Рік тому

    Hi, in the adventureWorks.. i queried for HumanResources.Employee table but i keep getting Msg 10347 about Common Language Runtime(CLR) is not enabled on this instance.. Any way to solve this ?

    • @lucaszago314
      @lucaszago314 Рік тому

      Same here

    • @schan263
      @schan263 2 місяці тому

      I think it's because that is a large table and azure sql edge is for small devices with little resources. I am going to switch to Azure SQL server.

  • @Hubbs3of6
    @Hubbs3of6 Рік тому

    I received an error "no such directory" and I copied directly ":/var/opt/mssql/data/". What did I do wrong?

    • @brusso439
      @brusso439 Рік тому

      I had the same issue. You have to remove the curly brackets between the ID.

    • @Hubbs3of6
      @Hubbs3of6 Рік тому

      @@brusso439 Thank you. I figured it out 3 weks ago. Much appreciated.

  • @nvardbaghdasaryan9570
    @nvardbaghdasaryan9570 Рік тому

    Thank you, very helpfull video.
    Could you please advise how to enable CLR integration on Azure data studio in order to solve the problem regarding HumanResources.Employee database with the follwoing error:
    --Msg 10347, Level 16, State 1, Procedure Employee, Line 1
    Common Language Runtime(CLR) is not enabled on this instance.
    Msg 474, Level 16, State 0, Line 1
    Unable to load the computed column definitions for table "HumanResources.Employee".--

    • @KishanPatel-te9zh
      @KishanPatel-te9zh 8 місяців тому

      Hi. Were you able to find a solution for this? Thanks!

    • @schan263
      @schan263 2 місяці тому

      I think it's because the Employee table is big. Azure Sql Edge is meant for small device. So you can query small tables but not with a larger table. I am switching to Azure SQL Server.

  • @אילקיצוני
    @אילקיצוני Рік тому +1

    thx you! how do I fix human.resources.employee table??

    • @datawithdominic
      @datawithdominic  Рік тому

      Can you elaborate what you want to fix exactly ?

    • @mitrasinoviic
      @mitrasinoviic Рік тому

      @@datawithdominic
      I have the same problem. Common Language Runtime (CLR) is not enabled on this instance. Unable to load the computed column definitions for table "HumanResources.Employee".

    • @G4thungu
      @G4thungu 9 місяців тому

      Hi there, did you get a FIX for this error? I have the same error

    • @KishanPatel-te9zh
      @KishanPatel-te9zh 8 місяців тому +1

      @@G4thungu Hi. Did you manage to find any solution for this? Thanks :)

  • @mert7046
    @mert7046 Рік тому

    Thank you so much!

  • @Bell-eg9pz
    @Bell-eg9pz Рік тому

    Thank you!