Announcement

Collapse
No announcement yet.

How can we use SQL DataBase project in Visual Studio code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can we use SQL DataBase project in Visual Studio code?

    For using Database projects with SQL Server we need to run the below commands:

    List the available dotnet sdks:
    Code:
    dotnet --list-sdks
    Install SQL SDK:
    Code:
     dotnet new install microsoft.build.sql.templates


    Install SQLPackage:
    Code:
    dotnet tool install -g microsoft.sqlpackage
    Code:
    echo 'export PATH="$PATH:$HOME/.dotnet/tools"' >> ~/.zshrc\n
    ​source ~/.zshrc
    ​sqlpackage /version
Working...
X