<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ScriptDB</title><link>http://scriptdb.codeplex.com/project/feeds/rss</link><description>ScriptDb is a simple console app written in C&amp;#35; that uses SQL Management Objects &amp;#40;SMO&amp;#41; to script all the objects in a database. It will work against any SQL Server 2000 or 2005 database. It creates a directory tree structure with a similar hierarchy to that in Object Explorer in SSMS, with a separate file for each object.       It will also &amp;#40;optionally&amp;#41; script the data using bcp.exe.      You can also &amp;#40;optionally&amp;#41; specify to script the extended properties for each object along with the DDL.</description><item><title>Patch Uploaded: #14428</title><link>https://scriptdb.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='https://www.codeplex.com/site/users/view/mgahappy'&gt;mgahappy&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;A lot of improvements, added extra parameters, reorganize code, added new features, merged all available fixes, included dependencies, added option to sort columns when scripting tables and indexes to facilitate compare of db versions ignoring column order.&lt;br /&gt;&lt;/p&gt;</description><author>mgahappy</author><pubDate>Sun, 05 May 2013 19:22:53 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #14428 20130505072253P</guid></item><item><title>Reviewed: ScriptDB 1.2 (Feb 27, 2013)</title><link>http://scriptdb.codeplex.com/releases/view/11571#ReviewBy-mrsachmo</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - This is a very lightweight, easy to use tool. Great stuff&amp;#33;</description><author>mrsachmo</author><pubDate>Wed, 27 Feb 2013 19:22:39 GMT</pubDate><guid isPermaLink="false">Reviewed: ScriptDB 1.2 (Feb 27, 2013) 20130227072239P</guid></item><item><title>New Post: Compiled for SQL Server 2008 &amp; 2012</title><link>http://scriptdb.codeplex.com/discussions/401326</link><description>&lt;div style="line-height: normal;"&gt;Just uploaded the patch. Would be great to see the tool live again!&lt;br /&gt;
&lt;/div&gt;</description><author>trailmax</author><pubDate>Wed, 13 Feb 2013 01:54:49 GMT</pubDate><guid isPermaLink="false">New Post: Compiled for SQL Server 2008 &amp; 2012 20130213015449A</guid></item><item><title>Patch Uploaded: #13837</title><link>http://scriptdb.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/trailmax'&gt;trailmax&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;Upgrade to .Net 4.0 and Visual Studio 2012. This allows ScriptDB to work with SQL Server 2008 and SQL Server 2012&lt;/p&gt;</description><author>trailmax</author><pubDate>Wed, 13 Feb 2013 01:53:46 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #13837 20130213015346A</guid></item><item><title>New Post: Compiled for SQL Server 2008 &amp; 2012</title><link>http://scriptdb.codeplex.com/discussions/401326</link><description>&lt;div style="line-height: normal;"&gt;Sure, will do once I get some free time. And yes, I've upgraded the .Net version to 4.0 since that was required for SQL2008.&lt;br /&gt;
&lt;/div&gt;</description><author>trailmax</author><pubDate>Wed, 06 Feb 2013 21:06:04 GMT</pubDate><guid isPermaLink="false">New Post: Compiled for SQL Server 2008 &amp; 2012 20130206090604P</guid></item><item><title>New Post: Compiled for SQL Server 2008 &amp; 2012</title><link>http://scriptdb.codeplex.com/discussions/401326</link><description>&lt;div style="line-height: normal;"&gt;Works great!  This is a great little tool for scripting as described and I'm glad to bring it with me to a SQL 2008R2 projects I'm on.  Would you by any chance, please upload your bits for working with 2008/2012 to: &lt;a href="http://scriptdb.codeplex.com/SourceControl/list/patches?" rel="nofollow"&gt;http://scriptdb.codeplex.com/SourceControl/list/patches?&lt;/a&gt;  I appreciate the time you took to make this update available.&lt;br /&gt;
&lt;br /&gt;
(Also, note that the version above requires .Net 4.0, i think the original was .net 2.0 or 3.)&lt;br /&gt;
&lt;/div&gt;</description><author>cander0000</author><pubDate>Wed, 06 Feb 2013 20:13:58 GMT</pubDate><guid isPermaLink="false">New Post: Compiled for SQL Server 2008 &amp; 2012 20130206081358P</guid></item><item><title>New Post: Compiled for SQL Server 2008 &amp; 2012</title><link>http://scriptdb.codeplex.com/discussions/401326</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have used this software before with SQL Server 2005 and that was great! Now I tried running it for SQL Server 2008 and got only exceptions for missing files and wrong versions of libraries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And since the project does not seem to be maintained any more, I have compiled the source code against newer libraries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can download new executables from here:&amp;nbsp;&lt;a href="http://tech.trailmax.info/2012/10/scriptdb/"&gt;http://tech.trailmax.info/2012/10/scriptdb/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>trailmax</author><pubDate>Wed, 31 Oct 2012 01:42:45 GMT</pubDate><guid isPermaLink="false">New Post: Compiled for SQL Server 2008 &amp; 2012 20121031014245A</guid></item><item><title>Source code checked in, #69709</title><link>http://scriptdb.codeplex.com/SourceControl/changeset/changes/69709</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 22:10:56 GMT</pubDate><guid isPermaLink="false">Source code checked in, #69709 20121001101056P</guid></item><item><title>Source code checked in, #69708</title><link>http://scriptdb.codeplex.com/SourceControl/changeset/changes/69708</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 22:06:45 GMT</pubDate><guid isPermaLink="false">Source code checked in, #69708 20121001100645P</guid></item><item><title>Reviewed: ScriptDB 1.3 (Jul 03, 2012)</title><link>http://scriptdb.codeplex.com/releases/view/37991#ReviewBy-ktrock</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - -ScriptAllDatabases is key, really nice to have to create a structural backup of an entire server in a single pass. &amp;#10;&amp;#10;ScriptDB still makes us define a full path and file for -filename even though we specify the path in -OutDir. But that&amp;#39;s minor.</description><author>ktrock</author><pubDate>Tue, 03 Jul 2012 20:51:45 GMT</pubDate><guid isPermaLink="false">Reviewed: ScriptDB 1.3 (Jul 03, 2012) 20120703085145P</guid></item><item><title>Reviewed: ScriptDB 1.2 (Dec 30, 2011)</title><link>http://scriptdb.codeplex.com/releases/view/11571#ReviewBy-revm</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - This is a great utility for version control. They seem to have done the hard work for supporting Functions and Types but not fully implemented it. I added the argument handler for Functions and it scripted them perfectly.</description><author>revm</author><pubDate>Fri, 30 Dec 2011 08:31:57 GMT</pubDate><guid isPermaLink="false">Reviewed: ScriptDB 1.2 (Dec 30, 2011) 20111230083157A</guid></item><item><title>Reviewed: ScriptDB 1.2 (Nov 10, 2011)</title><link>http://scriptdb.codeplex.com/releases/view/11571#ReviewBy-ktrock</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - The parameters are fairly self evident but hope no one minds me putting them out there since you otherwise won&amp;#39;t know for sure until you actually run it.&amp;#10;&amp;#10;ScriptDb.exe -con&amp;#58;server&amp;#61;&amp;#40;local&amp;#41;&amp;#59;database&amp;#61;pubs&amp;#59;trusted_connection&amp;#61;yes -outDir&amp;#58;scripts &amp;#91;-d&amp;#93; &amp;#91;-v&amp;#93; &amp;#91;-p&amp;#93; &amp;#91;-table&amp;#58;table1,table2&amp;#93; &amp;#91;-TableOneFile&amp;#93; &amp;#91;-view&amp;#58;view1,view2&amp;#93;&amp;#10;&amp;#91;-sp&amp;#58;sp1,sp2&amp;#93; &amp;#91;-ScriptAsCreate&amp;#93; &amp;#91;-Permissions&amp;#93; &amp;#91;-NoCollation&amp;#93; &amp;#91;-IncludeDatabase&amp;#93;</description><author>ktrock</author><pubDate>Thu, 10 Nov 2011 17:54:36 GMT</pubDate><guid isPermaLink="false">Reviewed: ScriptDB 1.2 (Nov 10, 2011) 20111110055436P</guid></item><item><title>New Post: Script whole database in one script / filter databases</title><link>http://scriptdb.codeplex.com/discussions/271708</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have been playing around a bit with this nice little program (SQL 2008R2/Windows 7 x64) and I am very glad with it.&lt;/p&gt;
&lt;p&gt;I wonder about two things:&lt;/p&gt;
&lt;p&gt;- is it possible to script a whole database in one script? Just like you would do when generating a script in Management Studio? I know there are other ways to combine all the table scripts etc. to one large script but it would be a nice option&lt;/p&gt;
&lt;p&gt;- I would like to be able to use the -ScriptAllDatabase option but it would be nice if you could filter on let's say the first few characters of the database name? Is this possible?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br&gt;
Erik&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>ErikvanD</author><pubDate>Wed, 07 Sep 2011 06:38:19 GMT</pubDate><guid isPermaLink="false">New Post: Script whole database in one script / filter databases 20110907063819A</guid></item><item><title>Patch Uploaded: #8512</title><link>http://scriptdb.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/toidin'&gt;toidin&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;KANTOR SYNERGY&lt;/p&gt;</description><author>toidin</author><pubDate>Mon, 28 Feb 2011 11:33:50 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #8512 20110228113350A</guid></item><item><title>Created Issue: Error script a SQL 2008 database that contains User Defined Table Types [19634]</title><link>http://scriptdb.codeplex.com/workitem/19634</link><description>I have a SQL 2008 database that contains User Defined Table Types. ScriptDB is aborting with the following output &amp;#40;no problem with SQL 2008 databases that don&amp;#39;t contain UDTTs&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C&amp;#58;&amp;#92;APP_RDM_ScriptDb&amp;#62;ScriptDb.exe -con&amp;#58;server&amp;#61;SQL6422DC&amp;#92;CDEF&amp;#59;database&amp;#61;App_RDM_Ctr&lt;br /&gt;l&amp;#59;trusted_connection&amp;#61;yes -outdir&amp;#58;&amp;#92;&amp;#92;usbosdata01&amp;#92;vbshare&amp;#92;App_RDM&amp;#92;scriptdumps&amp;#92;APP_R&lt;br /&gt;DM_09 -ScriptAsCreate -NoCollation -IncludeDatabase -Purge&lt;br /&gt;Exception caught in Main&amp;#40;&amp;#41;&lt;br /&gt;---------------------------------------&lt;br /&gt;Script failed for UserDefinedDataType &amp;#39;dbo.UDT_KeyAccount&amp;#39;.&lt;br /&gt;&lt;br /&gt;Microsoft.SqlServer.Management.Smo.FailedOperationException&lt;br /&gt;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ScriptImpl&amp;#40;ScriptingOption&lt;br /&gt;s so&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.UserDefinedDataType.Script&amp;#40;ScriptingOpt&lt;br /&gt;ions scriptingOptions&amp;#41;&lt;br /&gt;   at Elsasoft.ScriptDb.DatabaseScripter.ScriptUddts&amp;#40;Boolean verbose, Database d&lt;br /&gt;b, ScriptingOptions so, String outputDirectory&amp;#41;&lt;br /&gt;   at Elsasoft.ScriptDb.DatabaseScripter.GenerateDatabaseScript&amp;#40;Database db, Str&lt;br /&gt;ing outputDirectory, Boolean purgeDirectory, Boolean scriptData, Boolean verbose&lt;br /&gt;, Boolean scriptProperties&amp;#41;&lt;br /&gt;   at Elsasoft.ScriptDb.DatabaseScripter.GenerateScripts&amp;#40;String connStr, String&lt;br /&gt;outputDirectory, Boolean scriptAllDatabases, Boolean purgeDirectory, Boolean scr&lt;br /&gt;iptData, Boolean verbose, Boolean scriptProperties&amp;#41;&lt;br /&gt;   at Elsasoft.ScriptDb.Program.Main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;---------------------------------------&lt;br /&gt;The UserDefinedDataType &amp;#39;&amp;#91;dbo&amp;#93;.&amp;#91;UDT_KeyAccount&amp;#93;&amp;#39; cannot be scripted as its data&lt;br /&gt;is not accessible.&lt;br /&gt;&lt;br /&gt;Microsoft.SqlServer.Management.Smo.FailedOperationException&lt;br /&gt;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.Scripter.ScriptWithList&amp;#40;DependencyColle&lt;br /&gt;ction depList, SqlSmoObject&amp;#91;&amp;#93; objects&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.Scripter.ScriptWithList&amp;#40;Urn&amp;#91;&amp;#93; urns, Sql&lt;br /&gt;SmoObject&amp;#91;&amp;#93; objects&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.Scripter.Script&amp;#40;Urn&amp;#91;&amp;#93; urns, SqlSmoObjec&lt;br /&gt;t&amp;#91;&amp;#93; objects&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.Scripter.Script&amp;#40;SqlSmoObject&amp;#91;&amp;#93; objects&amp;#41;&lt;br /&gt;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ScriptImplWorker&amp;#40;Scripting&lt;br /&gt;Options so&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ScriptImpl&amp;#40;ScriptingOption&lt;br /&gt;s so&amp;#41;&lt;br /&gt;---------------------------------------&lt;br /&gt;Property SystemType is not available for UserDefinedDataType &amp;#39;&amp;#91;dbo&amp;#93;.&amp;#91;UDT_KeyAcco&lt;br /&gt;unt&amp;#93;&amp;#39;. This property may not exist for this object, or may not be retrievable du&lt;br /&gt;e to insufficient access rights.&lt;br /&gt;&lt;br /&gt;Microsoft.SqlServer.Management.Smo.PropertyCannotBeRetrievedException&lt;br /&gt;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue&amp;#40;Int3&lt;br /&gt;2 index&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.PropertyCollection.GetPropertyObject&amp;#40;In&lt;br /&gt;t32 index&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.UserDefinedDataType.GetTypeDefinitionSc&lt;br /&gt;ript&amp;#40;ScriptingOptions so, SqlSmoObject oObj, String sTypeNameProperty, Boolean b&lt;br /&gt;SquareBraketsForNative&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.UserDefinedDataType.ScriptDdlGreaterEqu&lt;br /&gt;al9&amp;#40;StringBuilder sb, ScriptingOptions so&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.UserDefinedDataType.ScriptCreate&amp;#40;String&lt;br /&gt;Collection queries, ScriptingOptions so&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.Scripter.ScriptWithListWorker&amp;#40;Dependenc&lt;br /&gt;yCollection depList, SqlSmoObject&amp;#91;&amp;#93; objects&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.Smo.Scripter.ScriptWithList&amp;#40;DependencyColle&lt;br /&gt;ction depList, SqlSmoObject&amp;#91;&amp;#93; objects&amp;#41;&lt;br /&gt;---------------------------------------&lt;br /&gt;</description><author>JonLevin</author><pubDate>Sun, 09 Jan 2011 17:39:18 GMT</pubDate><guid isPermaLink="false">Created Issue: Error script a SQL 2008 database that contains User Defined Table Types [19634] 20110109053918P</guid></item><item><title>New Post: Grant Permissions on Create Sprocs/UDFs</title><link>http://scriptdb.codeplex.com/Thread/View.aspx?ThreadId=235049</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;-Permissions true&lt;/p&gt;
&lt;p&gt;Already exists, just leaving the discussion in case someone else asks about it.&lt;/p&gt;
&lt;/div&gt;</description><author>jmann</author><pubDate>Wed, 17 Nov 2010 17:10:31 GMT</pubDate><guid isPermaLink="false">New Post: Grant Permissions on Create Sprocs/UDFs 20101117051031P</guid></item><item><title>New Post: Grant Permissions on Create Sprocs/UDFs</title><link>http://scriptdb.codeplex.com/Thread/View.aspx?ThreadId=235049</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I guess this is more of a feature request.&lt;/p&gt;
&lt;p&gt;To add, sp_helprotect for each sproc and determine what permissions are added, and then add that to the end of sproc create.&lt;/p&gt;
&lt;p&gt;This should only be done if ScriptAsCreate is true, since alter will already have the permissions set.&lt;/p&gt;
&lt;p&gt;I'm looking into figuring it out myself, but thought I'd mention it here.&lt;/p&gt;
&lt;/div&gt;</description><author>jmann</author><pubDate>Wed, 17 Nov 2010 16:44:39 GMT</pubDate><guid isPermaLink="false">New Post: Grant Permissions on Create Sprocs/UDFs 20101117044439P</guid></item><item><title>Reviewed: ScriptDB 1.2 (Nov 17, 2010)</title><link>http://scriptdb.codeplex.com/releases/view/11571#ReviewBy-jmann</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Nice hiearchy... Good structure, and really fast.&amp;#10;Love the ScriptAsCreate too&amp;#33;  Only suggestion is to add Grant Execute on Sprocs&amp;#47;UDFs for existing permissions &amp;#40;not sure if this is even possible&amp;#41;.</description><author>jmann</author><pubDate>Wed, 17 Nov 2010 16:36:52 GMT</pubDate><guid isPermaLink="false">Reviewed: ScriptDB 1.2 (Nov 17, 2010) 20101117043652P</guid></item><item><title>Reviewed: ScriptDB 1.2 (Nov 16, 2010)</title><link>http://scriptdb.codeplex.com/releases/view/11571#ReviewBy-jmann</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Nice hiearchy... Good structure, and really fast.&amp;#10;Only update would be having an IF Exist for the sprocs and functions and also, add Grant Execute on Sprocs for existing permissions &amp;#40;not sure if this is even possible&amp;#41;.</description><author>jmann</author><pubDate>Tue, 16 Nov 2010 17:57:10 GMT</pubDate><guid isPermaLink="false">Reviewed: ScriptDB 1.2 (Nov 16, 2010) 20101116055710P</guid></item><item><title>Commented Issue: ForeignKeys are always scripted as Drops [18848]</title><link>http://scriptdb.codeplex.com/workitem/18848</link><description>When scripting foreign keys, the code is&lt;br /&gt;&lt;br /&gt;                                if &amp;#40;&amp;#33;_CreateOnly&amp;#41;&lt;br /&gt;                                &amp;#123;&lt;br /&gt;                                    so.ScriptDrops &amp;#61; so.IncludeIfNotExists &amp;#61; true&amp;#59;&lt;br /&gt;                                &amp;#125;&lt;br /&gt;                                WriteScript&amp;#40;smo.Script&amp;#40;&amp;#41;, sw&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;but I think that it should be&lt;br /&gt;&lt;br /&gt;                                if &amp;#40;&amp;#33;_CreateOnly&amp;#41;&lt;br /&gt;                                &amp;#123;&lt;br /&gt;                                    so.ScriptDrops &amp;#61; so.IncludeIfNotExists &amp;#61; true&amp;#59;&lt;br /&gt;                                    WriteScript&amp;#40;smo.Script&amp;#40;so&amp;#41;, sw&amp;#41;&amp;#59;&lt;br /&gt;                                &amp;#125;&lt;br /&gt;                                so.ScriptDrops &amp;#61; so.IncludeIfNotExists &amp;#61; false&amp;#59;&lt;br /&gt;                                WriteScript&amp;#40;smo.Script&amp;#40;so&amp;#41;, sw&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;Currently, drop scripts are always generated which is not very useful.&lt;br /&gt;Comments: ** Comment from web user: AndreasPaulsson ** &lt;p&gt;By bad, so.DriForeignKeys &amp;#61; true also needs to be set.&lt;/p&gt;&lt;p&gt;                        so.DriForeignKeys &amp;#61; true&amp;#59;&lt;/p&gt;&lt;p&gt;before foreign key script generation and&lt;/p&gt;&lt;p&gt;                        so.DriForeignKeys &amp;#61; false&amp;#59;&lt;/p&gt;&lt;p&gt;is much better.&lt;br /&gt;&lt;/p&gt;</description><author>AndreasPaulsson</author><pubDate>Tue, 28 Sep 2010 21:33:30 GMT</pubDate><guid isPermaLink="false">Commented Issue: ForeignKeys are always scripted as Drops [18848] 20100928093330P</guid></item></channel></rss>