<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sqlhost Work Item Rss Feed</title><link>http://www.codeplex.com/WorkItem/List.aspx?ProjectName=sqlhost</link><description>sqlhost Work Item Rss Description</description><item><title>Commented Issue: object script order error [11072]</title><link>http://sqlhost.codeplex.com/workitem/11072</link><description>when I publish a database, it first scripted views, then tables.&lt;br /&gt;Comments: ** Comment from web user: ajitrm ** &lt;p&gt;Hi Himanshu,&lt;/p&gt;&lt;p&gt;Thanks for your comments on resolving the scripting sequence issue.&lt;br /&gt;My problem is I have to create a utility that will use sqlpubwiz.&lt;br /&gt;My utility can be run on any SQL Server database database &amp;#40;related to my product&amp;#41;.&lt;br /&gt;As there are 100s of databases across asiapacific, I&amp;#39;m not sure about views that are created using schema binding or not.&lt;/p&gt;&lt;p&gt;In my case I will not be able to use the work around that you have given.&lt;/p&gt;&lt;p&gt;I would appreciate if the sqlpubwiz provides a patch that will script all tables first then views.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Ajit&lt;/p&gt;</description><author>ajitrm</author><pubDate>Tue, 17 Jul 2012 03:12:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: object script order error [11072] 20120717031200A</guid></item><item><title>Commented Issue: Feature - Enable/Disable Comments</title><link>http://sqlhost.codeplex.com/WorkItem/View.aspx?WorkItemId=20928</link><description>We are using a svn.&lt;br /&gt;When we re-generate the development database schema sql, svn handle file change.&lt;br /&gt;But there is no change just comments in the generated sql file...&lt;br /&gt;&lt;br /&gt;Your product is very useful and can be used as database change management mechanism without comment generation...&lt;br /&gt;&lt;br /&gt;Regards...&lt;br /&gt;Comments: ** Comment from web user: allmdm ** &lt;p&gt;I solved adding a line in the batch&lt;/p&gt;&lt;p&gt;find &amp;#47;V  &amp;#34;&amp;#47;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42; Object&amp;#58;  &amp;#34; &amp;#60; file_generated_by_sql_publishing_wizard.sql &amp;#62; file_name_to_send_to_svn.sql&lt;/p&gt;&lt;p&gt;this will create a new file without all the lines containing the comment string. &lt;br /&gt;This is not perfect &amp;#40;ANY line containing the string will be stripped out, so possibily also lines in stored procedures with that string&amp;#41; but for my case is doing the work.&lt;/p&gt;</description><author>allmdm</author><pubDate>Fri, 28 Aug 2009 13:21:15 GMT</pubDate><guid isPermaLink="false">Commented Issue: Feature - Enable/Disable Comments 20090828012115P</guid></item><item><title>Commented Issue: INSERT ordering for in table FK</title><link>http://sqlhost.codeplex.com/WorkItem/View.aspx?WorkItemId=15577</link><description>Hello,&lt;br /&gt;&lt;br /&gt;First of all, thanks for the tool&amp;#33;&amp;#33;&amp;#33;  Great help, especially for the Generate Data option&amp;#33;&lt;br /&gt;&lt;br /&gt;Wanted to tell you about something I found while working with the Generate Data functionality.  I have a table with a reference to itself &amp;#40;think Employees table with a ManagerEmployeeID column that has a FK reference to another row in the same table&amp;#41;.  When it generated the INSERT scripts for my data, I found there were several items that were out of place and resulted in FK constraint errors.&lt;br /&gt;&lt;br /&gt;I worked around it.  Just used Query Analyzer to located the problem lines, and moved them to the bottom of the INSERT section for that table.&lt;br /&gt;&lt;br /&gt;Would be nice to get this resolved if possible, but not critical.&lt;br /&gt;Comments: ** Comment from web user: ttajic ** &lt;p&gt;Same problem....and it would be REALLY NICE to get this solved...but I imagine this is not trivial....figuring out all the relationships and stuff....&lt;/p&gt;</description><author>ttajic</author><pubDate>Wed, 29 Jul 2009 11:17:31 GMT</pubDate><guid isPermaLink="false">Commented Issue: INSERT ordering for in table FK 20090729111731A</guid></item><item><title>Commented Issue: Database Publishing Wizard for SQL Server 2008?</title><link>http://sqlhost.codeplex.com/WorkItem/View.aspx?WorkItemId=15694</link><description>Hi, does anybody know if and when a version of Database Publishing Wizard will be published which supports SQL Server 2008 Databases&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: PomAH4uK ** &lt;p&gt;Could I hope in future see opportunity connecting to SQL Server 2008, thanks for this greate tool.&lt;/p&gt;</description><author>PomAH4uK</author><pubDate>Sat, 25 Jul 2009 15:40:07 GMT</pubDate><guid isPermaLink="false">Commented Issue: Database Publishing Wizard for SQL Server 2008? 20090725034007P</guid></item><item><title>Commented Issue: Database Publishing Wizard for SQL Server 2008?</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=15694</link><description>Hi, does anybody know if and when a version of Database Publishing Wizard will be published which supports SQL Server 2008 Databases&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: CombatWombat ** &lt;p&gt;Having just run into an interesting issue &amp;#40;one table was excluded from generated script&amp;#41; - even though SqlPubWiz can run Sql Server 2005 databases from Sql Server 2008, I&amp;#39;d be very careful doing this&amp;#33;&lt;/p&gt;&lt;p&gt;Running SqlPubWiz from Sql Server 2005 generated the table that was missing from Sql Server 2008.  Both db&amp;#39;s were created from the same bak file.&lt;/p&gt;</description><author>CombatWombat</author><pubDate>Tue, 17 Feb 2009 22:12:33 GMT</pubDate><guid isPermaLink="false">Commented Issue: Database Publishing Wizard for SQL Server 2008? 20090217101233P</guid></item><item><title>Created Issue: Feature - Enable/Disable Comments</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=20928</link><description>We are using a svn.&lt;br /&gt;When we re-generate the development database schema sql, svn handle file change.&lt;br /&gt;But there is no change just comments in the generated sql file...&lt;br /&gt;&lt;br /&gt;Your product is very useful and can be used as database change management mechanism without comment generation...&lt;br /&gt;&lt;br /&gt;Regards...&lt;br /&gt;</description><author>efaruk</author><pubDate>Sat, 31 Jan 2009 02:17:53 GMT</pubDate><guid isPermaLink="false">Created Issue: Feature - Enable/Disable Comments 20090131021753A</guid></item><item><title>Created Issue: Visual Studio 2005 integration installation fails (workaround)</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=20028</link><description>MSI fails to install visual studio 2005 integration. &lt;br /&gt;This seems to be a problem in the installer because the product can be installed manually.&lt;br /&gt;&lt;br /&gt;Workaround&amp;#58;&lt;br /&gt;Install without VS integration, use orca to extract registration information and register manually.&lt;br /&gt;&lt;br /&gt;Below the reconstructed registry entries&lt;br /&gt;&lt;br /&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;&amp;#91;HKEY_CURRENT_USER&amp;#92;SOFTWARE&amp;#92;Microsoft&amp;#92;VisualStudio&amp;#92;8.0&amp;#92;Packages&amp;#92;&amp;#123;a38cf415-6ad2-45f6-8132-9cc33ebe0629&amp;#125;&amp;#93;&lt;br /&gt;&amp;#64;&amp;#61;&amp;#34;Microsoft.SqlServer.Tools.PublishWizard.VSCommands.MenuCommandsPackage, MenuAndCommands, Version&amp;#61;1.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;31bf3856ad364e35&amp;#34;&lt;br /&gt;&amp;#34;InprocServer32&amp;#34;&amp;#61;&amp;#34;C&amp;#58;&amp;#92;&amp;#92;WINDOWS&amp;#92;&amp;#92;system32&amp;#92;&amp;#92;mscoree.dll&amp;#34;&lt;br /&gt;&amp;#34;Class&amp;#34;&amp;#61;&amp;#34;Microsoft.SqlServer.Tools.PublishWizard.VSCommands.MenuCommandsPackage&amp;#34;&lt;br /&gt;&amp;#34;CodeBase&amp;#34;&amp;#61;&amp;#34;C&amp;#58;&amp;#92;&amp;#92;Program Files&amp;#92;&amp;#92;Microsoft SQL Server&amp;#92;&amp;#92;90&amp;#92;&amp;#92;Tools&amp;#92;&amp;#92;Publishing&amp;#92;&amp;#92;MenuAndCommands.dll&amp;#34;&lt;br /&gt;&amp;#34;ID&amp;#34;&amp;#61;dword&amp;#58;00000066&lt;br /&gt;&amp;#34;MinEdition&amp;#34;&amp;#61;&amp;#34;Standard&amp;#34;&lt;br /&gt;&amp;#34;ProductVersion&amp;#34;&amp;#61;&amp;#34;1.0&amp;#34;&lt;br /&gt;&amp;#34;ProductName&amp;#34;&amp;#61;&amp;#34;SQL Server Database Publishing Wizard&amp;#34;&lt;br /&gt;&amp;#34;CompanyName&amp;#34;&amp;#61;&amp;#34;Microsoft&amp;#34;&lt;br /&gt;&lt;br /&gt;&amp;#91;HKEY_CURRENT_USER&amp;#92;SOFTWARE&amp;#92;Microsoft&amp;#92;VisualStudio&amp;#92;8.0&amp;#92;AutoLoadPackages&amp;#92;&amp;#123;a38cf415-6ad2-45f6-8132-9cc33ebe0629&amp;#125;&amp;#93;&lt;br /&gt;&amp;#34;&amp;#123;a38cf415-6ad2-45f6-8132-9cc33ebe0629&amp;#125;&amp;#34;&amp;#61;dword&amp;#58;00000000&lt;br /&gt;&lt;br /&gt;&amp;#91;HKEY_CURRENT_USER&amp;#92;SOFTWARE&amp;#92;Microsoft&amp;#92;VisualStudio&amp;#92;8.0&amp;#92;Menus&amp;#93;&lt;br /&gt;&amp;#34;&amp;#123;a38cf415-6ad2-45f6-8132-9cc33ebe0629&amp;#125;&amp;#34;&amp;#61;&amp;#34;,1000,1&amp;#34;&lt;br /&gt;</description><author>whizzrd</author><pubDate>Tue, 02 Dec 2008 10:05:30 GMT</pubDate><guid isPermaLink="false">Created Issue: Visual Studio 2005 integration installation fails (workaround) 20081202100530A</guid></item><item><title>Commented Issue: VS 2008</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=17647</link><description>How to Use Database Publishing Wizard with VS 2008&amp;#63;&lt;br /&gt;I installed DPW but i don&amp;#39;t see it in context menu of Server Explorer.&lt;br /&gt;Comments: ** Comment from web user: kjsteinke ** &lt;p&gt;Really thought it had sql 2008 support but it doesn&amp;#39;t get&amp;#58; &lt;/p&gt;&lt;p&gt;This SQL Server version &amp;#40;10.0&amp;#41; is not supported &lt;/p&gt;&lt;p&gt;when I try to connect to it.&lt;/p&gt;</description><author>kjsteinke</author><pubDate>Wed, 22 Oct 2008 16:05:09 GMT</pubDate><guid isPermaLink="false">Commented Issue: VS 2008 20081022040509P</guid></item><item><title>Created Issue: Allow option to use nulls for identity fields or selection to turn IDENTITY_INSERT on and off for appropriate tables</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=19092</link><description>it would be nice, when scripting a database, to allow the user to choose to insert nulls in identity fields to allow SQL Server to populate them itself.  Another option would be to be able to select to script &amp;#34;SET IDENTITY_INSERT &amp;#123;tbl_name&amp;#125; ON&amp;#34; before the inserts for a given set of tables and &amp;#34;SET IDENTITY_INSERT &amp;#123;tbl_name&amp;#125; OFF&amp;#34; after those inserts.&lt;br /&gt;&lt;br /&gt;Otherwise the script throws numerous errors when inserting into identity-keyed tables.&lt;br /&gt;</description><author>corischlegel</author><pubDate>Wed, 22 Oct 2008 04:40:35 GMT</pubDate><guid isPermaLink="false">Created Issue: Allow option to use nulls for identity fields or selection to turn IDENTITY_INSERT on and off for appropriate tables 20081022044035A</guid></item><item><title>Created Issue: Object reference not set to an instance of an object. (SqlPubWiz)</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=17666</link><description>&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;&lt;br /&gt;Object reference not set to an instance of an object. &amp;#40;SqlPubWiz&amp;#41;&lt;br /&gt;&lt;br /&gt;------------------------------&lt;br /&gt;Program Location&amp;#58;&lt;br /&gt;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.Scripting.ScriptTableCommand.GetSqlDataType&amp;#40;Column column&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.Scripting.ScriptTableCommand.CheckSupportedType&amp;#40;Column column, ScriptingOptions options&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.Scripting.ScriptTableCommand.Script&amp;#40;Urn objectToScript, ScriptingOptions scriptOptions&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.Scripting.ScriptProcessor.GenerateScript&amp;#40;&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.Scripting.ScriptingEngine.GenerateScript&amp;#40;&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.Scripting.ScriptingDriver.GenerateScript&amp;#40;&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.GenerateScriptMaker.DoScript&amp;#40;&amp;#41;&lt;br /&gt;   at Microsoft.SqlServer.Management.SqlManagerUI.GenScriptWizForm.Script&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;-------------------------------------------&lt;br /&gt;From .Net Reflector probably you do not support User Defined Types.&lt;br /&gt;Do you guys use something like FxCop or ReSharper they help to remove such stupid issues. Anyway your public methods SHOULD check input, not sure how you will find issue root cause with this exception message.&lt;br /&gt;</description><author>chaliy</author><pubDate>Mon, 04 Aug 2008 18:31:42 GMT</pubDate><guid isPermaLink="false">Created Issue: Object reference not set to an instance of an object. (SqlPubWiz) 20080804063142P</guid></item><item><title>Commented Issue: VS 2008</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=17647</link><description>How to Use Database Publishing Wizard with VS 2008&amp;#63;&lt;br /&gt;I installed DPW but i don&amp;#39;t see it in context menu of Server Explorer.&lt;br /&gt;Comments: ** Comment from web user: hfrmobile ** &lt;p&gt;I never used that context menu. Always used CommandLine to generate .sql files. But there seems problem with SQL 2008 ....&amp;#63;&lt;br /&gt;VS 2008 .... SQL 2008 - never mind - I voted for it because an project member upgraded his machine to Server 2008 using SQL 2008 and now he is not able to use DPW .... &amp;#58;-&amp;#124;&lt;/p&gt;</description><author>hfrmobile</author><pubDate>Mon, 04 Aug 2008 14:49:39 GMT</pubDate><guid isPermaLink="false">Commented Issue: VS 2008 20080804024939P</guid></item><item><title>Created Issue: VS 2008</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=17647</link><description>How to Use Database Publishing Wizard with VS 2008&amp;#63;&lt;br /&gt;I installed DPW but i don&amp;#39;t see it in context menu of Server Explorer.&lt;br /&gt;</description><author>realist</author><pubDate>Sat, 02 Aug 2008 16:01:05 GMT</pubDate><guid isPermaLink="false">Created Issue: VS 2008 20080802040105P</guid></item><item><title>Commented Issue: Generated File has some deeper issues....</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=15165</link><description>Ok i don&amp;#39;t really know how best to describe what&amp;#39;s going on here but let me try.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m generating a .sql file and then using ANT to change the USE &amp;#91;DBNAME&amp;#93; value &amp;#40;which i manually add at this point&amp;#41;. &lt;br /&gt;&lt;br /&gt;The problem is that when i try to do this target&amp;#58;&lt;br /&gt;&amp;#60;target name&amp;#61;&amp;#34;sql-edit-schema-file&amp;#34; description&amp;#61;&amp;#34;generates the file which creates tables, views etc&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;replaceregexp file&amp;#61;&amp;#34;DB&amp;#47;MS SQL &amp;#36;&amp;#123;db.server.version&amp;#125;&amp;#47;boomsocket_MSSQL_&amp;#36;&amp;#123;db.server.version&amp;#125;.sql&amp;#34;&lt;br /&gt;&amp;#9;&amp;#9;match&amp;#61;&amp;#34;&amp;#92;&amp;#91;&amp;#91;a-zA-Z0-1&amp;#93;&amp;#123;1,&amp;#125;&amp;#92;&amp;#93;&amp;#34;&lt;br /&gt;&amp;#9;&amp;#9;replace&amp;#61;&amp;#34;&amp;#91;&amp;#36;&amp;#123;db.name&amp;#125;&amp;#93;&amp;#34;&lt;br /&gt;&amp;#9;&amp;#9;flags&amp;#61;&amp;#34;i&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;target&amp;#62;&lt;br /&gt;&lt;br /&gt;it keeps telling me that it can&amp;#39;t find a match.&lt;br /&gt;&lt;br /&gt;Now if i take the content of the generated file and put it into a new .sql file that i manually create and run the same ANT script it finds a match and process&amp;#39;s as expected.&lt;br /&gt;&lt;br /&gt;If I use TextPad to view the file and right click to view the &amp;#34;properties&amp;#34; the only difference i can see is that &amp;#34;file type&amp;#34; for the generated script is &amp;#34;unknown&amp;#34; and the &amp;#34;file type&amp;#34; for my manually created file says &amp;#34;PC&amp;#34;. The other big difference is the SIZE of the file, the generated file is 1,951 KB and my file is 998 KB, this seems REALLY odd to me...&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve attached my manually created file so you can see the difference. I&amp;#39;ve noticed that EVERY generated file has the qualities mentioned above, regardless of the steps i take to create it.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m running this on a Windows XP Pro machine fully patched.&lt;br /&gt;&lt;br /&gt;Eric&lt;br /&gt;Comments: ** Comment from web user: MToddSmith ** &lt;p&gt;I threw together the following app to solve this problem. The problem you&amp;#39;re running into is that the file is unicode.&lt;/p&gt;&lt;p&gt;Usage&amp;#58; WriteHeader.exe &amp;#91;database name&amp;#93; &amp;#91;input file&amp;#93; &amp;#91;output file&amp;#93;&lt;/p&gt;&lt;p&gt;using System&amp;#59;&lt;br /&gt;using System.Collections.Generic&amp;#59;&lt;br /&gt;using System.Text&amp;#59;&lt;br /&gt;using System.IO&amp;#59;&lt;/p&gt;&lt;p&gt;namespace WriteHeader&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;class Program&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;static void Main &amp;#40;string&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;StreamReader input &amp;#61; new StreamReader &amp;#40;args&amp;#91;1&amp;#93;, Encoding.Unicode&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;StreamWriter output &amp;#61; new StreamWriter &amp;#40;args&amp;#91;2&amp;#93;, false, Encoding.Unicode&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;&amp;#9;&amp;#9;&amp;#9;output.WriteLine &amp;#40;&amp;#34;use &amp;#34; &amp;#43; args&amp;#91;0&amp;#93;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;output.WriteLine &amp;#40;&amp;#34;GO&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;output.WriteLine &amp;#40;&amp;#34;&amp;#34;&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;&amp;#9;&amp;#9;&amp;#9;string line &amp;#61; input.ReadLine &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;while &amp;#40;line &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;output.WriteLine &amp;#40;line&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;line &amp;#61; input.ReadLine &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;/p&gt;&lt;p&gt;&amp;#9;&amp;#9;&amp;#9;output.Flush &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;input.Close &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;output.Close &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;/p&gt;</description><author>MToddSmith</author><pubDate>Tue, 15 Jul 2008 19:21:36 GMT</pubDate><guid isPermaLink="false">Commented Issue: Generated File has some deeper issues.... 20080715072136P</guid></item><item><title>Commented Issue: Consistent scripting for subsequent script generations</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=9340</link><description>I am trying to use the scripts generated by your extremely useful tool to version control my DB schema.&lt;br /&gt;&lt;br /&gt;However, there seems to be no consistency between subsequent script generations.  For example, the ordering of the CREATE TABLE statements changes.  This certainly hinders version comparison.  I would greatly appreciate it if this issue could be addressed.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;Comments: ** Comment from web user: hfrmobile ** &lt;p&gt;Same &amp;#34;problem&amp;#34; still exists in version 1.1&amp;#33;&lt;/p&gt;&lt;p&gt;Another aspect&amp;#58; &amp;#34;INSERT ordering for in table FK&amp;#34; &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;sqlhost&amp;#47;WorkItem&amp;#47;View.aspx&amp;#63;WorkItemId&amp;#61;15577&amp;#41;&lt;/p&gt;&lt;p&gt;Even it is not a very big problem I hope it will be fixed.&lt;/p&gt;</description><author>hfrmobile</author><pubDate>Tue, 15 Jul 2008 09:56:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: Consistent scripting for subsequent script generations 20080715095625A</guid></item><item><title>Commented Issue: INSERT ordering for in table FK</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=15577</link><description>Hello,&lt;br /&gt;&lt;br /&gt;First of all, thanks for the tool&amp;#33;&amp;#33;&amp;#33;  Great help, especially for the Generate Data option&amp;#33;&lt;br /&gt;&lt;br /&gt;Wanted to tell you about something I found while working with the Generate Data functionality.  I have a table with a reference to itself &amp;#40;think Employees table with a ManagerEmployeeID column that has a FK reference to another row in the same table&amp;#41;.  When it generated the INSERT scripts for my data, I found there were several items that were out of place and resulted in FK constraint errors.&lt;br /&gt;&lt;br /&gt;I worked around it.  Just used Query Analyzer to located the problem lines, and moved them to the bottom of the INSERT section for that table.&lt;br /&gt;&lt;br /&gt;Would be nice to get this resolved if possible, but not critical.&lt;br /&gt;Comments: ** Comment from web user: hfrmobile ** &lt;p&gt;Same problem and same workaround too &amp;#59;-&amp;#41;&lt;br /&gt;Would be really nice to get this solved.&lt;/p&gt;</description><author>hfrmobile</author><pubDate>Tue, 15 Jul 2008 09:51:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: INSERT ordering for in table FK 20080715095126A</guid></item><item><title>CREATED ISSUE: Creating database users</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=16832</link><description>There is a known issue that&amp;#39;s listed as, &amp;#34;When scripting a source database, Database Publishing Wizard converts any users the database contains into roles, and where appropriate, schemas. This behavior occurs because Database Publishing Wizard does not script logins.&amp;#34;.&lt;br /&gt;&lt;br /&gt;I am wondering if this behavior is going to be changed&amp;#63;  I&amp;#39;m in the process of automating the periodic rebuild of our development environment to match production, but I need database logins to be created.&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&lt;br /&gt;Chris&lt;br /&gt;</description><author>cfguidry</author><pubDate>Wed, 28 May 2008 20:58:42 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Creating database users 20080528085842P</guid></item><item><title>CREATED ISSUE: Database Publishing Wizard for SQL Server 2008?</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=15694</link><description>Hi, does anybody know if and when a version of Database Publishing Wizard will be published which supports SQL Server 2008 Databases&amp;#63;&lt;br /&gt;</description><author>whaleshark</author><pubDate>Tue, 18 Mar 2008 14:29:10 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Database Publishing Wizard for SQL Server 2008? 20080318022910P</guid></item><item><title>CREATED ISSUE: INSERT ordering for in table FK</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=15577</link><description>Hello,&lt;br /&gt;&lt;br /&gt;First of all, thanks for the tool&amp;#33;&amp;#33;&amp;#33;  Great help, especially for the Generate Data option&amp;#33;&lt;br /&gt;&lt;br /&gt;Wanted to tell you about something I found while working with the Generate Data functionality.  I have a table with a reference to itself &amp;#40;think Employees table with a ManagerEmployeeID column that has a FK reference to another row in the same table&amp;#41;.  When it generated the INSERT scripts for my data, I found there were several items that were out of place and resulted in FK constraint errors.&lt;br /&gt;&lt;br /&gt;I worked around it.  Just used Query Analyzer to located the problem lines, and moved them to the bottom of the INSERT section for that table.&lt;br /&gt;&lt;br /&gt;Would be nice to get this resolved if possible, but not critical.&lt;br /&gt;</description><author>brianpmccullough</author><pubDate>Tue, 11 Mar 2008 23:12:45 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: INSERT ordering for in table FK 20080311111245P</guid></item><item><title>CREATED ISSUE: Error occurs on trigger when scripting only data</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=15502</link><description>When trying to create the script for data only, I received the following error &amp;#34;Scripting encrypted triggers is not supported.&amp;#34;&lt;br /&gt;</description><author>saamorim</author><pubDate>Fri, 07 Mar 2008 15:23:53 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Error occurs on trigger when scripting only data 20080307032353P</guid></item><item><title>COMMENTED ISSUE: Generated File has some deeper issues....</title><link>http://www.codeplex.com/sqlhost/WorkItem/View.aspx?WorkItemId=15165</link><description>Ok i don&amp;#39;t really know how best to describe what&amp;#39;s going on here but let me try.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m generating a .sql file and then using ANT to change the USE &amp;#91;DBNAME&amp;#93; value &amp;#40;which i manually add at this point&amp;#41;. &lt;br /&gt;&lt;br /&gt;The problem is that when i try to do this target&amp;#58;&lt;br /&gt;&amp;#60;target name&amp;#61;&amp;#34;sql-edit-schema-file&amp;#34; description&amp;#61;&amp;#34;generates the file which creates tables, views etc&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;replaceregexp file&amp;#61;&amp;#34;DB&amp;#47;MS SQL &amp;#36;&amp;#123;db.server.version&amp;#125;&amp;#47;boomsocket_MSSQL_&amp;#36;&amp;#123;db.server.version&amp;#125;.sql&amp;#34;&lt;br /&gt;&amp;#9;&amp;#9;match&amp;#61;&amp;#34;&amp;#92;&amp;#91;&amp;#91;a-zA-Z0-1&amp;#93;&amp;#123;1,&amp;#125;&amp;#92;&amp;#93;&amp;#34;&lt;br /&gt;&amp;#9;&amp;#9;replace&amp;#61;&amp;#34;&amp;#91;&amp;#36;&amp;#123;db.name&amp;#125;&amp;#93;&amp;#34;&lt;br /&gt;&amp;#9;&amp;#9;flags&amp;#61;&amp;#34;i&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;target&amp;#62;&lt;br /&gt;&lt;br /&gt;it keeps telling me that it can&amp;#39;t find a match.&lt;br /&gt;&lt;br /&gt;Now if i take the content of the generated file and put it into a new .sql file that i manually create and run the same ANT script it finds a match and process&amp;#39;s as expected.&lt;br /&gt;&lt;br /&gt;If I use TextPad to view the file and right click to view the &amp;#34;properties&amp;#34; the only difference i can see is that &amp;#34;file type&amp;#34; for the generated script is &amp;#34;unknown&amp;#34; and the &amp;#34;file type&amp;#34; for my manually created file says &amp;#34;PC&amp;#34;. The other big difference is the SIZE of the file, the generated file is 1,951 KB and my file is 998 KB, this seems REALLY odd to me...&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve attached my manually created file so you can see the difference. I&amp;#39;ve noticed that EVERY generated file has the qualities mentioned above, regardless of the steps i take to create it.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m running this on a Windows XP Pro machine fully patched.&lt;br /&gt;&lt;br /&gt;Eric&lt;br /&gt;Comments: ** Comment from web user: jonese ** &lt;p&gt;I&amp;#39;m attaching a screen shot of the generated file which shows all the control characters that are generated &amp;#40;all the little boxes for those who view this and don&amp;#39;t know what I&amp;#39;m talking about&amp;#41;. I use Eclipse to open this file and see the control characters, as you can see it appears that EVERY character is wrapped in some control character, which explains the issues I&amp;#39;ve had as well as the size of the files.&lt;/p&gt;</description><author>jonese</author><pubDate>Thu, 14 Feb 2008 15:01:49 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Generated File has some deeper issues.... 20080214030149P</guid></item></channel></rss>