Hello Friends, in this article , i m going to explain all steps to connect sql server with visual studio code.
Step 1 : Open visual studio code, click extensions. write in search box SQL server and click install.

Step 2 : After installing SQL Server(mssql) click View Tab and select Command Palette and click.

Step 3 : write in search box SQL and click MS SQL:Connect . it starts installing SQL tools services.

Step 4 : select SQL Server -> Add Connection -> Give correct information about connection string.

Step 5 : Give Server Name press enter -> Database Name press enter -> select SQL Login press enter -> user name press enter -> password press enter.

finally SQL server connected with visual studio code.

Happy Coding Thanks…