<?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>Zach Skyles Owens</title>
	<atom:link href="http://english.zachskylesowens.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://english.zachskylesowens.net</link>
	<description>Blog about technology, business and adventure from a Technical Evangelist at Microsoft</description>
	<lastBuildDate>Sat, 26 Jun 2010 16:25:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Middle Kingdom Here I Come!</title>
		<link>http://english.zachskylesowens.net/2010/06/25/middle-kingdom-here-i-come/</link>
		<comments>http://english.zachskylesowens.net/2010/06/25/middle-kingdom-here-i-come/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 10:39:45 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Dallas]]></category>
		<category><![CDATA[Mandarin]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/?p=334</guid>
		<description><![CDATA[Back in March of 2008 I wrote a series of posts about doing business in China, high context communication and Guanxi.&#160; These were inspired while I was attending an internal Microsoft event.&#160; Earlier this year during a similar event, inspiration struck again and now I’m moving to Beijing!&#160; I’ll continue to focus on driving adoption [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F06%2F25%2Fmiddle-kingdom-here-i-come%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F06%2F25%2Fmiddle-kingdom-here-i-come%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Back in March of 2008 I wrote a series of posts about <a href="http://english.zachskylesowens.net/2008/03/24/doing-business-in-china/" target="_blank">doing business in China</a>, <a href="http://english.zachskylesowens.net/2008/03/24/chinese-communication-style-high-context/" target="_blank">high context communication</a> and <a href="http://english.zachskylesowens.net/2008/03/24/chinese-communication-style-guanxi/" target="_blank">Guanxi</a>.&#160; These were inspired while I was attending an internal Microsoft event.&#160; Earlier this year during a similar event, inspiration struck again and now I’m moving to Beijing!&#160; I’ll continue to focus on driving adoption of Microsoft’s data platform, Cloud and Web technologies with a laser focus on the Chinese market.</p>
<p><img style="margin: 0px 10px 0px 0px; display: inline" align="left" src="http://spratt.house.gov/Us-passport.png" width="86" height="124" />I see this move as a pivotal next step in my personal development and understanding of culture, technology and emerging markets.&#160; This type of opportunity is exactly why I came to Microsoft back in 2007.&#160; When I go back and read my post, <a href="http://english.zachskylesowens.net/2007/07/21/todo-tiene-su-final/"><em>Todo Tiene Su Final</em></a>, recounting my experiences going through <a href="http://www.ie.edu/business/" target="_blank">IE’s Global MBA</a>, I’m reminded of the inspiration I felt moving into that big transition in my life.&#160; </p>
<p>The past three years living in Seattle, working as a Technical Evangelist at Microsoft have been incredible.&#160; Some of the highlights that stand out are:</p>
<ul>
<li>Being mentored by one of the world’s best technology evangelists, <a href="http://blogs.msdn.com/b/rdoherty/" target="_blank">Roger Doherty</a> </li>
<li>Working with a world-class team including: <a href="http://blogs.msdn.com/b/neilhut/" target="_blank">Neil Hutson</a>, <a href="http://blogs.msdn.com/b/jamescon/" target="_blank">James Conard</a>, <a href="http://www.davidaiken.com/" target="_blank">David Aiken</a>, <a href="http://dunnry.com/" target="_blank">Ryan Dunn</a> and <a href="http://blogs.msdn.com/b/vbertocci/" target="_blank">Vitorrio Bertocci</a> </li>
<li>Partnering with <a href="http://carrabino.com/bio.asp" target="_blank">Anthony Carrabino</a> to drive BillG’s TechEd 2008 <a href="http://blogs.technet.com/b/dataplatforminsider/archive/2008/06/04/beyond-heroes-behind-the-scenes-with-sql-server-2008-at-teched-2008.aspx" target="_blank">data platform keynote demo</a> delivered by <a href="http://www.microsoft.com/presspass/exec/techfellow/Campbell/default.mspx" target="_blank">Dave Campbell</a> </li>
<li>Bridging the gap with the <a href="http://english.zachskylesowens.net/tag/php/" target="_blank">PHP developer community and SQL Server</a> </li>
<li>Working with <a href="http://thespiderking.com/" target="_blank">Thomas Lewis</a> to deliver the <a href="http://wordpress.visitmix.com" target="_blank">WordPress on SQL Server</a> patch </li>
<li>Driving evangelism of our Cloud database service, <a href="http://www.microsoft.com/windowsazure/sqlazure/" target="_blank">SQL Azure</a> </li>
<li>Helping launch Microsoft’s information service “<a href="http://www.microsoft.com/windowsazure/dallas/" target="_blank">Dallas</a>” by driving a segment of <a href="http://microsoftpdc.com/Sessions/KEY01" target="_blank">Ray Ozzie’s PDC 09 keynote</a> and delivering the <a href="http://microsoftpdc.com/Sessions/SVC29" target="_blank">session</a> </li>
<li>Presenting for the first time in Spanish, delivering 2 sessions for the SQL Server 2008 R2 launch in Lima, Peru; thanks for the opportunity <a href="http://twitter.com/JorgeOblitas" target="_blank">Jorge</a> </li>
<li>Connecting to the Microsoft developer community through <a href="http://channel9.msdn.com/Niners/ZachSkylesOwens/" target="_blank">Channel 9</a> </li>
<li>Burying myself in the Seattle salsa scene, dancing with <a href="http://salsasalvaje.com/" target="_blank">Salsa Salvaje</a> and <a href="http://mamboudance.com/" target="_blank">Mambo U</a>…&#160; on2 baby! </li>
<li>Climbing some of the worlds most beautiful peaks throughout the <a href="http://cascadeclimbers.com/" target="_blank">Cascades</a> </li>
</ul>
<p>I’m really going to miss the amazing Seattle summer, my friends and family, and being so close to Maui; but I’m ultra grateful for the opportunity Microsoft is providing.</p>
<p><a href="http://fluenz.com/languages/mandarin/" target="_blank"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="image" border="0" alt="image" align="right" src="http://english.zachskylesowens.net/wp-content/uploads/2010/06/image2.png" width="165" height="67" /></a>I have so much to learn, not the least of which is Mandarin!&#160; After doing some research I decided to use <a href="http://fluenz.com/languages/mandarin/" target="_blank">fluenz</a> and I’m really impressed by it.&#160; The passion and attention to detail the fluenz team has put into developing their products is immediately clear.&#160; It should be an inspiration for all of us dedicated to delivering high-end user experiences.&#160; My goal is to be conversationally proficient by end of this year.&#160; Wish me luck <img src='http://english.zachskylesowens.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In addition to learning the language and diving deeply into the technology scene I’m planning to doing some bicycle touring and mountaineering which should be a great way to experience the country.&#160; I’ve been getting really into photography lately and I’ll try to post more pictures here.</p>
<p>I find it really interesting how opportunities in life unfold.&#160; For me it’s always been about throwing myself out there and being open to new experience and adventure.&#160; If living in China is anything like my experience living in Spain, I’m sure it will be life defining.&#160; </p>
<p>If you are in China and want to connect, just <a href="http://english.zachskylesowens.net/contact/">let me know</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2010/06/25/middle-kingdom-here-i-come/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Migrating My WordPress Blog to Windows and SQL Server</title>
		<link>http://english.zachskylesowens.net/2010/06/11/migrating-my-wordpress-blog-to-windows-and-sql-server/</link>
		<comments>http://english.zachskylesowens.net/2010/06/11/migrating-my-wordpress-blog-to-windows-and-sql-server/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 18:14:06 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2010/06/11/migrating-my-wordpress-blog-to-windows-and-sql-server/</guid>
		<description><![CDATA[I recently wrote an article over at http://wordpress.visitmix.com about my experience migrating my blog over to WordPress on Windows and SQL Server which went pretty smoothly.&#160; In the next couple of days I’ll go ahead and switch the DNS to my new server at Discount ASP. Although I’ve been running web site and apps on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F06%2F11%2Fmigrating-my-wordpress-blog-to-windows-and-sql-server%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F06%2F11%2Fmigrating-my-wordpress-blog-to-windows-and-sql-server%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I recently wrote <a href="http://wordpress.visitmix.com/development/migrating-a-wordpress-site-from-mysql-to-sql-serversql-azure" target="_blank">an article</a> over at <a href="http://wordpress.visitmix.com" target="_blank">http://wordpress.visitmix.com</a> about my experience migrating my blog over to WordPress on Windows and SQL Server which went pretty smoothly.&#160; </p>
<p><a href="http://wordpress.visitmix.com/development/migrating-a-wordpress-site-from-mysql-to-sql-serversql-azure" target="_blank"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://english.zachskylesowens.net/wp-content/uploads/2010/06/image.png" width="644" height="357" /></a> </p>
<p>In the next couple of days I’ll go ahead and switch the DNS to my new server at <a href="http://www.discountasp.net/index.aspx?refcode=ZOWENS" target="_blank">Discount ASP</a>.</p>
<p>Although I’ve been running web site and apps on LAMP since the late 90’s, I’ve really been enjoying PHP on Windows and SQL Server for a number of reasons.</p>
<ol>
<li>I can develop and test on my own Windows 7 machine or Virtual Machines using <a href="http://www.microsoft.com/express/Database/" target="_blank">SQL Server Express R2</a> which is FREE.</li>
<li>IIS is really easy to administer.</li>
<li>The <a href="http://www.microsoft.com/web/downloads/platform.aspx" target="_blank">Web Platform Installer</a> makes getting up and running simple.</li>
<li>Connecting to SQL Server on my host via <a href="http://www.microsoft.com/express/Database/InstallOptions.aspx" target="_blank">SQL Server Management Studio</a> makes developing and managing my database really productive.</li>
<li>Advanced SQL Server features like <a href="http://www.microsoft.com/sqlserver/2008/en/us/spatial-data.aspx" target="_blank">Spatial</a> and <a href="http://www.microsoft.com/sqlserver/2008/en/us/reporting.aspx" target="_blank">Reporting Services</a> give me a platform for building even more powerful apps.</li>
</ol>
<p>Some of the things I really like about running on LAMP and miss on Windows include.</p>
<ol>
<li>SSH access for moving files.</li>
<li>Wealth of information online related to issues when working with LAMP.</li>
</ol>
<p>There are some tradeoffs but I’ve found the benefits outweigh the downside.&#160; I’ve worked at Microsoft for three years without switching my site so it’s not just because they pay me although it does help <img src='http://english.zachskylesowens.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#160; All in all, this has been a really good experience and I’d encourage you to give it a try. </p>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2010/06/11/migrating-my-wordpress-blog-to-windows-and-sql-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Win $10k for Building a Rad PHP App on SQL Server or SQL Azure</title>
		<link>http://english.zachskylesowens.net/2010/06/03/win-10-for-building-a-rad-php-app-on-sql-server-or-sql-azure/</link>
		<comments>http://english.zachskylesowens.net/2010/06/03/win-10-for-building-a-rad-php-app-on-sql-server-or-sql-azure/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 19:54:00 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2010/06/03/win-10-for-building-a-rad-php-app-onsql-server-or-sql-azure/</guid>
		<description><![CDATA[Whether you have an established business or have a great startup idea this is an awesome opportunity to win some cash.  The SQL Server team is running a contest for PHP developers building apps on top of SQL Server or SQL Azure with a $10,000 prize.  This includes sites built on top of WordPress or [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F06%2F03%2Fwin-10-for-building-a-rad-php-app-on-sql-server-or-sql-azure%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F06%2F03%2Fwin-10-for-building-a-rad-php-app-on-sql-server-or-sql-azure%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Whether you have an established business or have a great startup idea this is an awesome opportunity to win some cash.  The SQL Server team is running a contest for PHP developers building apps on top of SQL Server or SQL Azure with a $10,000 prize.  This includes sites built on top of WordPress or Drupal.</p>
<p><a href="http://wordpress.visitmix.com/development/win-10k-for-building-a-wordpress-on-sql-server-or-sql-azure-site" target="_blank"><img style="margin: 0px 0px 0px 10px; display: inline; border: 0px;" title="image31" src="http://english.zachskylesowens.net/wp-content/uploads/2010/06/image311.png" border="0" alt="image31" width="244" height="215" align="right" /></a></p>
<p>I’ve actually been working with WordPress on SQL and SQL Azure a lot lately and <a href="http://wordpress.visitmix.com/development/win-10k-for-building-a-wordpress-on-sql-server-or-sql-azure-site" target="_blank">wrote an article</a> about this contest at <a href="http://wordpress.visitmix.com" target="_blank">http://wordpress.visitmix.com</a> which has a bunch of details of how everything works along with some ideas for building the winning app.</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2010/06/03/win-10-for-building-a-rad-php-app-on-sql-server-or-sql-azure/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP on Windows Training Kit Support for Windows 7 Released</title>
		<link>http://english.zachskylesowens.net/2010/03/25/php-on-windows-training-kit-support-for-windows-7-released/</link>
		<comments>http://english.zachskylesowens.net/2010/03/25/php-on-windows-training-kit-support-for-windows-7-released/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 22:53:11 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2010/03/25/php-on-windows-training-kit-support-for-windows-7-released/</guid>
		<description><![CDATA[Today we published the March 2010 release of the PHP on Windows Training Kit which fixes a bug in the Dependency Checker for Windows 7.&#160; I apologize to anyone who tried early versions of the training kit and got the following error message. Your current OS is not supported by the PHP on Windows Training [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F03%2F25%2Fphp-on-windows-training-kit-support-for-windows-7-released%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F03%2F25%2Fphp-on-windows-training-kit-support-for-windows-7-released%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Today we published the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c8498c9b-a85a-4afa-90c0-593d0e4850cb" target="_blank">March 2010 release of the PHP on Windows Training Kit</a> which fixes a bug in the Dependency Checker for Windows 7.&#160; </p>
<p>I apologize to anyone who tried early versions of the training kit and got the following error message.</p>
<blockquote><p>Your current OS is not supported by the PHP on Windows Training Kit.&#160; This kit takes advantage of IIS7 new features and will run only on those OS that support IIS7.</p>
</blockquote>
<p>If your a PHP developer I’d highly recommend taking a look at this training kit.&#160; There are bunch of really cool demos and hands on labs covering the following topics.</p>
<p><strong>PHP &amp; SQL Server Demos </strong></p>
<ul>
<li>Integrating SQL Server Geo-Spatial with PHP </li>
<li>SQL Server Reporting Services and PHP </li>
</ul>
<p><strong>PHP &amp; SQL Server Hands On Labs </strong></p>
<ul>
<li>Introduction to Using SQL Server with PHP </li>
<li>Using Full Text Search over Office Documents in PHP </li>
</ul>
<p><strong>PHP on Windows Hands On Labs </strong></p>
<ul>
<li>IIS Access Control Features for PHP </li>
<li>Using IIS 7.0 Media Features in a PHP Application </li>
<li>Troubleshooting PHP </li>
<li>Migrating PHP Applications to IIS 7.0 </li>
</ul>
<p>You can download the latest version from the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c8498c9b-a85a-4afa-90c0-593d0e4850cb" target="_blank">Download Center</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2010/03/25/php-on-windows-training-kit-support-for-windows-7-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Connecting to SQL Azure with SQL Server 2008 R2 Tools</title>
		<link>http://english.zachskylesowens.net/2010/03/18/connecting-to-sql-azure-with-sql-server-2008-r2-tools/</link>
		<comments>http://english.zachskylesowens.net/2010/03/18/connecting-to-sql-azure-with-sql-server-2008-r2-tools/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:54:20 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2010/03/18/connecting-to-sql-azure-with-sql-server-2008-r2-tools/</guid>
		<description><![CDATA[Back in October I wrote a post on how to connect to SQL Azure.&#160; With the release of the November CTP of SQL Server 2008 R2 working with SQL Azure from within SQL Server Management Studio (SSMS) got a whole lot better!&#160; You can get a free copy of SSMS here: SQL Server 2008 R2 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F03%2F18%2Fconnecting-to-sql-azure-with-sql-server-2008-r2-tools%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F03%2F18%2Fconnecting-to-sql-azure-with-sql-server-2008-r2-tools%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Back in October I wrote a <a href="http://english.zachskylesowens.net/2009/08/18/connecting-to-sql-azure/" target="_blank">post on how to connect to SQL Azure</a>.&#160; With the release of the November CTP of <a href="http://www.microsoft.com/sqlserver/2008/en/us/R2.aspx" target="_blank">SQL Server 2008 R2</a> working with SQL Azure from within SQL Server Management Studio (SSMS) got a whole lot better!&#160; </p>
<p>You can get a free copy of SSMS here:</p>
<ul>
<li><a href="http://go.microsoft.com/fwlink/?LinkID=168734&amp;clcid=0x409" target="_blank">SQL Server 2008 R2 Tools for x86</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkID=168735&amp;clcid=0x409" target="_blank">SQL Server 2008 R2 Tools for x64</a></li>
</ul>
<p><em>Because this is a CTP you may want to install these in a Virtual PC although I haven’t had any issues.</em></p>
<p>Once you have this installed all of the issues I outlined in my previous post about the headaches involved with connecting to SQL Azure are gone. </p>
<p>When you launch SSMS enter your credentials.</p>
<p><a href="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image_thumb.png" width="456" height="344" /></a> </p>
<p>Replace MY_SERVER_NAME and MY_USER_NAME with valid credentials which you can setup and find on the <a href="https://sql.azure.com/" target="_blank">SQL Azure portal</a>.</p>
<p>Make sure you have added your IP address to the SQL Azure firewall or you will get the following error.</p>
<blockquote><p>TITLE: Connect to Server     <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; </p>
<p>Cannot connect to ‘&lt;MY_SERVER_NAME&gt;.database.windows.net. </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;     <br />ADDITIONAL INFORMATION: </p>
<p>Cannot open server ‘&lt;MY_SERVER_NAME&gt;requested by the login. Client with IP address &#8216;&lt;MY_IP_ADDRESS&gt;&#8217; is not allowed to access the server.&#160; To enable access, use the SQL Azure Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range.&#160; It may take up to five minutes for this change to take effect.     <br />Login failed for user &#8216;&lt;MY_USERNAME&gt;&#8217;. (Microsoft SQL Server, Error: 40615) </p>
</blockquote>
</p>
<p>The <strong>New Firewall Feature</strong> section of a <a href="http://english.zachskylesowens.net/2009/10/14/feature-complete-sql-azure-october-ctp-available-today/" target="_blank">previous post</a> outlines configuring your firewall.</p>
<p>Assuming your credentials are correct you should see Object Explorer just like you would any other SQL Server database, which is awesome!</p>
<p><a href="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image_thumb1.png" width="542" height="349" /></a> </p>
<p>Once you start using the tool you will notice that things are not as integrated as they are for SQL Server.&#160; For example, let’s create a database.</p>
<p>When I <strong>Right Click</strong> on <strong>Database</strong> and select <strong>New Database…</strong>&#160; a new SQL script is created.</p>
<p><a href="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image_thumb2.png" width="542" height="177" /></a> </p>
</p>
<p>I can simply replace everything between &lt;&gt; and execute the script.</p>
<p><a href="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image_thumb3.png" width="541" height="331" /></a> </p>
</p>
<p>You’ll notice that once I refreshed the Object Explorer I see this new database.&#160; Additionally, you may notice that I specified that I wanted a 10GB database with the <strong>MAXSIZE = 10GB</strong> option.&#160; If you are just building a sample you should probably leave the <strong>MAXSIZE</strong> option off and it will default to 1GB.</p>
<p>To round out the example I’m going to install the <a href="http://msftdbprodsamples.codeplex.com/" target="_blank">Adventure Works SQL Azure</a> database following the instructions that come with the sample.</p>
<p>Now when I look at Object Explorer you can see I have the full set of Tables, Stored Procs, etc.</p>
<p><a href="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://english.zachskylesowens.net/wp-content/uploads/2010/03/image_thumb4.png" width="324" height="537" /></a> </p>
<p>One thing you may notice is that the Adventure Works installer creates new databases AdventureWorksDWAZ2008R2 and AdventureWorksLTAZ2008R2.&#160; Since SQL Azure is priced per database I’ve created a request on the CodePlex site to allow them to be installed into a target database.&#160; If you agree that it’s a good idea please <a href="http://msftdbprodsamples.codeplex.com/WorkItem/View.aspx?WorkItemId=12115" target="_blank">vote for the item</a> on CodePlex.</p>
<p>Hopefully you found this useful.&#160; Please let me know if you have any questions.</p>
<h2>More Information</h2>
<ul>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78" target="_blank">Intro to SQL Azure Lab in the Windows Azure Platform Training Kit</a></li>
<li><a href="http://channel9.msdn.com/learn/courses/Azure/SQLAzure/" target="_blank">SQL Azure content within the Windows Azure Platform Training Course</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2010/03/18/connecting-to-sql-azure-with-sql-server-2008-r2-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>There’s a New Microsoft PHP Guy on the Block!</title>
		<link>http://english.zachskylesowens.net/2010/02/17/theres-a-new-microsoft-php-guy-on-the-block/</link>
		<comments>http://english.zachskylesowens.net/2010/02/17/theres-a-new-microsoft-php-guy-on-the-block/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 20:05:06 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2010/02/17/theres-a-new-microsoft-php-guy-on-the-block/</guid>
		<description><![CDATA[You may have already run into him but I’d highly recommend following Brian Swan’s work.  He’s got a deep background working with SQL Server and is focusing a lot of his energy making sure the PHP community is successful using Microsoft technology, especially SQL Server and SQL Azure. He’s already written some good technical articles: [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F02%2F17%2Ftheres-a-new-microsoft-php-guy-on-the-block%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2010%2F02%2F17%2Ftheres-a-new-microsoft-php-guy-on-the-block%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>You may have already run into him but I’d highly recommend following Brian Swan’s work.  He’s got a deep background working with SQL Server and is focusing a lot of his energy making sure the PHP community is successful using Microsoft technology, especially SQL Server and SQL Azure.</p>
<p>He’s already written some good technical articles:</p>
<ul>
<li><a href="http://blogs.msdn.com/brian_swan/archive/2010/01/27/top-10-php-microsoft-resources.aspx" target="_blank">Top 10 PHP-Microsoft Resources</a></li>
<li><a href="http://blogs.msdn.com/brian_swan/archive/2010/02/02/getting-started-with-php-on-windows.aspx" target="_blank">Getting Started with PHP on Windows</a></li>
<li><a href="http://blogs.msdn.com/brian_swan/archive/2010/02/08/getting-started-with-the-sql-server-driver-for-php.aspx" target="_blank">Getting Started with the SQL Server Driver for PHP</a></li>
<li><a href="http://blogs.msdn.com/brian_swan/archive/2010/02/10/sql-server-driver-for-php-understanding-windows-authentication.aspx" target="_blank">SQL Server Driver for PHP: Understanding Windows Authentication</a></li>
</ul>
<p>Make sure to add <a href="http://blogs.msdn.com/brian_swan/" target="_blank">his blog</a> to your favorite RSS reader and <a href="http://twitter.com/brian_swan" target="_blank">follow him on Twitter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2010/02/17/theres-a-new-microsoft-php-guy-on-the-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Azure Platform Training Kit – October Update is Live</title>
		<link>http://english.zachskylesowens.net/2009/10/14/windows-azure-platform-training-kit-october-update-is-live/</link>
		<comments>http://english.zachskylesowens.net/2009/10/14/windows-azure-platform-training-kit-october-update-is-live/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 21:45:37 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Windows Azure platform]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2009/10/14/windows-azure-platform-training-kit-october-update-is-live/</guid>
		<description><![CDATA[Aligned with the SQL Azure October CTP release today we have published an updated version of the Windows Azure Platform Training Kit here http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78&#160; While the Download Center servers are being replicated you will want to make sure the title of the page contains “October Update” and the File Name is “WindowsAzurePlatformKitOctober2009.exe”. This update contains [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F10%2F14%2Fwindows-azure-platform-training-kit-october-update-is-live%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F10%2F14%2Fwindows-azure-platform-training-kit-october-update-is-live%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Aligned with the <a href="http://english.zachskylesowens.net/2009/10/14/feature-complete-sql-azure-october-ctp-available-today/" target="_blank">SQL Azure October CTP release today</a> we have published an updated version of the Windows Azure Platform Training Kit here    <br /><a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78">http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78</a>&#160;</p>
<p><em>While the Download Center servers are being replicated you will want to make sure the title of the page contains “October Update” and the File Name is “WindowsAzurePlatformKitOctober2009.exe”.</em></p>
<p>This update contains a few new sections with the Hands On Lab for dealing with the firewall and how to use BCP to move data into SQL Azure.&#160; The training kit contains the following SQL Azure related content.</p>
<p><b>Presentations</b></p>
<ul>
<li>Introduction to SQL Azure </li>
<li>Building Applications using SQL Azure </li>
<li>Scaling Out with SQL Azure </li>
</ul>
<p><b>Demos</b></p>
<ul>
<li>Preparing your SQL Azure Account </li>
<li>Connecting to SQL Azure </li>
<li>Managing Logins and Security in SQL Azure </li>
<li>Creating Objects in SQL Azure </li>
<li>Migrating a Database Schema to SQL Azure </li>
<li>Moving Data Into and Out Of SQL Azure using SSIS </li>
<li>Building a Simple SQL Azure App </li>
<li>Scaling Out SQL Azure with Database Sharding </li>
</ul>
<p><b>Hands On Labs</b></p>
<ul>
<li>Introduction to SQL Azure </li>
<li>Migrating Databases to SQL Azure </li>
<li>Building Your First SQL Azure App </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2009/10/14/windows-azure-platform-training-kit-october-update-is-live/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Feature complete SQL Azure October CTP available today</title>
		<link>http://english.zachskylesowens.net/2009/10/14/feature-complete-sql-azure-october-ctp-available-today/</link>
		<comments>http://english.zachskylesowens.net/2009/10/14/feature-complete-sql-azure-october-ctp-available-today/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 17:08:02 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Windows Azure platform]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2009/10/14/feature-complete-sql-azure-october-ctp-available-today/</guid>
		<description><![CDATA[With PDC around the corner the SQL Azure team has delivered an updated CTP that’s feature complete, running on production clusters and containing cool new features like firewall, table value parameters, support for BULK INSERT and new data types.&#160; Checkout the product team blog for details. So, what does this new release mean to developers? [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F10%2F14%2Ffeature-complete-sql-azure-october-ctp-available-today%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F10%2F14%2Ffeature-complete-sql-azure-october-ctp-available-today%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>With PDC around the corner the SQL Azure team has delivered an updated CTP that’s feature complete, running on production clusters and containing cool new features like firewall, table value parameters, support for BULK INSERT and new data types.&#160; Checkout the <a href="http://blogs.msdn.com/ssds/archive/2009/10/14/9907238.aspx" target="_blank">product team blog for details</a>.</p>
<p>So, what does this new release mean to developers?</p>
<h2>Move Forward with Confidence</h2>
<p>Now that you can get your hands on a feature complete version of SQL Azure you can have confidence that when SQL Azure Database becomes generally available, all your databases and data will be automatically converted into an active subscription to the service based on the subscription offer you choose at go-live.</p>
<h2><a href="http://english.zachskylesowens.net/wp-content/uploads/2009/10/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="image" border="0" alt="image" align="right" src="http://english.zachskylesowens.net/wp-content/uploads/2009/10/image_thumb.png" width="386" height="144" /></a>New Portal</h2>
<p>The October CTP is running in a new, production-ready cluster.&#160; You can access the new developer portal for the October CTP via the same URL as before <a href="https://sql.azure.com/">https://sql.azure.com/</a> which you will notice has an updated skin and a few new features.</p>
<p>Another thing you may notice is that your existing projects are no longer showing up!&#160; You can access your August CTP project through the developer portal available at this URL <a href="https://ctpportal.database.windows.net">https://ctpportal.database.windows.net</a>.</p>
<h2>New Server URI</h2>
<p>With the release of the October CTP you will also need to create a new server for your account.&#160; This is the same process for creating a server as you may have followed for the August CTP.&#160; Guidance on this is available in the Introduction to SQL Azure hands on lab in the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78">Window Azure Platform Training Kit</a>.</p>
<p>One interesting thing to note is that the Server Location is South Central US which is right alongside Windows Azure so you should see even less latency between the services.</p>
<p>The other big thing to know is that there is a different URI for the Server Name.&#160; Before the syntax was </p>
<blockquote><p>&lt;MY_SERVER_NAME&gt;.<b>ctp.</b>database.windows.net</p>
</blockquote>
<p>To access servers created in the production cluster you remove the “ctp.” portion of the Server Name.&#160; A connection to the new server will be</p>
<blockquote><p>&lt;MY_SERVER_NAME&gt;.database.windows.net</p>
</blockquote>
<p>I have a feeling that this is going to trip up a bunch of developers so hopefully this helps.&#160; Another area I believe will catch a number of people off guard is the firewall feature.</p>
</p>
<h2>New Firewall Feature</h2>
<p>For years we’ve been telling people to lock down access to their databases machines.&#160; With the August CTP of SQL Azure there was no way to limit access to what machines had access to your server.&#160; With the October CTP you can now specify which IP addresses have access to your server which is awesome!&#160; </p>
<p>By default no IP’s are allowed to access your server.&#160; If you try to connect you will get the following error.</p>
<blockquote><p>TITLE: Connect to Server      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; </p>
<p>Cannot connect to m9vhbwlttp.database.windows.net. </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;      <br />ADDITIONAL INFORMATION: </p>
<p>Cannot open server &#8216;&lt;MY_SERVER_NAME&gt;&#8217; requested by the login. Client with IP address &#8216;&lt;MY_IP_ADDRESS&gt;&#8217; is not allowed to access the server.      <br />Login failed for user &#8216;&lt;MY_USERNAME&gt;&#8217;. (Microsoft SQL Server, Error: 40615) </p>
<p>For help, click: <a href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;EvtSrc=MSSQLServer&amp;EvtID=40615&amp;LinkId=20476">http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;EvtSrc=MSSQLServer&amp;EvtID=40615&amp;LinkId=20476</a></p>
<p>&#160;</p>
</blockquote>
<p><a href="http://english.zachskylesowens.net/wp-content/uploads/2009/10/image1.png"><img style="border-right-width: 0px; margin: 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="left" src="http://english.zachskylesowens.net/wp-content/uploads/2009/10/image_thumb1.png" width="306" height="159" /></a>You can modify the firewall rules via the portal, T-SQL stored procs or web service API’s which you can view MSDN docs for details on.&#160; Using the portal just click on the <b>Firewall Settings</b> tab.&#160; From there you can either check the box to <b>Allow Microsoft Services access to this server </b>which will enable all Windows Azure Web and Worker Roles to access your server.&#160;&#160;&#160; </p>
<p><a href="http://english.zachskylesowens.net/wp-content/uploads/2009/10/image2.png"><img style="border-right-width: 0px; margin: 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://english.zachskylesowens.net/wp-content/uploads/2009/10/image_thumb2.png" width="138" height="116" /></a>Additionally, you can click the <b>Add Record</b> button and add your current IP address which is shown in the dialog box.</p>
<p>These updated rules may take up to <strong>5 minutes </strong>for the change to take affect so please be patient.</p>
<h2>Moving Your Data and Databases</h2>
<p>First, you will need to move databases from the current CTP cluster over to the new cluster.&#160; As mentioned above, these are separate, distinct machine clusters and actually reside in different data centers. More importantly, the data and databases you create in the October CTP will automatically roll over into the production service at go-live – at which point we will start to charge for those databases based on the service offering you’ve sign up for. Rather than risk inadvertently charging people for a bunch of test databases, the team got feedback that it was best to allow people to ‘opt-in’ to the new cluster. That way, people will only get charged for what they need and use.</p>
<p>Creating databases in the October CTP will be even easier and faster than on the August CTP. I’d recommend checking out the Migrating Databases to SQL Azure lab in the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78">Windows Azure Platform Training Kit</a> for guidance on moving data with BCP and SSIS.&#160; With the BULK INSERT support in the October CTP developers can deploy BCP.EXE into a Windows Azure Worker Role eliminating the need to copy the data down locally.&#160; </p>
<p>As I mentioned, SSIS is also an option, although we know that customers have experienced performance issues with the SQL Server 2008 Integration Services and SQL Azure.&#160; The next CTP of SQL Server 2008 R2 will have an update to SSIS which dramatically increases performance when loading data in SQL Azure.</p>
<h2>Specify Database Edition</h2>
<p>With this CTP you can also use a MAXSIZE clause when executing CREATE TABLE to select Web or Business Edition.</p>
<blockquote><p>CREATE DATABASE <i>foo </i>(MAXSIZE = 1GB) </p>
<p>Or</p>
<p>CREATE DATABASE <i>foo </i>(MAXSIZE = 10GB) </p>
</blockquote>
<h2>What’s Next?</h2>
<p>Everyone is driving hard towards PDC and we are all very excited for Commercial Availability.&#160; Keep your eyes pealed for updates to SQL Server Management Studio and SQL Server Integration Services as part of the SQL Server 2008 R2 wave.&#160; With the updates to SSMS you will be able to use the Object Browser and have an option for exporting SQL Azure compatible scripts.&#160; With the updates to SSIS you will see dramatic performance improvements when loading data in a SQL Azure database.</p>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2009/10/14/feature-complete-sql-azure-october-ctp-available-today/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>USE  statement is NOT supported in SQL Azure CTP1</title>
		<link>http://english.zachskylesowens.net/2009/08/19/use-database-statement-is-not-supported-in-sql-azure-ctp1/</link>
		<comments>http://english.zachskylesowens.net/2009/08/19/use-database-statement-is-not-supported-in-sql-azure-ctp1/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 17:37:09 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[SQL Azure]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2009/08/19/use-database-statement-is-not-supported-in-sql-azure-ctp1/</guid>
		<description><![CDATA[So, now that you’ve got a token and can connect to SQL Azure, you probably want to create a database and start using it.&#160; There’s one thing that can cause a ton of heart ache…&#160; USE &#60;database&#62; is not supported! The reason USE &#60;database&#62; isn’t support is because when you connect to one database you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F08%2F19%2Fuse-database-statement-is-not-supported-in-sql-azure-ctp1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F08%2F19%2Fuse-database-statement-is-not-supported-in-sql-azure-ctp1%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>So, now that you’ve <a href="http://english.zachskylesowens.net/2009/08/19/sql-azure-invitation-codes/" target="_blank">got a token</a> and can <a href="http://english.zachskylesowens.net/2009/08/18/connecting-to-sql-azure/" target="_blank">connect to SQL Azure</a>, you probably want to create a database and start using it.&#160; There’s one thing that can cause a ton of heart ache…&#160; USE &lt;database&gt; is not supported!</p>
<p>The reason USE &lt;database&gt; isn’t support is because when you connect to one database you are essentially being tied to a particular server cluster via the SQL Azure TDS Gateway.&#160; Your database aren’t all on the same physical machine, therefore you must specify the database when you connect.&#160; Does that make sense?</p>
<p>For example, let’s say you are using <a href="http://msdn.microsoft.com/en-us/library/ms162773.aspx" target="_blank">SQLCMD</a> or SSMS to work with SQL Azure…&#160; Let’s look at a common use case.</p>
<p>First, I’ll connect to SQL Azure with my Administrative User that I created when I redeemed my token.&#160; In this case that username is <strong>admin</strong>.&#160; This user can be thought of like <strong>sa</strong> in on-premise SQL Server.&#160; I’ll connect to a server named <strong>h38ssfjeiwh201</strong> which was automatically assigned to me.&#160; In this case I won’t specify a database name, so it will default to my virtual <strong>master</strong> database.</p>
<p><em>NOTE: In these samples I’m showing connecting via SQLCMD but you won’t get all of the same messages on success, although the errors will be the same.</em></p>
<pre class="csharpcode">sqlcmd -S h38ssfjeiwh201.ctp.database.windows.net -U admin@h38ssfjeiwh201</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Now, I’ll go ahead and create a new database named <strong>sample_db</strong> with TSQL.</p>
<pre class="csharpcode"><span class="kwrd">CREATE</span> <span class="kwrd">DATABASE</span> sample_db;
GO
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
</pre>
<p><em>NOTE: Future versions of SQL Azure will support a MAXSIZE clause to the CREATE DATABASE statement for create 1GB or 10GB databases.</em></p>
<p>I’ll get a message saying things are looking good.</p>
<blockquote>
<p>Command(s) completed successfully.</p>
</blockquote>
<p>Great!&#160; Now, I want to start using that database…&#160; So like any novice SQL Server developer I try to use it.</p>
<pre class="csharpcode"><span class="kwrd">USE</span> sample_db;
GO</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>The problem is I get the following error…</p>
<blockquote>
<p><font color="#ff0000">Msg 911, Level 16, State 1, Line 1<br />
      <br />Database &#8216;sample_db&#8217; does not exist. Make sure that the name is entered correctly.</font></p>
</blockquote>
<p>Uh…&#160; Ok.&#160; Let me try again…&#160; I thought I typed it right but maybe I’m missing something.</p>
<pre class="csharpcode"><span class="kwrd">CREATE</span> <span class="kwrd">DATABASE</span> sample_db;
GO</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Now I get the following error…</p>
<blockquote>
<p><font color="#ff0000">Msg 1801, Level 16, State 1, Line 1<br />
      <br />Database &#8216;sample_db&#8217; already exists. Choose a different database name</font>.</p>
</blockquote>
<p>I know… I know… These error messages need to be improved. The problem is like I mentioned in the title of this post. SQL Azure does not currently support the USE &lt;database&gt; statement.</p>
<p>What I need to do is actually reconnect by specifying the database name as a connection parameter in SQLCMD or by specifying the <strong>Connect to database</strong> in the <strong>Options &gt;&gt;</strong> on the connection dialogue in SSMS.</p>
<pre class="csharpcode">sqlcmd -S h38ssfjeiwh201.ctp.database.windows.net -U admin@h38ssfjeiwh201 <strong>-d sample_db</strong></pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Now I can go about interacting with sample_db just like I would any other SQL Server database (for the most part).</p>
<p>For additional information about this see the<em> Intro to SQL Azure</em> hands on lab and demos in the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78" target="_blank">Windows Azure Platform Training Kit</a>.<br />
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style></p>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2009/08/19/use-database-statement-is-not-supported-in-sql-azure-ctp1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Azure Invitation Codes</title>
		<link>http://english.zachskylesowens.net/2009/08/19/sql-azure-invitation-codes/</link>
		<comments>http://english.zachskylesowens.net/2009/08/19/sql-azure-invitation-codes/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 08:38:05 +0000</pubDate>
		<dc:creator>Zach Skyles Owens</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[SDS]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[SQL Data Services]]></category>
		<category><![CDATA[SQL Server Data Services]]></category>
		<category><![CDATA[SQL Services]]></category>
		<category><![CDATA[SSDS]]></category>

		<guid isPermaLink="false">http://english.zachskylesowens.net/2009/08/19/sql-azure-invitation-codes/</guid>
		<description><![CDATA[Updated March 2010: In February of 2010 the Windows Azure Platform reached commercial availability. The benefit of this is the platform is ready for production use. One of the downsides is that you can’t get invitation codes for free. There are some offers available for getting started with Windows Azure, SQL Azure and AppFabric. You [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F08%2F19%2Fsql-azure-invitation-codes%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fenglish.zachskylesowens.net%2F2009%2F08%2F19%2Fsql-azure-invitation-codes%2F&amp;source=ZachSkylesOwens&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><em><strong>Updated March 2010:</strong> In February of 2010 the Windows Azure Platform reached commercial availability. The benefit of this is the platform is ready for production use. One of the downsides is that you can’t get invitation codes for free. There are some offers available for getting started with Windows Azure, SQL Azure and AppFabric. You can check these out here: </em><a rel="nofollow" href="http://www.microsoft.com/windowsazure/offers/"><em>http://www.microsoft.com/windowsazure/offers/</em></a><em>.</em></p>
<p>Now that <a href="http://english.zachskylesowens.net/2009/08/18/sql-azure-ctp1-is-finally-here/" target="_blank">CTP1 is out the door</a> a question that keeps coming up is…  “I registered for a token a couple months ago…  When am I going to get an email with my Invitation Code?”  We are glad that people are as excited about the SQL Azure release as we are so we love this question!</p>
<p>Over the next week or two everyone who has already <a href="http://go.microsoft.com/fwlink/?LinkID=149681&amp;clcid=0x09" target="_blank">signed up for a SQL Azure Invitation Code</a> should be receiving an email sent to the address associated with your Live ID containing the token and a link to redeem it.  We understand that everyone would like their tokens yesterday but we need to work through the list and ramp up the service.</p>
<p>Once the list of current requests has been processed, new requested will be fulfilled within a day or two.</p>
<p>We are working on integrating the SQL Azure and Windows Azure provisioning experience.  We realize that it is very inconvenient to have to have to make requests for two different tokens from different places. </p>
<p>What about customers who already have an account on the previous version of SQL Data Services/SQL Server Data Services which had an ACE model with a REST API?  When will they get tokens?  We will be providing all of those users with a token, but in the meantime I’d recommend that all of those users sign up for the CTP.</p>
<p>If you haven’t already done so, please sign up for the CTP today!<br />
<a title="http://go.microsoft.com/fwlink/?LinkID=149681&amp;clcid=0x09" 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>
]]></content:encoded>
			<wfw:commentRss>http://english.zachskylesowens.net/2009/08/19/sql-azure-invitation-codes/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
	</channel>
</rss>
