简体   繁体   中英

What server name to use for MS SQL Server Management Studio?

I am new at SQL Servers. Don't know how to connect to server. Can anyone tell me how can I create new server for developing C# desktop application with database.

2

For your local instance use:

 .

and choose Windows Authentication so you don't have to enter SQL credentials.

There is one easy way to Browse servers in your system

open your Connect to server Dialog box, in server name drop down you will find Browse for more option at last. 看到这张图片

Now, You will have two tabs, Local server and Network server.

In Local server, you can see your available MS SQL servers.

This is the best place to start.

https://www.connectionstrings.com/

For your specific scenario, you want this.

https://www.connectionstrings.com/sql-server/

From there, you have several options.

Standard Security
Server=myServerAddress;Database=myDataBase;User Id=myUsername;
Password=myPassword;

OR

Trusted Connection
Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;

etc...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM