<?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 Community Samples: Scripts</title><link>http://www.codeplex.com/SQLSrvScrpt/Project/ProjectRss.aspx</link><description>This project contains SQL Server Script samples contributed by Microsoft outside of the regular release cycle, MVPs, and other members of the community.</description><item><title>Project License Changed</title><link>http://www.codeplex.com/SQLSrvScrpt/Project/License.aspx?LicenseHistoryId=7082</link><description>Microsoft Public License &amp;#40;Ms-PL&amp;#41;&amp;#13;&amp;#10;&amp;#13;&amp;#10;This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.&amp;#13;&amp;#10;&amp;#13;&amp;#10;1. Definitions&amp;#13;&amp;#10;&amp;#13;&amp;#10;The terms &amp;#34;reproduce,&amp;#34; &amp;#34;reproduction,&amp;#34; &amp;#34;derivative works,&amp;#34; and &amp;#34;distribution&amp;#34; have the same meaning here as under U.S. copyright law.&amp;#13;&amp;#10;&amp;#13;&amp;#10;A &amp;#34;contribution&amp;#34; is the original software, or any additions or changes to the software.&amp;#13;&amp;#10;&amp;#13;&amp;#10;A &amp;#34;contributor&amp;#34; is any person that distributes its contribution under this license.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#34;Licensed patents&amp;#34; are a contributor&amp;#39;s patent claims that read directly on its contribution.&amp;#13;&amp;#10;&amp;#13;&amp;#10;2. Grant of Rights&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;A&amp;#41; Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;B&amp;#41; Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and&amp;#47;or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.&amp;#13;&amp;#10;&amp;#13;&amp;#10;3. Conditions and Limitations&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;A&amp;#41; No Trademark License- This license does not grant you rights to use any contributors&amp;#39; name, logo, or trademarks.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;B&amp;#41; If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;C&amp;#41; If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;D&amp;#41; If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;E&amp;#41; The software is licensed &amp;#34;as-is.&amp;#34; You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.</description><author></author><pubDate>Fri, 30 Nov 2007 19:40:26 GMT</pubDate><guid isPermaLink="false">Project License Changed 20071130074026P</guid></item><item><title>NEW POST: Running this utility on all the databases and automating it</title><link>http://www.codeplex.com/SQLSrvScrpt/Thread/View.aspx?ThreadId=14240</link><description>&lt;div class="wikidoc"&gt;
If you're inquiring about the source code of the utility, you can either getting it from the release (Release Tab) or download the source code (Source Code Tab). You’ll get a zip file. Unzip the file, the source code is located at “..\DBScript Utility\Source”. Open “Script Utility.sln” in Visual Studio and compile the project and you’ll get “DBScript Utility.exe”.&lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;vipul&lt;i&gt;t&lt;/i&gt;shah wrote:&lt;br /&gt;Do you have a code behind this utility?  I am interested in running this utility on all the User databases to generate separate script for Non-clustered and Clustered INdexes.     Thanks&lt;br /&gt; &lt;br /&gt;Vipul&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Mon, 27 Aug 2007 20:15:08 GMT</pubDate><guid isPermaLink="false">NEW POST: Running this utility on all the databases and automating it 20070827081508P</guid></item><item><title>NEW POST: Running this utility on all the databases and automating it</title><link>http://www.codeplex.com/SQLSrvScrpt/Thread/View.aspx?ThreadId=14240</link><description>&lt;div class="wikidoc"&gt;
Do you have a code behind this utility?  I am interested in running this utility on all the User databases to generate separate script for Non-clustered and Clustered INdexes.     Thanks&lt;br /&gt; &lt;br /&gt;Vipul&lt;br /&gt;
&lt;/div&gt;</description><author>vipul_t_shah</author><pubDate>Thu, 23 Aug 2007 16:29:05 GMT</pubDate><guid isPermaLink="false">NEW POST: Running this utility on all the databases and automating it 20070823042905P</guid></item><item><title>Project License Changed</title><link>http://www.codeplex.com/SQLSrvScrpt/Project/License.aspx?LicenseHistoryId=3415</link><description>Microsoft Permissive License (Ms-PL)

This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.

1. Definitions

The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.

A "contribution" is the original software, or any additions or changes to the software.

A "contributor" is any person that distributes its contribution under this license.

"Licensed patents" are a contributor's patent claims that read directly on its contribution.

2. Grant of Rights

(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.

(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.

3. Conditions and Limitations

(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.

(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.

(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.

(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.

(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.</description><author></author><pubDate>Thu, 31 May 2007 23:25:54 GMT</pubDate><guid isPermaLink="false">Project License Changed 20070531112554P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/SQLSrvScrpt/SourceControl/ListDownloadableCommits.aspx</link><description>Uploading &amp;#39;DBScript Utility&amp;#39;</description><author>nuanw</author><pubDate>Sat, 21 Apr 2007 00:46:33 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070421124633A</guid></item><item><title>UPDATED WIKI: DBScript Utility</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript Utility&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Script Utility
&lt;/h2&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt; &lt;br /&gt;This tool is focused on enhancing the data load process by removing the indexes on tables. While data is being inserted in tables which have indexes on them, the keys are added to the index. This could considerably slow down the data load process. Hence to perform a bulk load operation it would be faster to drop the indexes, load the data and rebuild the indexes.&lt;br /&gt; &lt;br /&gt;The Script Utility wizard helps you to connect to a SQL Server instance, script the Indexes, foreign keys and triggers from the chosen tables in the database. It then generates create and drop scripts for those objects. These scripts could be run using tools like SQL Server Management Studio to drop the objects and re-create them once the data load is complete.&lt;br /&gt;&lt;h3&gt;
About the tool
&lt;/h3&gt; &lt;br /&gt;It is a windows application written in C#, which uses SMO to connect to the relational database and script out the objects.&lt;br /&gt; &lt;br /&gt;A lot of people have requested a need for this tool, primarily to perform the bulk data load process. The tool is selective in scripting objects. You could script just the clustered indexes, or all indexes from a small set of tables which are performing considerably slow in the data load process. It also provides scripts for foreign keys and triggers along with scripting the indexes.&lt;br /&gt;&lt;h3&gt;
Using the tool
&lt;/h3&gt; &lt;br /&gt;Screen1:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8864" alt="scnsht1.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	On the introduction screen click on the Next button.&lt;br /&gt; &lt;br /&gt;Screen 2:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8865" alt="scnsht2.JPG" /&gt;&lt;br /&gt;	 &lt;br /&gt;•	This  is the options screen where you setup the database connection settings and scripting options&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8871" alt="scnsht2a.JPG" /&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Click on Edit	 &lt;/li&gt;&lt;li&gt;The connection properties window opens. Type in the Server name.	&lt;/li&gt;&lt;li&gt;Choose the authentication mode.	&lt;/li&gt;&lt;li&gt;Choose the database from the drop down list. 	&lt;/li&gt;&lt;li&gt;Click on Test connection to make sure you have permissions on the database. 	&lt;/li&gt;&lt;li&gt;Click on Ok.	&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8872" alt="scnsht2b.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	From the list of tables, choose the tables from which you want to script indexes.&lt;br /&gt;•	Choose the objects to be scripted (All Indexes/Clustered/Non Clustered, Foreign Keys and Triggers) and click on the Script button.&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8873" alt="scnsht2c.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	The tool scripts all the selected objects from the chosen tables.&lt;br /&gt;•	Once the scripting is complete, click on View Script.&lt;br /&gt; &lt;br /&gt;Screen 3:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8874" alt="scnsht3.JPG" /&gt;	&lt;br /&gt; &lt;br /&gt;•	You can copy the script from this pane or have the tool save the script in a file.&lt;br /&gt;•	Click on the Back button.&lt;br /&gt;•	On the Options screen click on the Next button.&lt;br /&gt; &lt;br /&gt;Screen 4:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8875" alt="scnsht4.JPG" /&gt;	&lt;br /&gt; &lt;br /&gt;•	The list of tables and the objects that were scripted are shown in this page.&lt;br /&gt;•	Click on Save Script to save the script to a file.&lt;br /&gt;•	Click on Finish to exit.&lt;br /&gt;&lt;h3&gt;
Contact Information:
&lt;/h3&gt; &lt;br /&gt;For further details/queries regarding this tool or to report bugs and issues mail to: syed.sameer@sonata-software.com&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Thu, 22 Mar 2007 21:39:21 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: DBScript Utility 20070322093921P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/SQLSrvScrpt/SourceControl/ListDownloadableCommits.aspx</link><description>Update &amp;#39;DBScript Utility.doc&amp;#39;</description><author>nuanw</author><pubDate>Thu, 22 Mar 2007 21:06:55 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070322090655P</guid></item><item><title>UPDATED WIKI: DBScript Utility</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript Utility&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Script Utility
&lt;/h2&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt; &lt;br /&gt;This tool is focused on enhancing the data load process by removing the indexes on tables.&lt;br /&gt; &lt;br /&gt;The Script Utility wizard helps you to connect to a SQL Server instance, script the Indexes/related objects from the chosen tables in the database.&lt;br /&gt; &lt;br /&gt;It then generates create and drop scripts for those objects. These scripts could be run using tools like SQL Server Management Studio to drop the objects and re-create them once the data load is complete.&lt;br /&gt;&lt;h3&gt;
Using the tool
&lt;/h3&gt; &lt;br /&gt;Screen1:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8864" alt="scnsht1.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	On the introduction screen click on the Next button.&lt;br /&gt; &lt;br /&gt;Screen 2:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8865" alt="scnsht2.JPG" /&gt;&lt;br /&gt;	 &lt;br /&gt;•	This  is the options screen where you setup the database connection settings and scripting options&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8871" alt="scnsht2a.JPG" /&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Click on Edit	 &lt;/li&gt;&lt;li&gt;The connection properties window opens. Type in the Server name.	&lt;/li&gt;&lt;li&gt;Choose the authentication mode.	&lt;/li&gt;&lt;li&gt;Choose the database from the drop down list. 	&lt;/li&gt;&lt;li&gt;Click on Test connection to make sure you have permissions on the database. 	&lt;/li&gt;&lt;li&gt;Click on Ok.	&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8872" alt="scnsht2b.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	From the list of tables, choose the tables from which you want to script indexes.&lt;br /&gt;•	Choose the objects to be scripted (All Indexes/Clustered/Non Clustered, Foreign Keys and Triggers) and click on the Script button.&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8873" alt="scnsht2c.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	The tool scripts all the selected objects from the chosen tables.&lt;br /&gt;•	Once the scripting is complete, click on View Script.&lt;br /&gt; &lt;br /&gt;Screen 3:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8874" alt="scnsht3.JPG" /&gt;	&lt;br /&gt; &lt;br /&gt;•	You can copy the script from this pane or have the tool save the script in a file.&lt;br /&gt;•	Click on the Back button.&lt;br /&gt;•	On the Options screen click on the Next button.&lt;br /&gt; &lt;br /&gt;Screen 4:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8875" alt="scnsht4.JPG" /&gt;	&lt;br /&gt; &lt;br /&gt;•	The list of tables and the objects that were scripted are shown in this page.&lt;br /&gt;•	Click on Save Script to save the script to a file.&lt;br /&gt;•	Click on Finish to exit.&lt;br /&gt;&lt;h3&gt;
Contact Information:
&lt;/h3&gt; &lt;br /&gt;For further details/queries regarding this tool or to report bugs and issues mail to: syed.sameer@sonata-software.com&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 21:57:36 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: DBScript Utility 20070321095736P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
This project contains SQL Server Script samples contributed by Microsoft outside of the regular release cycle, MVPs, and other members of the community.&lt;br /&gt; &lt;br /&gt;If you would like to contribute new sample scripts to this site or make contributions to samples already posted, &lt;a href="http://www.codeplex.com/UserAccount/ContactUser.aspx?ContactUser=SQLTeamAdmin&amp;amp;OriginalUrl=http%3a%2f%2fwww.codeplex.com%2fUserAccount%2fUserProfile.aspx%3fUserName%3dSQLTeamAdmin" class="externalLink"&gt;Contact the Project Admin&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Samples on this site include:
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript%20Utility&amp;amp;referringTitle=Home"&gt;DBScript Utility&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 21:54:25 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070321095425P</guid></item><item><title>UPDATED WIKI: DBScript Utility</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript Utility&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Script Utility
&lt;/h2&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt; &lt;br /&gt;This tool is focused on enhancing the data load process by removing the indexes on tables.&lt;br /&gt; &lt;br /&gt;The Script Utility wizard helps you to connect to a SQL Server instance, script the Indexes/related objects from the chosen tables in the database.&lt;br /&gt; &lt;br /&gt;It then generates create and drop scripts for those objects. These scripts could be run using tools like SQL Server Management Studio to drop the objects and re-create them once the data load is complete.&lt;br /&gt;&lt;h3&gt;
Using the tool
&lt;/h3&gt; &lt;br /&gt;Screen1:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8864" alt="scnsht1.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	On the introduction screen click on the Next button.&lt;br /&gt; &lt;br /&gt;Screen 2:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8865" alt="scnsht2.JPG" /&gt;&lt;br /&gt;	 &lt;br /&gt;•	This  is the options screen where you setup the database connection settings and scripting options&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8871" alt="scnsht2a.JPG" /&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Click on Edit	 &lt;/li&gt;&lt;li&gt;The connection properties window opens. Type in the Server name.	&lt;/li&gt;&lt;li&gt;Choose the authentication mode.	&lt;/li&gt;&lt;li&gt;Choose the database from the drop down list. 	&lt;/li&gt;&lt;li&gt;Click on Test connection to make sure you have permissions on the database. 	&lt;/li&gt;&lt;li&gt;Click on Ok.	&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8872" alt="scnsht2b.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	From the list of tables, choose the tables from which you want to script indexes.&lt;br /&gt;•	Choose the objects to be scripted (All Indexes/Clustered/Non Clustered, Foreign Keys and Triggers) and click on the Script button.&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8873" alt="scnsht2c.JPG" /&gt;&lt;br /&gt; &lt;br /&gt;•	The tool scripts all the selected objects from the chosen tables.&lt;br /&gt;•	Once the scripting is complete, click on View Script.&lt;br /&gt; &lt;br /&gt;Screen 3&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8874" alt="scnsht3.JPG" /&gt;	&lt;br /&gt; &lt;br /&gt;•	You can copy the script from this pane or have the tool save the script in a file.&lt;br /&gt;•	Click on the Back button.&lt;br /&gt;•	On the Options screen click on the Next button.&lt;br /&gt; &lt;br /&gt;Screen 4&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8875" alt="scnsht4.JPG" /&gt;	&lt;br /&gt; &lt;br /&gt;•	The list of tables and the objects that were scripted are shown in this page.&lt;br /&gt;•	Click on Save Script to save the script to a file.&lt;br /&gt;•	Click on Finish to exit.&lt;br /&gt;&lt;h3&gt;
Contact Information:
&lt;/h3&gt; &lt;br /&gt;For further details/queries regarding this tool or to report bugs and issues mail to: syed.sameer@sonata-software.com&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 21:52:55 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: DBScript Utility 20070321095255P</guid></item><item><title>UPDATED WIKI: DBScript Utility</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript Utility&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Script Utility
&lt;/h2&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;This tool is focused on enhancing the data load process by removing the indexes on tables.&lt;br /&gt; &lt;br /&gt;The Script Utility wizard helps you to connect to a SQL Server instance, script the Indexes/related objects from the chosen tables in the database.&lt;br /&gt; &lt;br /&gt;It then generates create and drop scripts for those objects. These scripts could be run using tools like SQL Server Management Studio to drop the objects and re-create them once the data load is complete.&lt;br /&gt;&lt;h3&gt;
Using the tool
&lt;/h3&gt;Screen1:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8864" alt="scnsht1.JPG" /&gt;&lt;br /&gt;•	On the introduction screen click on the Next button.&lt;br /&gt;Screen 2:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8865" alt="scnsht2.JPG" /&gt;	 &lt;br /&gt;•	This  is the options screen where you setup the database connection settings and scripting options&lt;br /&gt;o	Click on Edit	 &lt;br /&gt;o	The connection properties window opens. Type in the Server name.	&lt;br /&gt;o	Choose the authentication mode.	&lt;br /&gt;o	Choose the database from the drop down list. 	&lt;br /&gt;o	Click on Test connection to make sure you have permissions on the database. 	&lt;br /&gt;o	Click on Ok.	&lt;br /&gt; &lt;br /&gt;•	From the list of tables, choose the tables from which you want to script indexes.&lt;br /&gt;•	Choose the objects to be scripted (All Indexes/Clustered/Non Clustered, Foreign Keys and Triggers) and click on the Script button.&lt;br /&gt; &lt;br /&gt;•	The tool scripts all the selected objects from the chosen tables.&lt;br /&gt;•	Once the scripting is complete, click on View Script.&lt;br /&gt;Screen 3&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8874" alt="scnsht3.JPG" /&gt;	 &lt;br /&gt;•	You can copy the script from this pane or have the tool save the script in a file.&lt;br /&gt;•	Click on the Back button.&lt;br /&gt;•	On the Options screen click on the Next button.&lt;br /&gt;Screen 4&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8875" alt="scnsht4.JPG" /&gt;	 &lt;br /&gt;•	The list of tables and the objects that were scripted are shown in this page.&lt;br /&gt;•	Click on Save Script to save the script to a file.&lt;br /&gt;•	Click on Finish to exit.&lt;br /&gt;&lt;h3&gt;
Contact Information:
&lt;/h3&gt;For further details/queries regarding this tool or to report bugs and issues mail to: syed.sameer@sonata-software.com&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 21:42:34 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: DBScript Utility 20070321094234P</guid></item><item><title>UPDATED WIKI: DBScript Utility</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript Utility&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Script Utility
&lt;/h2&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;This tool is focused on enhancing the data load process by removing the indexes on tables.&lt;br /&gt; &lt;br /&gt;The Script Utility wizard helps you to connect to a SQL Server instance, script the Indexes/related objects from the chosen tables in the database.&lt;br /&gt; &lt;br /&gt;It then generates create and drop scripts for those objects. These scripts could be run using tools like SQL Server Management Studio to drop the objects and re-create them once the data load is complete.&lt;br /&gt;&lt;h3&gt;
Using the tool
&lt;/h3&gt;Screen1:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8864" alt="scnsht1.JPG" /&gt;&lt;br /&gt;•	On the introduction screen click on the Next button.&lt;br /&gt;Screen 2:&lt;br /&gt;&lt;img src="http://www.codeplex.com/SQLSrvScrpt/Project/FileDownload.aspx?DownloadId=8865" alt="scnsht2.JPG" /&gt;	 &lt;br /&gt;•	This  is the options screen where you setup the database connection settings and scripting options&lt;br /&gt;o	Click on Edit	 &lt;br /&gt;o	The connection properties window opens. Type in the Server name.	&lt;br /&gt;o	Choose the authentication mode.	&lt;br /&gt;o	Choose the database from the drop down list. 	&lt;br /&gt;o	Click on Test connection to make sure you have permissions on the database. 	&lt;br /&gt;o	Click on Ok.	&lt;br /&gt; &lt;br /&gt;•	From the list of tables, choose the tables from which you want to script indexes.&lt;br /&gt;•	Choose the objects to be scripted (All Indexes/Clustered/Non Clustered, Foreign Keys and Triggers) and click on the Script button.&lt;br /&gt; &lt;br /&gt;•	The tool scripts all the selected objects from the chosen tables.&lt;br /&gt;•	Once the scripting is complete, click on View Script.&lt;br /&gt;Screen 3&lt;br /&gt; &lt;br /&gt;•	You can copy the script from this pane or have the tool save the script in a file.&lt;br /&gt;•	Click on the Back button.&lt;br /&gt;•	On the Options screen click on the Next button.&lt;br /&gt;Screen 4&lt;br /&gt; &lt;br /&gt;•	The list of tables and the objects that were scripted are shown in this page.&lt;br /&gt;•	Click on Save Script to save the script to a file.&lt;br /&gt;•	Click on Finish to exit.&lt;br /&gt;&lt;h3&gt;
Contact Information:
&lt;/h3&gt;For further details/queries regarding this tool or to report bugs and issues mail to: syed.sameer@sonata-software.com&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 21:39:47 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: DBScript Utility 20070321093947P</guid></item><item><title>UPDATED WIKI: DBScript Utility</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript Utility&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Script Utility
&lt;/h2&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;This tool is focused on enhancing the data load process by removing the indexes on tables.&lt;br /&gt; &lt;br /&gt;The Script Utility wizard helps you to connect to a SQL Server instance, script the Indexes/related objects from the chosen tables in the database.&lt;br /&gt; &lt;br /&gt;It then generates create and drop scripts for those objects. These scripts could be run using tools like SQL Server Management Studio to drop the objects and re-create them once the data load is complete.&lt;br /&gt;&lt;h3&gt;
Using the tool
&lt;/h3&gt;Screen1:&lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:example.gif]&lt;br /&gt;•	On the introduction screen click on the Next button.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Screen 2:&lt;br /&gt;	 &lt;br /&gt;•	This  is the options screen where you setup the database connection settings and scripting options&lt;br /&gt;o	Click on Edit	 &lt;br /&gt;o	The connection properties window opens. Type in the Server name.	&lt;br /&gt;o	Choose the authentication mode.	&lt;br /&gt;o	Choose the database from the drop down list. 	&lt;br /&gt;o	Click on Test connection to make sure you have permissions on the database. 	&lt;br /&gt;o	Click on Ok.	&lt;br /&gt; &lt;br /&gt;•	From the list of tables, choose the tables from which you want to script indexes.&lt;br /&gt;•	Choose the objects to be scripted (All Indexes/Clustered/Non Clustered, Foreign Keys and Triggers) and click on the Script button.&lt;br /&gt; &lt;br /&gt;•	The tool scripts all the selected objects from the chosen tables.&lt;br /&gt;•	Once the scripting is complete, click on View Script.&lt;br /&gt;Screen 3&lt;br /&gt; &lt;br /&gt;•	You can copy the script from this pane or have the tool save the script in a file.&lt;br /&gt;•	Click on the Back button.&lt;br /&gt;•	On the Options screen click on the Next button.&lt;br /&gt;Screen 4&lt;br /&gt; &lt;br /&gt;•	The list of tables and the objects that were scripted are shown in this page.&lt;br /&gt;•	Click on Save Script to save the script to a file.&lt;br /&gt;•	Click on Finish to exit.&lt;br /&gt; &lt;br /&gt;Contact Information:&lt;br /&gt;For further details/queries regarding this tool or to report bugs and issues mail to: syed.sameer@sonata-software.com&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 21:34:42 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: DBScript Utility 20070321093442P</guid></item><item><title>UPDATED WIKI: DBScript Utility</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript Utility&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
Script Utility
&lt;/h2&gt; &lt;br /&gt;&lt;h3&gt;
Introduction
&lt;/h3&gt;This tool is focused on enhancing the data load process by removing the indexes on tables.&lt;br /&gt;The Script Utility wizard helps you to connect to a SQL Server instance, script the Indexes/related objects from the chosen tables in the database.&lt;br /&gt;It then generates create and drop scripts for those objects. These scripts could be run using tools like SQL Server Management Studio to drop the objects and re-create them once the data load is complete.&lt;br /&gt;&lt;h3&gt;
Using the tool
&lt;/h3&gt;Screen1:&lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:example.gif]&lt;br /&gt;•	On the introduction screen click on the Next button.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Screen 2:&lt;br /&gt;	 &lt;br /&gt;•	This  is the options screen where you setup the database connection settings and scripting options&lt;br /&gt;o	Click on Edit	 &lt;br /&gt;o	The connection properties window opens. Type in the Server name.	&lt;br /&gt;o	Choose the authentication mode.	&lt;br /&gt;o	Choose the database from the drop down list. 	&lt;br /&gt;o	Click on Test connection to make sure you have permissions on the database. 	&lt;br /&gt;o	Click on Ok.	&lt;br /&gt; &lt;br /&gt;•	From the list of tables, choose the tables from which you want to script indexes.&lt;br /&gt;•	Choose the objects to be scripted (All Indexes/Clustered/Non Clustered, Foreign Keys and Triggers) and click on the Script button.&lt;br /&gt; &lt;br /&gt;•	The tool scripts all the selected objects from the chosen tables.&lt;br /&gt;•	Once the scripting is complete, click on View Script.&lt;br /&gt;Screen 3&lt;br /&gt; &lt;br /&gt;•	You can copy the script from this pane or have the tool save the script in a file.&lt;br /&gt;•	Click on the Back button.&lt;br /&gt;•	On the Options screen click on the Next button.&lt;br /&gt;Screen 4&lt;br /&gt; &lt;br /&gt;•	The list of tables and the objects that were scripted are shown in this page.&lt;br /&gt;•	Click on Save Script to save the script to a file.&lt;br /&gt;•	Click on Finish to exit.&lt;br /&gt; &lt;br /&gt;Contact Information:&lt;br /&gt;For further details/queries regarding this tool or to report bugs and issues mail to: syed.sameer@sonata-software.com&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 21:34:01 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: DBScript Utility 20070321093401P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
This project contains SQL Server Script samples contributed by Microsoft outside of the regular release cycle, MVPs, and other members of the community.&lt;br /&gt; &lt;br /&gt;If you would like to contribute new sample scripts to this site or make contributions to samples already posted, &lt;a href="http://www.codeplex.com/UserAccount/ContactUser.aspx?ContactUser=SQLTeamAdmin&amp;amp;OriginalUrl=http%3a%2f%2fwww.codeplex.com%2fUserAccount%2fUserProfile.aspx%3fUserName%3dSQLTeamAdmin" class="externalLink"&gt;Contact the Project Admin&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Samples on this site include:
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/SQLSrvScrpt/Wiki/View.aspx?title=DBScript%20Utility&amp;amp;referringTitle=Home"&gt;DBScript Utility&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 19:39:11 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070321073911P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/SQLSrvScrpt/SourceControl/ListDownloadableCommits.aspx</link><description>Upload &amp;#39;DBScript Utility&amp;#39; sample</description><author>nuanw</author><pubDate>Wed, 21 Mar 2007 19:30:43 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070321073043P</guid></item><item><title>UPDATED RELEASE: 1.0 Beta</title><link>http://www.codeplex.com/SQLSrvScrpt/Release/ProjectReleases.aspx?ReleaseId=2522</link><description>Add 'DBScript Utility' sample</description><author></author><pubDate>Wed, 21 Mar 2007 07:00:00 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: 1.0 Beta 20070321070000A</guid></item><item><title>UPDATED RELEASE: 1.0 Beta</title><link>http://www.codeplex.com/SQLSrvScrpt/Release/ProjectReleases.aspx?ReleaseId=2522</link><description>Add 'DBScript Utility' sample</description><author></author><pubDate>Wed, 21 Mar 2007 07:00:00 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: 1.0 Beta 20070321070000A</guid></item><item><title>UPDATED RELEASE: 1.0 Beta</title><link>http://www.codeplex.com/SQLSrvScrpt/Release/ProjectReleases.aspx?ReleaseId=2522</link><description>Add 'DBScript Utility' sample</description><author></author><pubDate>Wed, 21 Mar 2007 07:00:00 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: 1.0 Beta 20070321070000A</guid></item></channel></rss>