<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Azure Support &#187; SSMS</title>
	<atom:link href="http://www.azuresupport.com/tag/ssms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.azuresupport.com</link>
	<description>Windows Azure Tutorial</description>
	<lastBuildDate>Mon, 25 Apr 2011 10:32:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Connecting to SQL Azure [FAQ]</title>
		<link>http://www.azuresupport.com/2009/12/connecting-to-sql-azure-faq/</link>
		<comments>http://www.azuresupport.com/2009/12/connecting-to-sql-azure-faq/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 03:13:30 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=86</guid>
		<description><![CDATA[Connecting to a SQL Azure database is extremely simple, connection can be done using the classic ADO.NET  method. When a database is created in SQL Azure a connection string is generated. This connection string follows the normal  syntax for connection strings and can be substituted for a connection string to a SQL Server in an [...]]]></description>
			<content:encoded><![CDATA[<p>Connecting to a SQL Azure database is extremely simple, connection can be done using the classic ADO.NET  method. When a database is created in SQL Azure a connection string is generated. This connection string follows the normal  syntax for connection strings and can be substituted for a connection string to a SQL Server in an ADO.NET Connection object.</p>
<p>There is a subtle difference in connecting compared with SQL Server. When connecting to SQL Server you are first connected to the server and through the server to the database, in Azure you are directly connected to the database. This means that there is no support for context switching using the USE keyword (in SQL Server this allowed the Server to direct a request to a database determined at run-time).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.azuresupport.com/2009/12/connecting-to-sql-azure-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to a SQL Azure Database Using SSMS or SQLCMD</title>
		<link>http://www.sqlazureperformance.com/2010/connect-to-a-sql-azure-database-using-ssms-or-sqlcmd/</link>
		<comments>http://www.sqlazureperformance.com/2010/connect-to-a-sql-azure-database-using-ssms-or-sqlcmd/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 07:22:38 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Sql Server Management Studio]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=341</guid>
		<description><![CDATA[As at launch in January 2010 SSMS can connect to SQL Azure, but the object browser does not work. Ensure that you have setup the SQL Azure firewall to allow your IP to connect to SQL Azure. Start up SSMS and when the connection dialog appears hit Cancel, this is due to a connection error [...]]]></description>
			<content:encoded><![CDATA[<p>As at launch in January 2010 SSMS can connect to SQL Azure, but the object browser does not work.</p>
<ol>
<li>Ensure that you have <a href="../2009/12/sql-azure-firewall-tutorial/">setup the SQL Azure firewall</a> to allow your IP to connect to SQL Azure.</li>
<li>Start up SSMS and when the connection dialog appears hit Cancel, this is due to a connection error bug if the initial connection dialog is used (this issue is unfixed as at Azure&#8217;s Jan 2010 launch but a patch is promised).</li>
<li>From SSMS click New Query which should launch the connection dialog again. You will need to enter your SQL Azure database login credentials. The Server Name and Admin name are as in the SQL Azure Portal and your password is initially set your SQL Azure online portal&#8217;s password (these details can also be taken from the connection string for a database).<br />
<a href="http://azuresupport.com/wp-content/uploads/2009/12/azconnect1i1.png"><img class="alignnone size-full wp-image-344" title="azconnect1i" src="http://azuresupport.com/wp-content/uploads/2009/12/azconnect1i1.png" alt="" width="564" height="151" /></a>&nbsp;</p>
<p><br class="spacer_" /></p>
<p>Enter the details into the connection dialog and select SQL Server Authentication as the authentication method (SQL Azure doesnt support Windows Authentication).</p>
<p><img title="azconnect2" src="http://azuresupport.com/wp-content/uploads/2009/12/azconnect21.png" alt="" width="431" height="325" /></p>
<p>You are now connected to SQL Azure, but as noted above, the object browser won&#8217;t display your database objects so the primary use of SSMS for SQL is to execute TSQL.</p>
<p>NOTE &#8211; If you are using SSMS pre 2008 R2, the SQL Azure objects will not be visible. If possible, you should use the SSMS that ships with SQL Server 2008 RS to connect to SQL Azure.</li>
</ol>
<h3>Connecting to Azure using SQLCMD</h3>
<p>SQLCMD connections are supported in SQL Azure using the below syntax:</p>
<p><br class="spacer_" /></p>
<pre lang="sql">Connecting to SQL Azure via SQLCMD
C:&gt;sqlcmd -S  -U  -P  -S  -d</pre>
<p>All these credentials are as above except for USER which is in the format username@server , where username is the user&#8217;s login name and server is the first section of the server name before database.windows.net.</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlazureperformance.com/2010/connect-to-a-sql-azure-database-using-ssms-or-sqlcmd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

