SIGN UP MEMBER LOGIN:    
ARTICLE

Connecting from SQL Server 2008 Management Studio to SQL Azure

Posted by Dhananjay Kumar Articles | SQL Server 2012 December 13, 2010
In this walkthrough we will see how to connect from Local SQL server management studio to SQL Azure. Follow the below steps.
Reader Level:

In this walkthrough we will see how to connect from Local SQL server management studio to SQL Azure. Follow the below steps.

Open SQL Server management studio

azure1.gif

You will get Connect to server dialog box. Click cancel on that.

azure2.gif

After canceling the dialog box click on New Query from left top

azure3.gif

On clicking New Query, you will get the connect to server dialog box again.

azure4.gif

Now here you need to provide, Server name of SQL Azure and Login credential of SQL Azure.

To know what is database server name of SQL Azure portal, login to Windows Azure portal with your live credential and then click on SQL Azure tab

azure5.gif

You will get the server name in form of

abc.database.windows.net

Where abc is name of your SQL Azure server. We need to provide this server name at local sql server management studio.

azure6.gif

Make sure to select SQL Server Authentication and provide login user name and password of your SQL Azure database portal.

After that before clicking Connect click on Option

azure7.gif

Provide the database name you want to connect by default. I am connecting to Student database.

azure8.gif

Now click on Connect to connect to SQL Azure

On successful connection to test

select
* from sys.databases

You will get listed all your SQL Azure databases.

azure9.gif

Login to add your contents and source code to this article
share this article :
post comment
 
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor