<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Simons SQL Blog : Samples</title><link>http://sqlblogcasts.com/blogs/simons/archive/tags/Samples/default.aspx</link><description>Tags: Samples</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Using SMO from TSQL</title><link>http://sqlblogcasts.com/blogs/simons/archive/2007/05/08/Using-SMO-from-TSQL.aspx</link><pubDate>Tue, 08 May 2007 11:51:42 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:1783</guid><dc:creator>simonsabin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=1783</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=1783</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2007/05/08/Using-SMO-from-TSQL.aspx#comments</comments><description>
&lt;p&gt;If you are desperate to get your hands on the code I 
used in the SMO in TSQL demo I did at the usergroup meeting you can download it 
now from codeplex.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.codeplex.com/SMOinTSQL"&gt;http://www.codeplex.com/SMOinTSQL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are 2 projects in there one an SSMS project and one a C# project. Both 
can be opened using the TFS in codeplex. Or you can just download the code.&lt;/p&gt;
&lt;p&gt;The instructions are non-existent at the moment but I am sure you can figure 
it out.&lt;/p&gt;
&lt;p&gt;I am going to be posting my demo code to codeplex, if you are interested in 
contributing let me know and I will give you rights.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sqlskills.com/blogs/bobb/2007/03/13/TwoThingsYouCantDoInSQLCLR.aspx"&gt;http://www.sqlskills.com/blogs/bobb/2007/03/13/TwoThingsYouCantDoInSQLCLR.aspx&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/Social_Buttons.js"&gt;&lt;/script&gt;
&lt;hr /&gt;
-
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/google_rss.js"&gt;
&lt;/script&gt;
&lt;script type="text/javascript"&gt;var height=90;var width=720;&lt;/script&gt;
&lt;script src="http://www.sqlknowhow.com/scripts/Banner.js" type="text/javascript"&gt;
&lt;/script&gt;
 &lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=1783" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/TSQL/default.aspx">TSQL</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Free/default.aspx">Free</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Usergroup/default.aspx">Usergroup</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Samples/default.aspx">Samples</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Service+Packs/default.aspx">Service Packs</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Downloads/default.aspx">Downloads</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SMO/default.aspx">SMO</category></item><item><title>SQL Server Samples are now live on Codeplex</title><link>http://sqlblogcasts.com/blogs/simons/archive/2007/03/22/SQL-Server-Samples-are-now-live-on-Codeplex.aspx</link><pubDate>Thu, 22 Mar 2007 20:36:22 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:1652</guid><dc:creator>simonsabin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=1652</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=1652</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2007/03/22/SQL-Server-Samples-are-now-live-on-Codeplex.aspx#comments</comments><description>
&lt;p&gt;Microsoft are in the process of retiring GotDotNet and 
replacing it with CodePlex.&lt;/p&gt;
&lt;p&gt;CodePlex is a shared source website which allows you to upload projects and 
give access to other people to view/maintain.&lt;/p&gt;
&lt;p&gt;The great feature is that it is using Team Foundation Server. This means that 
any one using Visual Studio with a Team suite client license can have full 
access to the Team foundation server. This is all done over HTTP.&lt;/p&gt;
&lt;p&gt;A big step has been made by the SQL Server team in putting the samples on 
CodePlex (Thanks Ed) Whilst you can&amp;#39;t have access to modify the source you can 
access all the component parts of the samples. This means you don&amp;#39;t have to 
download all the samples to get the sample you want, and even better you don&amp;#39;t 
have to download a complete sample you can access individual files, i.e. 
scripts, read me files, word documents etc.&lt;/p&gt;
&lt;p&gt;So go and have a look &lt;a href="http://www.codeplex.com/SqlServerSamples"&gt;http://www.codeplex.com/SqlServerSamples&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This site also acts as a starting point for looking for other SQL Samples 
provided by the community.&lt;/p&gt;
&lt;br /&gt;
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/Social_Buttons.js"&gt;&lt;/script&gt;
&lt;hr /&gt;
-
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/google_rss.js"&gt;
&lt;/script&gt;
&lt;script type="text/javascript"&gt;var height=90;var width=720;&lt;/script&gt;
&lt;script src="http://www.sqlknowhow.com/scripts/Banner.js" type="text/javascript"&gt;
&lt;/script&gt;
 &lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=1652" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Community/default.aspx">Community</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Free/default.aspx">Free</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Samples/default.aspx">Samples</category></item><item><title>SQL Server 2005 Samples - Where is the samplekey.snk</title><link>http://sqlblogcasts.com/blogs/simons/archive/2007/01/05/SQL-Server-2005-Samples---Where-is-the-samplekey-snk.aspx</link><pubDate>Fri, 05 Jan 2007 18:12:38 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:1526</guid><dc:creator>simonsabin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=1526</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=1526</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2007/01/05/SQL-Server-2005-Samples---Where-is-the-samplekey-snk.aspx#comments</comments><description>
&lt;p&gt;Did you know that whilst the samples are included on the 
install of SQL Server as with books online the most upto date versions can be 
found online.&lt;/p&gt;
&lt;p&gt;&lt;a class="l" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=E719ECF7-9F46-4312-AF89-6AD8702E4E6E&amp;amp;displaylang=en"&gt;&lt;font color="#551a8b"&gt;Download details: &lt;b&gt;SQL Server&lt;/b&gt; 2005 &lt;b&gt;Samples&lt;/b&gt; and 
&lt;b&gt;Sample&lt;/b&gt; Databases&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Some of these samples include the source code for programs. these often 
require a key file to function. The file is not included in the install and so 
you have to create one. This can be done simply by issuing the following at the 
comman line.&lt;/p&gt;
&lt;p&gt;sn -k C:\Program Files\Microsoft SQL Server\90\Samples\samplekey.snk&lt;/p&gt;
&lt;p&gt;(assuming that you have installed the camples to the default location)&lt;/p&gt;
&lt;p&gt;Here is some more information you need to know about the samples&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.microsoft.com/download/d/8/6/d865cf0c-c44b-401b-b426-b3bf5c628112/GettingStartedWithSQLSamples.htm"&gt;http://download.microsoft.com/download/d/8/6/d865cf0c-c44b-401b-b426-b3bf5c628112/GettingStartedWithSQLSamples.htm&lt;/a&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/Social_Buttons.js"&gt;&lt;/script&gt;
&lt;hr /&gt;
-
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/google_rss.js"&gt;
&lt;/script&gt;
&lt;script type="text/javascript"&gt;var height=90;var width=720;&lt;/script&gt;
&lt;script src="http://www.sqlknowhow.com/scripts/Banner.js" type="text/javascript"&gt;
&lt;/script&gt;
 &lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=1526" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Samples/default.aspx">Samples</category></item></channel></rss>