<?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; SQL Azure</title>
	<atom:link href="http://www.azuresupport.com/category/articles/sql-azure/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>SQL Azure Backup Using Database Copy</title>
		<link>http://www.sqlazureperformance.com/2010/sql-azure-backup-database-copy/</link>
		<comments>http://www.sqlazureperformance.com/2010/sql-azure-backup-database-copy/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 05:44:32 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Copy]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=865</guid>
		<description><![CDATA[Backup is currently a major gap in the SQL Azure product, but with support for Database Copy TSQL command has given at least one option for directly backing up a SQL Azure database by copying a source Azure database to a newly created  Azure database. The TSQL command structure below provides will produce a copy [...]]]></description>
			<content:encoded><![CDATA[<p>Backup is currently a major gap in the SQL Azure product, but with support for Database Copy TSQL command has given at least one option for directly backing up a SQL Azure database by copying a source Azure database to a newly created  Azure database.</p>
<p>The TSQL command structure below provides will produce a copy of a database:</p>
<pre>CREATE DATABASE  database_destination_name
AS COPY OF [source_server_name.]database_source_name</pre>
<p><br class="spacer_" /></p>
<p>Note that this TSQL syntax allows for copying to a different Azure server. This is not necessary to protect the data from a disaster recovery point of view since the data is replicated across 3 geographic locations, but it might be required if you wish to copy the database to a different admin account or perhaps a different Azure account that would be billed separately to the source database account. If the database is copied to a new server the exact same login/password pair executing the command must exist on both the source server and destination server.</p>
<p>The copying process will not result in any downtime for the source database, and the copy will be a full copy complete with transactional data (note that this will be the transaction data as at the end time of the copying process not the start time of the copying process).</p>
<p>To monitor the copying process and determine if there were any copying errors you can query the <em>sys.dm_database_copies</em> view. The below command will retrieve all the data regarding the copying process:</p>
<pre>Select * from sys.dm_database_copies</pre>
<p>A major drawback to using Database Copy for backup is cost &#8211; each copy/backup will be charged as a new SQL Azure database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlazureperformance.com/2010/sql-azure-backup-database-copy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Azure CDN Locations</title>
		<link>http://www.azuresupport.com/2010/08/windows-azure-cdn-locations/</link>
		<comments>http://www.azuresupport.com/2010/08/windows-azure-cdn-locations/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 08:57:43 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[CDN]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=783</guid>
		<description><![CDATA[The Azure CDN serves data which is cached at different global &#8216;edge&#8217; locations. Currently, there are 22 CDN locations: United States Ashburn Bay Area Chicago San Antonio Los Angeles Miami Newark Seattle Europe Amsterdam Dublin London Paris Stockholm Vienna Zurich Asia-Pacific Hong Kong Singapore Sydney Tokyo Seoul Taipei South America São Paulo]]></description>
			<content:encoded><![CDATA[<p>The Azure CDN serves data which is cached at different global &#8216;edge&#8217; locations.</p>
<p>Currently, there are 22 CDN locations:</p>
<p><span id="more-783"></span></p>
<p><strong>United States</strong></p>
<ul>
<li>Ashburn</li>
<li>Bay Area</li>
<li>Chicago</li>
<li>San Antonio</li>
<li>Los Angeles</li>
<li>Miami</li>
<li>Newark</li>
<li>Seattle</li>
</ul>
<p><strong>Europe</strong></p>
<ul>
<li>Amsterdam</li>
<li>Dublin</li>
<li>London</li>
<li>Paris</li>
<li>Stockholm</li>
<li>Vienna</li>
<li>Zurich</li>
</ul>
<p><strong>Asia-Pacific </strong></p>
<ul>
<li>Hong Kong</li>
<li>Singapore</li>
<li>Sydney</li>
<li>Tokyo</li>
<li>Seoul</li>
<li>Taipei</li>
</ul>
<p><strong>South America</strong></p>
<ul>
<li>São Paulo</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.azuresupport.com/2010/08/windows-azure-cdn-locations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Azure CDN Pricing</title>
		<link>http://www.azuresupport.com/2010/08/windows-azure-cdn-pricing/</link>
		<comments>http://www.azuresupport.com/2010/08/windows-azure-cdn-pricing/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 08:43:44 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[Pricing]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=780</guid>
		<description><![CDATA[The Azure CDN is priced in two tiers: $0.15 per GB for data from European and North American locations. $0.20 per GB for data from other locations. In addition there is a flat charge of $0.01 per 10,000 transactions. The CDN works by caching content at its 20 worldwide &#8216;edge&#8217; locations, the first time that [...]]]></description>
			<content:encoded><![CDATA[<p>The Azure CDN is priced in two tiers:</p>
<ul>
<li>$0.15 per GB for data from European and North American locations.</li>
<li>$0.20 per GB for data from other locations.</li>
</ul>
<p>In addition there is a flat charge of $0.01 per 10,000 transactions.</p>
<p>The CDN works by caching content at its 20 worldwide &#8216;edge&#8217; locations, the first time that a file is requested at an edge location it must be transferred from Azure Storage and will thus incur Azure Storage costs in addition to the CDN pricing.</p>
<p>Azure CDN pricing is broadly comparable to Amazon&#8217;s competing CloudFront CDN, except that CloudFront prices transactions at $0.0075 per 10,000 and also offers discounts for larger data transfers (down to $0.03 for 1,000TB per month.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.azuresupport.com/2010/08/windows-azure-cdn-pricing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating A SQL Server Database To SQL Azure</title>
		<link>http://www.sqlazureperformance.com/2010/migrating-sql-server-database-to-sql-azure/</link>
		<comments>http://www.sqlazureperformance.com/2010/migrating-sql-server-database-to-sql-azure/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 04:40:24 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Migrating]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=628</guid>
		<description><![CDATA[SQL Azure is essentially a cut down version of SQL Server and so we would expect that migrating from SQL Server to SQL Azure should be a straightforward task. However, in the first release of SQL Azure, the scripts generated by SQL Server Management Studio will require some extra cleanup since not all the SQL [...]]]></description>
			<content:encoded><![CDATA[<p>SQL Azure is essentially a cut down version of SQL Server and so we would expect that migrating from SQL Server to SQL Azure should be a straightforward task. However, in the first release of SQL Azure, the  scripts generated by SQL Server Management Studio will require some extra cleanup since not all the SQL Server 2008 features are supported in SQL Azure.</p>
<p>For this demo we will use SQL Server Management Studio (SSMS) to generate the SQL scripts and<br />
migrate an existing database from SQL Server 2008 to  SQL Azure. It should be noted that there are several tools such as the SQL Migration Wizard for assisting in the migration, but in this article we will look at performing a manual migration.</p>
<p>Since SQL Azure is built from SQL Server 2008, the database should first be migrated to SQL Serer 2008 if necessary (note &#8211; it is not necessary to update to 2008 R2).</p>
<ol>
<li>Open SQL Server Management Studio (SSMS), right-click on the database node of the database to be migrated (AdventureWorks for this demo) and select Tasks &gt; Generate Scripts , then select the database to be migrated and click Next:<br />
<img class="alignnone size-full wp-image-630" title="img1" src="http://64.207.144.116/wp-content/uploads/2010/03/ScreenHunter_01-Mar.-05-11.11.gif" alt="" width="510" height="484" /></li>
<li>In the <strong>Choose Script Options </strong>page, we need to configure the script to comply with the restrictions of SQL Azure, so make the following changes:
<ul>
<li><strong>Convert UDDTs to Base Type</strong>: Set this  to true as SQL Azure does not support user-defined types. UDDT&#8217;s need to be converted into SQL Azure portable types.</li>
<li><strong>Script extended properties</strong>: Set to false as SQL Azure does not support extended properties.</li>
<li><strong>Script USE DATABASE</strong>: Set to false as SQL Azure does not support the USE statement.</li>
<li> <strong>Script Data</strong>: Set to false since we are not migrating the data right now.</li>
</ul>
</li>
<li>In the Choose Object Types page &#8211; select all the objects except User Defined Data Types and click Next:<br />
<img class="alignnone size-full wp-image-632" title="img2" src="http://64.207.144.116/wp-content/uploads/2010/03/ScreenHunter_03-Mar.-05-11.271.gif" alt="" width="510" height="459" /></li>
<li>In a succession of screens you will be prompted to select the Stored Procedures, Views, Tables etc to be migrated (depending on which objects are in your database). Click <strong>Select All </strong>then <strong>Next </strong>for each.</li>
<li>Finally at the Output Option page select where the script should be generated (in this example I have elected to have the script generated in a new query window):<br />
<img class="alignnone size-full wp-image-634" title="img" src="http://64.207.144.116/wp-content/uploads/2010/03/ScreenHunter_04-Mar.-05-11.391.gif" alt="" width="503" height="480" /></li>
<li>Click <strong>Next</strong> and SSMS will direct you to the Summary page before generating the scripts in a new SQL script window. The Generate Script Success screen shows the progress and results of the migration on the database objects (see below). Copy the script generated to the clipboard.<br />
<img class="alignnone size-full wp-image-636" title="img4" src="http://64.207.144.116/wp-content/uploads/2010/03/ScreenHunter_05-Mar.-05-11.431.gif" alt="" width="502" height="449" /></li>
<li>Log in to the Azure platform portal at https://sql.azure.com/ and create a target database on the online portal (simply click <strong>Create Database </strong>after navigating to the the SQL Azure tab and then select the database size).</li>
<li>Close and re-open SSMS to connect to SQL Azure and view your database (see <a href="http://www.azuresupport.com/2009/01/connect-to-a-sql-azure-database-using-ssms-or-sqlcmd/">Connect to SQL Azure from SSMS</a> for details if neceesary) . Note &#8211; SSMS in SQL Server 2008 R2 can view the SQL Azure objects and should be used whenever connecting to SQL Azure.</li>
<li>Copy the script into a new script window in SSMS. Before we run the script against the target SQL Azure database we still need to make some modifications to the script:
<ul>
<li>SQL Azure&#8217;s first release does not support partitions. Therefore the KEY constraint statement for the table-creation scripts has to be removed and replaced by a separate script. For example, in the original script SSMS generated for creating a data table there are KEYconstraints such asPRIMARY KEY CLUSTERED<br />
(<br />
[TerritoryID] ASC<br />
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]<br />
) ON [PRIMARY]</p>
<p>This needs to be replaced with a separate ALTER TABLE Script to Assign a Key to a Table, such as:</p>
<p>ALTER TABLE [Table_Name]<br />
ADD CONSTRAINT ID_PK PRIMARY KEY (Primary_Key)</li>
<li>If there are any CREATE NONCLUSTERED INDEX statements in the script, these will need to be modified. For example remove the bold type text from the below script section:CREATE NONCLUSTERED INDEX [IX_UserTable_FirstName] ON [dbo].[UserTable]<br />
(<br />
[FirstName] ASC<br />
)<strong>WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF,ONLINE = OFF) ON [PRIMARY]</strong><br />
GO</li>
</ul>
</li>
</ol>
<p>That&#8217;s it, now run the script against the SQL Azure database (ie click <strong>New Query </strong>in SSMS, select the target SQL Azure database from the dropdown database listing  and click <strong>Execute</strong>).</p>
<p>It should be noted that this is as of SQL Azure Update 1 (February 2010) , SQL Azure is currently developing rapidly and not all the inconsistencies with SQL Server are well documented.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlazureperformance.com/2010/migrating-sql-server-database-to-sql-azure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Azure Continuous Backup</title>
		<link>http://www.sqlazureperformance.com/2010/sql-azure-continuous-backup/</link>
		<comments>http://www.sqlazureperformance.com/2010/sql-azure-continuous-backup/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 04:41:03 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Continuous Backup]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=777</guid>
		<description><![CDATA[SQL Azure Continuous Backup is one the two main methods for backing up databases which run  on  SQL Azure. Continuous Backup enables developers to backup a database on a continuous basis &#8211; as in the backup will not function as a standalone database but must be restored to the original database (in contrast to the [...]]]></description>
			<content:encoded><![CDATA[<p>SQL Azure Continuous Backup is one the two main methods for backing up databases which run  on  SQL Azure. Continuous Backup enables developers to backup a database on a continuous basis &#8211; as in the backup will not function as a standalone database but must be restored to the original database (in contrast to the Clone Backup which can be used as a separate standalone database).</p>
<p>Continuous Backup is slated for release in late 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlazureperformance.com/2010/sql-azure-continuous-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Azure Clone Backup</title>
		<link>http://www.sqlazureperformance.com/2010/sql-azure-clone-backup/</link>
		<comments>http://www.sqlazureperformance.com/2010/sql-azure-clone-backup/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 16:09:12 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Clone Backup]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=772</guid>
		<description><![CDATA[SQL Azure Clone Backup is one of the two primary methods for backing up SQL Azure databases. Clone Backup is promised coming in H2 2010 &#8211; although there have been no announcements to date. The clone will create a single (perhaps scheduled) snapshot of a database at a point in time. The other main method [...]]]></description>
			<content:encoded><![CDATA[<p>SQL Azure Clone Backup is one of the two primary methods for backing up SQL Azure databases. Clone Backup is promised coming in H2 2010 &#8211; although there have been no announcements to date. The clone will create a single (perhaps scheduled) snapshot of a database at a point in time. The other main method for backing up SQL Azure databases in Continuous Backup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlazureperformance.com/2010/sql-azure-clone-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing SQL Azure</title>
		<link>http://www.sqlazureperformance.com/2010/testing-sql-azure/</link>
		<comments>http://www.sqlazureperformance.com/2010/testing-sql-azure/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 02:20:26 +0000</pubDate>
		<dc:creator>azuresupport</dc:creator>
				<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=18</guid>
		<description><![CDATA[So how do you know whether all the T-SQL syntaxes are working with SQL Azure? For the purpose of this example we will use the TSQL from the AdventureWorks database. Database First you need to create a database. You need to be logged in to the Master database to create a database. CREATE DATABASE AdventureWorks2008 [...]]]></description>
			<content:encoded><![CDATA[<p>So how do you know whether all the T-SQL syntaxes are working with SQL Azure? For the purpose of this example we will use the TSQL from the AdventureWorks database.</p>
<h3><strong>Database</strong></h3>
<p>First you need to create a database. You need to be logged in to the <strong>Master</strong> database to create a database.</p>
<p>CREATE DATABASE AdventureWorks2008</p>
<p>After creating the database, you need to log into the database with the created database credentials.</p>
<h3><strong>Schema, UDF and UDT </strong></h3>
<p>Schema , UDF and UDTs will be created without any issues. However, if you generate the script from the AdventurkWorks2008 database there will be entries for stored procedure sp_addextendedproperty.</p>
<h3><strong>Table &amp; DML Triggers</strong></h3>
<p>There are a few limitations in the CREATE TABLE statement when it comes to SQL Azure which are highlighted in the following image.</p>
<p><img id="Picture 9" src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image009.jpg" border="0" alt="" width="624" height="369" /></p>
<p>You will need to remove these tags and columns to create tables in SQL Azure. As you can see in the above image, ROWGUIDCOL, xml and <strong>hierarchyid</strong> data types are not supported.</p>
<p><img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image010.png" alt="Text Box: UPDATE [Purchasing].[PurchaseOrderHeader] SET [Purchasing].[PurchaseOrderHeader].[RevisionNumber] = [Purchasing].[PurchaseOrderHeader].[RevisionNumber] + 1" width="662" height="79" />Triggers will be created but you shouldn’t use columns with more than two parts.</p>
<p>If you run this statement you will receive following error.</p>
<p><strong>Deprecated feature &#8216;More than two-part column name&#8217; is not supported in this version of SQL Server.</strong></p>
<p>In the Update statement above, RevisionNumber is referred as <strong>[Purchasing].[PurchaseOrderHeader].[RevisionNumber] </strong>which will not be supported by SQL Azure.</p>
<h3><strong><strong>View</strong></strong></h3>
<p>Views don’t have major issues except that the above mention column types are not supported.</p>
<h3><strong>Stored Procedures </strong></h3>
<p>Store procedures behave same as views.</p>
<h3><strong>DDL Triggers</strong></h3>
<p>DDL Triggers can be created but with a major limitation – the EVENTDATA() function is not supported in SQL Azure (the EVENTDATA() function used to capture event information).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlazureperformance.com/2010/testing-sql-azure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to SQL Azure</title>
		<link>http://www.sqlazureperformance.com/2010/introduction-to-sql-azure/</link>
		<comments>http://www.sqlazureperformance.com/2010/introduction-to-sql-azure/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 02:11:43 +0000</pubDate>
		<dc:creator>Dinesh Asanka</dc:creator>
				<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Migration]]></category>

		<guid isPermaLink="false">http://www.azuresupport.com/?p=12</guid>
		<description><![CDATA[Since the SQL Azure database services are in the cloud, you do not have to worry about high availability and scalability. SQL Azure will maintain a “Monthly Availability” of 99.9% during a calendar month. For example, you or your network administrators do not have to spend time on high availability which is taken care by [...]]]></description>
			<content:encoded><![CDATA[<p>Since the SQL Azure database services are in the cloud, you do not have to worry about high availability and scalability. SQL Azure will maintain a “Monthly Availability” of 99.9% during a calendar month. For example, you or your network administrators do not have to spend time on high availability which is taken care by the services. Also, you don’t have to worry about security patches and service packs which will be installed by the service provider.</p>
<p><span id="more-12"></span></p>
<h2>Using SQL Azure</h2>
<p>SQL Azure is still in CTP , the SQL Azure Database CTP is available for free and you can register below to receive an invitation. Due to high demand for the SQL Azure Database CTP, there may be some delays in receiving your invitation codes. <a rel="nofollow" href="http://go.microsoft.com/fwlink/?LinkID=149681&amp;clcid=0x09">http://go.microsoft.com/fwlink/?LinkID=149681&amp;clcid=0&#215;09</a></p>
<h2>Editions &amp; Pricing</h2>
<p>There are two editions for SQL Azure, namely Web and Business. While self-managed DB and auto high-availability features are supported in both editions, there are few differences between them.</p>
<p>Main difference is the storage, as the Web edition supports only 1 GB of database storage space and the Business edition supports 10GB. In case you need to store more that 10GB of data, you will have to break the databases into small sizes. Apart from basic T-SQL facilities, there will additional features like auto-partition and CLR in the business edition. However, these features are not yet available in CTP.</p>
<p>Upon the availability of production ready SQL Azure, the fee will be as below:</p>
<p>•Web Edition: Up to 1 GB relational database = $9.99 / month</p>
<p>•Business Edition: Up to 10 GB relational database = $99.99 / month</p>
<p>•Bandwidth = $0.10 in / $0.15 out / GB</p>
<h2>Using SQL Azure Databases</h2>
<p>As there are no options in the web interface to create tables or databases, you will need to use other tools for creating and designing Azure based databases:</p>
<h3><strong>SQLcmd</strong></h3>
<p>SQLcmd is supported on SQL Azure and you can connect to an Azure database using the below command.</p>
<p>C:&gt;sqlcmd -U &lt;User&gt; -P &lt;PPassword&gt; -S &lt;ServerName&gt; -d master</p>
<h3><strong>Management Studio</strong></h3>
<p>SQL Server Management Studio (SSMS) is the most frequently used tool to connect to SQL Server databases. However, when connecting to SQL Azure there several additional steps you need to follow.</p>
<p>1.       Open SSMS</p>
<p>2.       Cancel out of the first connection dialog that pops up and click on the New Query button from the toolbar. If you enter credentials without performing this step the following error will appear: (Microsoft is working on this issue).<br />
<img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image001.png" border="0" alt="" /></p>
<p>3.       When you are prompted to connect to a database, cancel that dialog.</p>
<p>4.       You should be left with an empty management console. Click New Query.</p>
<p>5.       For the server name, take the fully qualified host name from your SQL Azure connection string. It should look something like mlqe0vurwb.database.windows.net.</p>
<p>6.       Choose SQL Server Authentication as SQL Azure does not support Windows Authentication. Supply the username and password that you used for your database.<br />
<img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image002.png" border="0" alt="" /><br />
7.       Click on the Options button on the bottom right of the dialog box</p>
<p>8.       Set the database name, manually, to the name of your database. It will not show up in the drop-down list. Please note that in case you need to connect other databases, you have to connect again.</p>
<p>9.       Make sure the server type is set to the database engine.</p>
<p>10.   Click Connect.</p>
<p>For SQL Azure SSMS does to show the objects in the Object Explorer and you will need to write T-SQL for all your needs.</p>
<h3><strong>Visual Studio</strong></h3>
<p>You can view the connection strings for the relevant databases by clicking the Connection String button.<br />
<img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image003.png" border="0" alt="" /><br />
Using above connection strings, you can connect to SQL Azure from Visual Studio.</p>
<p>?</p>
<h3><strong><em>Third Party Tools:</em></strong></h3>
<p>As demonstrated, SSMS may not be a good tool for SQL Azure. There are couple of third party tools that I have been working with:</p>
<h4>Omega Web Client</h4>
<p>Omega Web Client has a great set of functionalities. It has a great object explorer. You can access this tool online at <a rel="nofollow" href="https://onlinedemo.cerebrata.com/SQLAzureClient/default.aspx">https://onlinedemo.cerebrata.com/SQLAzureClient/default.aspx</a> and therefore no installation is needed.</p>
<p><img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image005.png" border="0" alt="" width="405" height="234" /></p>
<p>Below is the main view of the UI that you will see from this tool.</p>
<p><img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image006.jpg" border="0" alt="" width="624" height="263" /></p>
<h4>SQL Azure Manager</h4>
<p>SQL Azure Manager is another tool which supports SQL Azure. However there are quite number of draw backs which will be discussed later.</p>
<p>You can download this tool from <a rel="nofollow" href="http://hanssens.org/tools/sqlazuremanager/">http://hanssens.org/tools/sqlazuremanager/</a>.</p>
<p><img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image007.png" border="0" alt="" width="624" height="378" /></p>
<p>The SQL Azure Manager UI is much better than SSMS or the Omega web client.</p>
<p><img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image008.jpg" border="0" alt="" width="624" height="425" /></p>
<p>Though SQL Azure Manager has a much better UI than SSMS 2008 or Omega, it is still lacking a lot of features in the object explorer. For example, it shows the views in object explorer, but does not allow the user to create the alter script for a view. Also, it does not display stored procedures or functions in the object explorer and can only show data of tables with the dbo schema.</p>
<h2>SSIS &amp; SQL Azure</h2>
<p>SQL Server Integration Services (SSIS) is used to integrate data between different data sources.</p>
<p>The first thing to note is that SQL Azure currently does not support OLE DB. The normal recommendation for SSIS is to use the OLE DB Source or Destination to access SQL Server. However, if you want to work with SSIS and SQL Azure, you must use the ADO.NET Source and Destinations. This is fine for 2008, but if you are using SSIS 2005, there is no ADO.NET Destination, so you will have to implement your own through a script component. This can be done by creating a source or destination and then using the SSIS control flow tasks and data flow tasks.</p>
<p><img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image011.png" border="0" alt="" width="608" height="394" /></p>
<p>After it will be the standard way of write SSIS packages.</p>
<p><img src="http://www.azuresupport.com/wp-content/images_misc/sql_azure_intro_files/image012.png" border="0" alt="" width="229" height="219" /></p>
<p>When using SSIS for SQL Azure, tables without a clustered index are not supported hence you are required to create a clustered index.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlazureperformance.com/2010/introduction-to-sql-azure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

