<?xml version="1.0" encoding="UTF-8"?><item><title>SQL Express and Visual C# Express</title><description>&lt;DIV&gt;I want to play with the CLR integration in SQL&amp;nbsp;Express.&amp;nbsp; I installed Visual C# Express, but I couldn't figure out how to connect to a database - creating a database didn't work, the command-line tools didn't work...&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&#13;
&lt;DIV&gt;So I ended up downloading the full package of SQL Express and installing it, after installing the Visual C# Express setup which also included it..&amp;nbsp;it works now.&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&#13;
&lt;DIV&gt;Once I got it installed, the Create Database UI in the IDE wasn't working for me, so I created the database using the command line tool OSQL.EXE:&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp; osql -s machinename -E&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&#13;
&lt;DIV&gt;It should give you a prompt, where you can type the commands to create a database:&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp; 1&amp;gt; create database foo&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp; 1&amp;gt; go&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&#13;
&lt;DIV&gt;Now you can quit, and go back to the IDE and connect to database foo.&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&#13;
&lt;DIV&gt;Maybe this will help someone else who's having the same problem.&amp;nbsp; Any other tips, post 'em as comments.&lt;/DIV&gt;&#13;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description><pubDate>Thu, 01 Sep 2005 19:17:07 GMT</pubDate></item>