<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Microsoft SQL Server Product Samples: Data Programming</title><link>http://www.codeplex.com/MSFTDPProdSamples/Project/ProjectRss.aspx</link><description>This project contains Data Programming samples released with Microsoft SQL Server product.   </description><item><title>Source code checked in, #11622</title><link>http://www.codeplex.com/MSFTDPProdSamples/SourceControl/ListDownloadableCommits.aspx</link><description>Adding &amp;#39;Katmai&amp;#58;June 2008 RC0&amp;#39;</description><author>ReedMe</author><pubDate>Wed, 11 Jun 2008 05:42:45 GMT</pubDate><guid isPermaLink="false">Source code checked in, #11622 20080611054245A</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=Home&amp;version=42</link><description>&lt;div class="wikidoc"&gt;
&lt;a href="http://CodePlex.com/SqlServerSamples" class="externalLink"&gt;SQL Server Samples Portal Page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &amp;gt; SQL Server Data Programming Product Samples&lt;br /&gt; &lt;br /&gt;&lt;b&gt;SQL Server 2008 RC0&lt;/b&gt; product samples are &lt;a href="/MSFTDPProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;now available&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;This project contains Data Programming samples released with Microsoft SQL Server product. These samples are in the following five categories: ADO, ODBC, and OLEDB. If you are interested in contributing Data Programming samples, please let us know by posting in the developers' forum.&lt;br /&gt; &lt;br /&gt;To download these samples click on the Releases tab (or click &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTDPProdSamples" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;), optionally select another (older) release, then click on the Windows Installer package (MSI file) which matches the architecture of the installation computer.&lt;br /&gt; &lt;br /&gt;For information about how to use CodePlex to access SQL Server samples, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;To download samples databases, click &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and then click the appropriate MSI file.&lt;br /&gt;For release notes and brief descriptions of all the sample databases and code, including restrictions on SQL Express and Vista, click &lt;a href="http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=SQLServerDatabasesandSamplesOverview&amp;amp;referringTitle=Home" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
&lt;b&gt;ADO.NET&lt;/b&gt;
&lt;/h3&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Large Binary Object (LOB) Handling using ADO.Net &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21Large%20Binary%20Object%20%28LOB%29%20Handling%20using%20ADO.Net&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; MARS &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21Readme_MARS&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
&lt;b&gt;ODBC&lt;/b&gt;
&lt;/h3&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; BulkCopyFormatAndData &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20BulkCopyFormatAndData&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20BulkCopyFormatAndData&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to bulk copy a SELECT result set (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20bulk%20copy%20a%20SELECT%20result%20set%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20bulk%20copy%20a%20SELECT%20result%20set%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to bulk copy data from program variables (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20bulk%20copy%20data%20from%20program%20variables%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20bulk%20copy%20data%20from%20program%20variables%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to bulk copy without a format file (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20bulk%20copy%20without%20a%20format%20file%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20bulk%20copy%20without%20a%20format%20file%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to create a bulk copy format file (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20create%20a%20bulk%20copy%20format%20file%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20create%20a%20bulk%20copy%20format%20file%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to log long-running queries (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20log%20long-running%20queries%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20log%20long-running%20queries%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to process ODBC errors (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20process%20ODBC%20errors%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20process%20ODBC%20errors%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to process return codes and output parameters (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20process%20return%20codes%20and%20output%20parameters%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20process%20return%20codes%20and%20output%20parameters%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to profile driver performance data (ODBC) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20profile%20driver%20performance%20data%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20profile%20driver%20performance%20data%20%28ODBC%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ODBC Table-Valued Parameters &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20ODBC%20Table-Valued%20Parameters&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; UseDataAtExecutionColumns &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20UseDataAtExecutionColumns&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20UseDataAtExecutionColumns&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; UseDataAtExecutionParameters &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20UseDataAtExecutionParameters&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20UseDataAtExecutionParameters&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ODBC Date Time &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme_ODBC%20Date%20Time&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; ODBC_SparseCols &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme_ODBC_SparseCols&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
&lt;b&gt;OLE DB&lt;/b&gt;
&lt;/h3&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt; Sample &lt;/th&gt;&lt;th&gt; SQL Server 2005 &lt;/th&gt;&lt;th&gt; SQL Server 2008 &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Enhanced Date/Time Features in SQL Server 2008 &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Enhanced%20Date%2fTime%20Features%20in%20SQL%20Server%202008&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Execute stored procedure (using ODBC CALL syntax) and process return codes and output parameters (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20Execute%20stored%20procedure%20%28using%20ODBC%20CALL%20syntax%29%20and%20process%20return%20codes%20and%20output%20parameters%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Execute%20stored%20procedure%20%28using%20ODBC%20CALL%20syntax%29%20and%20process%20return%20codes%20and%20output%20parameters%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Execute stored procedure (using RPC syntax) and process return codes and output parameters (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20Execute%20stored%20procedure%20%28using%20RPC%20syntax%29%20and%20process%20return%20codes%20and%20output%20parameters%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Execute%20stored%20procedure%20%28using%20RPC%20syntax%29%20and%20process%20return%20codes%20and%20output%20parameters%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Execute user-defined function and process return code (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20Execute%20user-defined%20function%20and%20process%20return%20code%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Execute%20user-defined%20function%20and%20process%20return%20code%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fetching Columns Using IRow::GetColumns (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20Fetching%20Columns%20Using%20IRow%3a%3aGetColumns%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Fetching%20Columns%20Using%20IRow%3a%3aGetColumns%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Fetching Columns Using IRow::GetColumns (or IRow::Open) and ISequentialStream &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20Fetching%20Columns%20Using%20IRow%3a%3aGetColumns%20%28or%20IRow%3a%3aOpen%29%20and%20ISequentialStream&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Fetching%20Columns%20Using%20IRow%3a%3aGetColumns%20%28or%20IRow%3a%3aOpen%29%20and%20ISequentialStream&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to bulk copy data using IRowsetFastLoad (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20bulk%20copy%20data%20using%20IRowsetFastLoad%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20bulk%20copy%20data%20using%20IRowsetFastLoad%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to enumerate OLE DB data sources (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20enumerate%20OLE%20DB%20data%20sources%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20enumerate%20OLE%20DB%20data%20sources%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to fetch rows from a result set (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20fetch%20rows%20from%20a%20result%20set%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20fetch%20rows%20from%20a%20result%20set%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to obtain FAST_FORWARD cursor &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20obtain%20FAST_FORWARD%20cursor&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20obtain%20FAST_FORWARD%20cursor&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to retrieve rows using bookmarks (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20retrieve%20rows%20using%20bookmarks%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20retrieve%20rows%20using%20bookmarks%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; How to set large data (OLE DB) &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005%21README%20How%20to%20set%20large%20data%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2005&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20How%20to%20set%20large%20data%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Read filestream column to file using IBCPSession (OLE DB) &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Read%20filestream%20column%20to%20file%20using%20IBCPSession%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Retrieve data from Filestream column using ISequentialStream (OLE DB) &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme%20Retrieve%20data%20from%20Filestream%20column%20using%20ISequentialStream%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Send data to a filestream column using ISequentialStream bound to ICommandText parameter (OLE DB) &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Send%20data%20to%20a%20filestream%20column%20using%20ISequentialStream%20bound%20to%20ICommandText%20parameter%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Use IRowsetFastUpload interface to send data to a filestream column (OLE DB) &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21README%20Use%20IRowsetFastUpload%20interface%20to%20send%20data%20to%20a%20filestream%20column%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Changing a SQL Server Authentication User Password (OLE DB) &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme_Changing%20a%20SQL%20Server%20Authentication%20User%20Password%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Displaying Column and Catalog Metadata for Sparse Columns (OLE DB) &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme_Displaying%20Column%20and%20Catalog%20Metadata%20for%20Sparse%20Columns%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Integrated Kerberos Authentication Sample (OLE DB) &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme_Integrated%20Kerberos%20Authentication%20Sample%20%28OLE%20DB%29&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Sending BLOB Data to SQL SERVER Using IROWSETFASTLOAD and ISEQUENTIALSTREAM &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme_Sending%20BLOB%20Data%20to%20SQL%20SERVER%20Using%20IROWSETFASTLOAD%20and%20ISEQUENTIALSTREAM&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; Table-Valued Parameters &lt;/td&gt;&lt;td&gt; n/a &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008%21Readme_Table-Valued%20Parameters&amp;amp;referringTitle=Home"&gt;SS2008&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>ReedMe</author><pubDate>Tue, 10 Jun 2008 23:48:23 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080610114823P</guid></item><item><title>RELEASED: SQL Server 2008 RC0 (Jun 10, 2008)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Release/ProjectReleases.aspx?ReleaseId=14273</link><description>&lt;div&gt;
This release contains the SQL Server 2008 RC0 product samples for Data Programming.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Tue, 10 Jun 2008 23:20:34 GMT</pubDate><guid isPermaLink="false">RELEASED: SQL Server 2008 RC0 (Jun 10, 2008) 20080610112034P</guid></item><item><title>UPDATED RELEASE: SQL Server 2008 RC0 (Jun 10, 2008)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Release/ProjectReleases.aspx?ReleaseId=14273</link><description>&lt;div&gt;
This release contains the SQL Server 2008 RC0 product samples for Data Programming.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Tue, 10 Jun 2008 23:20:34 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: SQL Server 2008 RC0 (Jun 10, 2008) 20080610112034P</guid></item><item><title>Updated Wiki: SS2008!Readme_ODBC_SparseCols</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!Readme_ODBC_SparseCols&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme&lt;i&gt;ODBC&lt;/i&gt;SparseCols
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;This sample works only with SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2008.&lt;br /&gt;This sample shows how to call &lt;b&gt;SQLColumns&lt;/b&gt; on a table with sparse columns that were defined by using ODBC in SQL Server Native Client.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information about the sparse columns feature, see &lt;b&gt;Sparse Columns Support in SQL Server Native Client&lt;/b&gt; in SQL Server Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure that the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express, including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 (or later) or Microsoft Visual Studio 2005 (or later). You can obtain .NET Framework SDK free of charge. For more information, see &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; You must specify a server. In odbc_sparse.cpp, change &amp;quot;MyServer&amp;quot; to a valid server name.  &lt;/li&gt;&lt;li&gt; Make sure your INCLUDE environment variable includes the directory that contains sqlncli.h.  &lt;/li&gt;&lt;li&gt; If you are using Visual Studio, load the odbc_sparse.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe at a command prompt. Pass in the odbc_sparse.sln file, as follows:   *  MSBuild odbc_sparse.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke odbc_sparse.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 23:00:06 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_ODBC_SparseCols 20080610110006P</guid></item><item><title>Updated Wiki: SS2008!Readme_ODBC Date Time</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!Readme_ODBC Date Time&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_ODBC Date Time
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;This sample works only with SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2008.&lt;br /&gt;This sample shows how to initialize the date/time data structures that were added in SQL Server 2008. It then prepares the input values, binds parameters, and executes the query.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information about date/time enhancements in SQL Server 2008, see &lt;b&gt;Date/Time Improvements&lt;/b&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express, including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 (or later) or Microsoft Visual Studio 2005 (or later). You can obtain .NET Framework SDK free of charge. For more information, see &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You also need an ODBC data source called DateTime. This data source must be based on the ODBC driver for SQL Server Native Client. The default database for DateTime should be tempdb. To build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance, using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following Transact-SQL, which you can find in the scripts directory of the sample:   * {&amp;quot; use tempdb&lt;/li&gt;
&lt;/ul&gt;GO&lt;br /&gt; &lt;br /&gt;IF EXISTS (SELECT name FROM sysobjects WHERE name = 'DateTimeTypes')&lt;br /&gt;DROP TABLE DateTimeTypes&lt;br /&gt;GO&lt;br /&gt; &lt;br /&gt;CREATE TABLE DateTimeTypes (datecol date, time2col time(7), datetime2col datetime2(7), datetimeoffsetcol datetimeoffset(7))&lt;br /&gt;GO &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script. Alternatively, you can execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the DateTime_ODBC.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the DateTime_ODBC.sln file:   *  MSBuild DateTime_ODBC.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke DateTime_ODBC.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:59:44 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!Readme_ODBC Date Time 20080610105944P</guid></item><item><title>Updated Wiki: SS2008!README UseDataAtExecutionParameters</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README UseDataAtExecutionParameters&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_UseDataAtExecutionParameters (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt; This sample works only with SQL Server 2005 and SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2005. &lt;br /&gt;The sample shows how to read SQL_LONG variable character data using SQLParamData and SQLPutData. This sample is not supported on IA64.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database. If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following stored procedure, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;CREATE TABLE emp4 (NAME char(30), AGE int, BIRTHDAY datetime, Memo1 text) &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the UseDataAtExecutionParameters.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe at a command prompt, passing it the UseDataAtExecutionParameters.sln file:   *  MSBuild UseDataAtExecutionParameters.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke UseDataAtExecutionParameters.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:59:21 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README UseDataAtExecutionParameters 20080610105921P</guid></item><item><title>Updated Wiki: SS2005!README UseDataAtExecutionParameters</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005!README UseDataAtExecutionParameters&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
README UseDataAtExecutionParameters
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 3:14:30 PM&lt;br /&gt;  &lt;br /&gt; Updated: &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;br /&gt;The sample shows how to read SQL_LONG variable character data using SQLParamData and SQLPutData. This sample is not supported on IA64.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server 2005 or SQL Server 2005 Express Edition (SQL Server Express) including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server 2005, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server 2005 Database Engine samples. These samples are included with SQL Server 2005. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework SDK&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following stored procedure, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;CREATE TABLE emp4 (NAME char(30), AGE int, BIRTHDAY datetime, Memo1 text) &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the UseDataAtExecutionParameters.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe at a command prompt, passing it the UseDataAtExecutionParameters.sln file:   *  MSBuild UseDataAtExecutionParameters.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke UseDataAtExecutionParameters.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h5&gt;
Change History
&lt;/h5&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;  Release &lt;/th&gt;&lt;th&gt;  History  &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;/td&gt;&lt;td&gt;  Changed content: Clarified and updated prerequisites including the Web site for downloading the samples.  New content: Added information on connecting to a named instance.  &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2005 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:59:05 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2005!README UseDataAtExecutionParameters 20080610105905P</guid></item><item><title>Updated Wiki: SS2008!README UseDataAtExecutionColumns</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README UseDataAtExecutionColumns&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_UseDataAtExecutionColumns (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt; This sample works only with SQL Server 2005 and SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2005. &lt;br /&gt;The sample shows how to read a SQL_LONG variable character data using SQLGetData. This sample is not supported on IA64.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database. If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; This sample requires you to run the following Transact-SQL, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;CREATE TABLE emp3 (NAME char(30), AGE int, BIRTHDAY datetime, Memo1 text)&lt;br /&gt;INSERT INTO emp3 (NAME, AGE, Memo1) VALUES   ('Name1', '12', 'This is the first employee')&lt;br /&gt;INSERT INTO emp3 (NAME, AGE, Memo1) VALUES   ('Name2', '18', 'This is the second employee') &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -I Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the BulkCopyFormatAndData.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe at a command prompt, passing it the UseDataAtExecutionColumns.sln file:   *  MSBuild UseDataAtExecutionColumns.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke UseDataAtExecutionColumns.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:58:45 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README UseDataAtExecutionColumns 20080610105845P</guid></item><item><title>Updated Wiki: SS2005!README UseDataAtExecutionColumns</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005!README UseDataAtExecutionColumns&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
README UseDataAtExecutionColumns
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 3:14:30 PM&lt;br /&gt;  &lt;br /&gt; Updated: &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;br /&gt;The sample shows how to read a SQL_LONG variable character data using SQLGetData. This sample is not supported on IA64.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server 2005 or SQL Server 2005 Express Edition (SQL Server Express) including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server 2005, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server 2005 Database Engine samples. These samples are included with SQL Server 2005. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework SDK&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; This sample requires you to run the following Transact-SQL, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;CREATE TABLE emp3 (NAME char(30), AGE int, BIRTHDAY datetime, Memo1 text)&lt;br /&gt;INSERT INTO emp3 (NAME, AGE, Memo1) VALUES   ('Name1', '12', 'This is the first employee')&lt;br /&gt;INSERT INTO emp3 (NAME, AGE, Memo1) VALUES   ('Name2', '18', 'This is the second employee') &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -I Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the BulkCopyFormatAndData.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe at a command prompt, passing it the UseDataAtExecutionColumns.sln file:   *  MSBuild UseDataAtExecutionColumns.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke UseDataAtExecutionColumns.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h5&gt;
Change History
&lt;/h5&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;  Release &lt;/th&gt;&lt;th&gt;  History  &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;/td&gt;&lt;td&gt;  Changed content: Clarified and updated prerequisites including the Web site for downloading the samples.  New content: Added information on connecting to a named instance.  &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2005 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:58:28 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2005!README UseDataAtExecutionColumns 20080610105828P</guid></item><item><title>Updated Wiki: SS2008!README ODBC Table-Valued Parameters</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README ODBC Table-Valued Parameters&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_Table-Valued Parameters (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt;This sample depends on features that were introduced in SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2008.&lt;br /&gt;This sample shows how to use table-valued parameters to insert multiple rows, with multiple columns, with one call to the server.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;Table-Valued Parameters (SQL Server Native Client)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 (or later) or Microsoft Visual Studio 2005 (or later). You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called TVPDemo. This data source must be based on the ODBC driver for SQL Server Native Client. The default database for TVPDemo can be any test database on your computer. If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; If you are using Visual Studio, load the TableValuedParameters_ODBC.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the ProcessODBCErrors.sln file:   *  MSBuild TableValuedParameters_ODBC.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke TableValuedParameters_ODBC.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:58:09 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README ODBC Table-Valued Parameters 20080610105809P</guid></item><item><title>Updated Wiki: SS2008!README How to profile driver performance data (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README How to profile driver performance data (ODBC)&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_Profiling Driver Performance Data (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt; This sample works only with SQL Server 2005 and SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2005. &lt;br /&gt;This sample shows the SQL Server ODBC driver-specific options to record performance statistics. The sample creates one file: odbcperf.log.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Profile Driver Performance Data (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database. If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; If you are using Visual Studio, load the CreateAndDisplayPerformanceLog.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the CreateAndDisplayPerformanceLog.sln file:   *  MSBuild CreateAndDisplayPerformanceLog.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke CreateAndDisplayPerformanceLog.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:57:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README How to profile driver performance data (ODBC) 20080610105753P</guid></item><item><title>Updated Wiki: SS2005!README How to profile driver performance data (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005!README How to profile driver performance data (ODBC)&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
README How to profile driver performance data (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 3:14:30 PM&lt;br /&gt;  &lt;br /&gt; Updated: &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;br /&gt;This sample shows the SQL Server ODBC driver-specific options to record performance statistics. The sample creates one file: odbcperf.log.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Profile Driver Performance Data (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server 2005 or SQL Server 2005 Express Edition (SQL Server Express) including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server 2005, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server 2005 Database Engine samples. These samples are included with SQL Server 2005. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework SDK&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; If you are using Visual Studio, load the CreateAndDisplayPerformanceLog.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the CreateAndDisplayPerformanceLog.sln file:   *  MSBuild CreateAndDisplayPerformanceLog.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke CreateAndDisplayPerformanceLog.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h5&gt;
Change History
&lt;/h5&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;  Release &lt;/th&gt;&lt;th&gt;  History  &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;/td&gt;&lt;td&gt;  Changed content: Clarified and updated prerequisites including the Web site for downloading the samples.  New content: Added information on connecting to a named instance.  &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2005 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:57:27 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2005!README How to profile driver performance data (ODBC) 20080610105727P</guid></item><item><title>Updated Wiki: SS2008!README How to process return codes and output parameters (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README How to process return codes and output parameters (ODBC)&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_Processing Return Codes and Output Parameters (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt; This sample works only with SQL Server 2005 and SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2005. &lt;br /&gt;This sample shows processing a return code and output parameter. This sample is not supported on IA64.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Process Return Codes and Output Parameters (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database. If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following stored procedure, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;IF EXISTS (SELECT name FROM sysobjects WHERE name = 'TestParm')&lt;br /&gt;   DROP PROCEDURE TestParm&lt;br /&gt;GO&lt;br /&gt; &lt;br /&gt;CREATE PROCEDURE TestParm &lt;br /&gt;@OutParm int OUTPUT &lt;br /&gt;AS&lt;br /&gt;SELECT Name FROM Purchasing.Vendor&lt;br /&gt;SELECT @OutParm = 88&lt;br /&gt;RETURN 99&lt;br /&gt;go &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the ProcessReturnCodes.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the ProcessReturnCodes.sln file:   *  MSBuild ProcessReturnCodes.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke ProcessReturnCodes.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:57:02 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README How to process return codes and output parameters (ODBC) 20080610105702P</guid></item><item><title>Updated Wiki: SS2005!README How to process return codes and output parameters (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005!README How to process return codes and output parameters (ODBC)&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
README How to process return codes and output parameters (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 3:14:30 PM&lt;br /&gt;  &lt;br /&gt; Updated: &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;br /&gt;This sample shows processing a return code and output parameter. This sample is not supported on IA64.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Process Return Codes and Output Parameters (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server 2005 or SQL Server 2005 Express Edition (SQL Server Express) including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server 2005, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server 2005 Database Engine samples. These samples are included with SQL Server 2005. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework SDK&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following stored procedure, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;DROP PROCEDURE TestParm&lt;br /&gt;GO&lt;br /&gt;CREATE PROCEDURE TestParm &lt;br /&gt;@OutParm int OUTPUT &lt;br /&gt;AS&lt;br /&gt;SELECT Name FROM Purchasing.Vendor&lt;br /&gt;SELECT @OutParm = 88&lt;br /&gt;RETURN 99&lt;br /&gt;go &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the ProcessReturnCodes.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the ProcessReturnCodes.sln file:   *  MSBuild ProcessReturnCodes.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke ProcessReturnCodes.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h5&gt;
Change History
&lt;/h5&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;  Release &lt;/th&gt;&lt;th&gt;  History  &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;/td&gt;&lt;td&gt;  Changed content: Clarified and updated prerequisites including the Web site for downloading the samples.  New content: Added information on connecting to a named instance.  &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2005 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:56:22 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2005!README How to process return codes and output parameters (ODBC) 20080610105622P</guid></item><item><title>Updated Wiki: SS2008!README How to process ODBC errors (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README How to process ODBC errors (ODBC)&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_How to process ODBC errors (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt; This sample works only with SQL Server 2005 and SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2005. &lt;br /&gt;The sample shows a simple error handler that calls SQLGetDiagRec for the standard ODBC information. It then tests for a valid connection, and if there is, it calls SQLGetDiagField for the Microsoft&amp;#174; SQL Server™ ODBC driver-specific diagnostic fields. This sample is not supported on IA64.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Process ODBC Errors (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database. If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following stored procedure, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;IF EXISTS (SELECT name FROM sysobjects WHERE name = 'BadOne')&lt;br /&gt;   DROP PROCEDURE BadOne&lt;br /&gt; &lt;br /&gt;Go&lt;br /&gt; &lt;br /&gt;CREATE PROCEDURE BadOne &lt;br /&gt;AS &lt;br /&gt;SELECT * FROM Purchasing.Vendor&lt;br /&gt;Go &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the ProcessODBCErrors.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the ProcessODBCErrors.sln file:   *  MSBuild ProcessODBCErrors.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke ProcessODBCErrors.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:55:51 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README How to process ODBC errors (ODBC) 20080610105551P</guid></item><item><title>Updated Wiki: SS2005!README How to process ODBC errors (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005!README How to process ODBC errors (ODBC)&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
README How to process ODBC errors (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 3:14:30 PM&lt;br /&gt;  &lt;br /&gt; Updated: &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;br /&gt;The sample shows a simple error handler that calls SQLGetDiagRec for the standard ODBC information. It then tests for a valid connection, and if there is, it calls SQLGetDiagField for the Microsoft&amp;#174; SQL Server™ ODBC driver-specific diagnostic fields. This sample is not supported on IA64.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Process ODBC Errors (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server 2005 or SQL Server 2005 Express Edition (SQL Server Express) including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server 2005, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server 2005 Database Engine samples. These samples are included with SQL Server 2005. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework SDK&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following stored procedure, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;DROP PROCEDURE BadOne&lt;br /&gt;GO&lt;br /&gt; &lt;br /&gt;CREATE PROCEDURE BadOne &lt;br /&gt;AS &lt;br /&gt;SELECT * FROM Purchasing.Vendor&lt;br /&gt;Go &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the ProcessODBCErrors.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the ProcessODBCErrors.sln file:   *  MSBuild ProcessODBCErrors.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke ProcessODBCErrors.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h5&gt;
Change History
&lt;/h5&gt; &lt;br /&gt;||  Release || &lt;br /&gt;             History  ||&lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;td&gt; &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;/td&gt;&lt;td&gt;  Changed content: Clarified and updated prerequisites including the Web site for downloading the samples.  New content: Added information on connecting to a named instance.  &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2005 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:55:23 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2005!README How to process ODBC errors (ODBC) 20080610105523P</guid></item><item><title>Updated Wiki: SS2008!README How to log long-running queries (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README How to log long-running queries (ODBC)&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_Logging Long-Running Queries (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt; This sample works only with SQL Server 2005 and SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2005. &lt;br /&gt;This sample shows the SQL Server ODBC driver-specific options to log long-running queries. When run, creates Odbcqry.log, which contains a list of queries whose execution exceeds an interval set by the application. This sample is not supported on IA64.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Log Long-Running Queries (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database. If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; If you are using Visual Studio, load the LogLongRunningQuery.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the LogLongRunningQuery.sln file:   *  MSBuild LogLongRunningQuery.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke LogLongRunningQuery.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:54:40 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README How to log long-running queries (ODBC) 20080610105440P</guid></item><item><title>Updated Wiki: SS2005!README How to log long-running queries (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2005!README How to log long-running queries (ODBC)&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
README How to log long-running queries (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 3:14:30 PM&lt;br /&gt;  &lt;br /&gt; Updated: &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;br /&gt;This sample shows the SQL Server ODBC driver-specific options to log long-running queries. When run, creates Odbcqry.log, which contains a list of queries whose execution exceeds an interval set by the application. This sample is not supported on IA64.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Log Long-Running Queries (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server 2005 or SQL Server 2005 Express Edition (SQL Server Express) including Database Engine.  &lt;/li&gt;
&lt;/ul&gt;        You can download SQL Server Express from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Microsoft Download Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; The AdventureWorks database which is included with SQL Server 2005, and is also available at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server 2005 Database Engine samples. These samples are included with SQL Server 2005. You can download the latest version of the samples at the &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Microsoft SQL Server Developer Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework SDK&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; If you are using Visual Studio, load the LogLongRunningQuery.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the LogLongRunningQuery.sln file:   *  MSBuild LogLongRunningQuery.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke LogLongRunningQuery.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h5&gt;
Change History
&lt;/h5&gt; &lt;br /&gt;&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;  Release &lt;/th&gt;&lt;th&gt;  History  &lt;/th&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt; &lt;b&gt; 17 July 2006 &lt;/b&gt;&lt;/td&gt;&lt;td&gt;  Changed content: Clarified and updated prerequisites including the Web site for downloading the samples.  New content: Added information on connecting to a named instance.  &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; &lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2005 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:54:17 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2005!README How to log long-running queries (ODBC) 20080610105417P</guid></item><item><title>Updated Wiki: SS2008!README How to create a bulk copy format file (ODBC)</title><link>http://www.codeplex.com/MSFTDPProdSamples/Wiki/View.aspx?title=SS2008!README How to create a bulk copy format file (ODBC)&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Readme_How to create a bulk copy format file (ODBC)
&lt;/h2&gt; &lt;br /&gt; 6/10/2008 1:32:27 AM&lt;br /&gt;  &lt;br /&gt; &lt;br /&gt; This sample works only with SQL Server 2005 and SQL Server 2008. It will not work with any version of SQL Server earlier than SQL Server 2005. &lt;br /&gt;This sample shows how to create a bulk copy format file.&lt;br /&gt; SQL Server samples and sample databases must be downloaded and installed before you can view or work with them. For more information, see &lt;i&gt;Considerations for Installing SQL Server Samples and Sample Databases&lt;/i&gt;.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Scenario
&lt;/h3&gt;For more information on this sample, see &lt;b&gt;How to: Create a Bulk Copy Format File (ODBC)&lt;/b&gt; in Books Online.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Languages
&lt;/h3&gt;This sample uses Visual C++.&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Prerequisites
&lt;/h3&gt;Before running this sample, make sure the following software is installed:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; SQL Server or SQL Server Express including Database Engine.   You can download SQL Server Express from this Microsoft &lt;a href="http://go.microsoft.com/fwlink/?LinkId=31046" class="externalLink"&gt;Web site&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The AdventureWorks database which is included with SQL Server, and is also available at the SQL Server Developer &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Web site&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; The SQL Server Database Engine samples. These samples are included with SQL Server. You can download the latest version of the samples at the SQL Server Developer &lt;a href="http://go.microsoft.com/fwlink/?linkid=62796" class="externalLink"&gt;Web site&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt; .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See &lt;b&gt;Installing the .NET Framework Documentation&lt;/b&gt;.  &lt;/li&gt;&lt;li&gt; You will also need an ODBC data source called AdventureWorks, whose default database is the &lt;b&gt;AdventureWorks&lt;/b&gt; sample database. This data source must be based on the ODBC driver that is supplied by the operating system (the driver name is &amp;quot;SQL Server&amp;quot;). If you will build and run this sample as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Building the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; This sample connects to your computer's default SQL Server instance. To connect to a named instance, change the definition of the ODBC data source to specify the instance using the following format: &lt;i&gt;server&lt;/i&gt;\&lt;i&gt;named&lt;/i&gt;instance_. By default, SQL Server Express installs to a named instance.  &lt;/li&gt;&lt;li&gt; The sample requires you to execute the following Transact-SQL statements, which you can find in the sample's scripts directory:   * {&amp;quot; use AdventureWorks&lt;/li&gt;
&lt;/ul&gt;CREATE TABLE BCPDate (cola int, colb datetime)&lt;br /&gt;insert BCPDate(cola) values(1) &lt;br /&gt;insert BCPDate(cola) values(2) &lt;br /&gt;insert BCPDate(cola) values(3) &lt;br /&gt;insert BCPDate(cola) values(4) &amp;quot;}* In SQL Server Management Studio, load and execute the Scripts\setup.sql script or execute the following command in a Command Prompt window:   *  sqlcmd -E -I -i Scripts\setup.sql *&lt;br /&gt;&lt;ul&gt;
&lt;li&gt; If you are using Visual Studio, load the BulkCopyWithFormat.sln file and build it.  &lt;/li&gt;&lt;li&gt; If you are using MSBuild.exe, invoke MSBuild.exe in a Command Prompt, passing it the BulkCopyWithFormat.sln file:   *  MSBuild BulkCopyWithFormat.sln *&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
Running the Sample
&lt;/h3&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; From Visual Studio, invoke &lt;b&gt;Start Without Debugging&lt;/b&gt; (CTRL+F5).  &lt;/li&gt;&lt;li&gt; If you built with MSBuild.exe, invoke BulkCopyWithFormat.exe.  &lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;
See Also
&lt;/h3&gt; &lt;br /&gt;&lt;h6&gt;
Concepts
&lt;/h6&gt;&lt;i&gt;Data Access Samples&lt;/i&gt;    &lt;br /&gt;&lt;h6&gt;
 Help and Information
&lt;/h6&gt;&lt;ul&gt;
&lt;li&gt;Getting SQL Server 2008 Assistance* &amp;#169; 2008 Microsoft Corporation. All rights reserved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>bonniefe</author><pubDate>Tue, 10 Jun 2008 22:53:45 GMT</pubDate><guid isPermaLink="false">Updated Wiki: SS2008!README How to create a bulk copy format file (ODBC) 20080610105345P</guid></item></channel></rss>