In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
How to use SQL Server Management to connect to SQL Azure, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
We showed you how to create a SQL Azure Database earlier, and here we show how to use SQL Server Management Studio (SSMS) to connect to and manage SQL Azure Database. Please install SQL Server Manage Studio first to prepare this course content.
1. First of all, let's go to the Windows Azure user management interface.
two。 Select "--> Select the subscription, locate the newDB database you created earlier, then find the connection string in the Properties column on the right, and select the button to the right of View.
3. In the pop-up window, we can see the connection string connected to the SQL Azure database. We select the connection string and copy it to the clipboard.
5. Open the native SQL Server Management Studio (SSMS). Copy the clipboard SQL Azure connection string in Server Name and enter the administrator's username and password in: Login and Password.
6. In Object Explorer, we see that the SQL Azure database is no different from the local database. We can see the default master database for SQL Azure and the newDB database we created earlier.
7. You can see that I am currently connected to the master database. What if I want to switch to the newDB database? Experienced developers are sure to think of using the USE command. So I executed this command: USE newDB. But after the implementation, it was found that the implementation was not successful.
The red error message above tells us that USE statements are not supported in SQL Azure.
So what if we want to switch to the newDB database? We can only disconnect the current connection and then reconnect to the SQL Azure server.
8. We disconnect the current connection and re-enter it and select "Options" in the login window.
9. Select "Browse server" in the Connection to database of "Connection Properties"
10. After a moment, SSMS will read all the database information in SQL Azure, then we select newDB and click "OK"
11.newDB becomes the database we want to connect to. We choose "Connect" to log in to SQL Azure.
twelve。 Determine the selected database by executing select db_name ()
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.