I have installed all the extensions required for SQL to run in VS code, but I'm not able to add the connection profile for SQL.
Can somebody please help me in adding that connection profile?
I have installed all the extensions required for SQL to run in VS code, but I'm not able to add the connection profile for SQL.
Can somebody please help me in adding that connection profile?
Maybe this can help you, add this code to your appsettings.json
"ConnectionStrings": { "DefaultConnection": "Data Source=localhost;Initial Catalog=
<your database name>;Connect Timeout=30;Integrated Security=True;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" }
If you don't use localhost
"ConnectionStrings": { "DefaultConnection": "Data Source=
<your servername>;Initial Catalog=<your database name;User ID=<your auth username>;Password=<your auth password>;Connect Timeout=30;Integrated Security=True;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" }