﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Database Deployment Toolkit / Issues  / Auto Generation of Stored Procs / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Fri, 29 Aug 2008 19:39:05 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Auto Generation of Stored Procs</title><link>http://forum.strataframe.net/Topic15776-13-1.aspx</link><description>Necessity is the mother of invention :D Thanks!</description><pubDate>Tue, 22 Apr 2008 09:48:22 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Auto Generation of Stored Procs</title><link>http://forum.strataframe.net/Topic15776-13-1.aspx</link><description>1.6.6. ROCKS!!!!&lt;/P&gt;&lt;P&gt;Thanks guys.&lt;/P&gt;&lt;P&gt;Pre-deployment scripts - GENIUS!</description><pubDate>Tue, 22 Apr 2008 09:07:38 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: Auto Generation of Stored Procs</title><link>http://forum.strataframe.net/Topic15776-13-1.aspx</link><description>Send me your package file.  There is something wrong within the package file.  I don't think that this is a DDT bug but rather something within your package file causing the issue.  We have some profiles that create hundreds of automated sprocs so I know that this part works, but there could be something within your meta-data that it doesn't like.</description><pubDate>Mon, 21 Apr 2008 09:58:28 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Auto Generation of Stored Procs</title><link>http://forum.strataframe.net/Topic15776-13-1.aspx</link><description>Trent,&lt;/P&gt;&lt;P&gt;Attached is a screenshot of my version screen.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Geoff.</description><pubDate>Mon, 21 Apr 2008 05:01:47 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: Auto Generation of Stored Procs</title><link>http://forum.strataframe.net/Topic15776-13-1.aspx</link><description>Hi Trent,&lt;/P&gt;&lt;P&gt;Thanks for response. &lt;/P&gt;&lt;P&gt;Have now updated to 1.6.6.Beta. Issue still exists.&lt;/P&gt;&lt;P&gt;Please advise what I need to do next.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Geoff Hirst</description><pubDate>Mon, 21 Apr 2008 04:43:49 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: Auto Generation of Stored Procs</title><link>http://forum.strataframe.net/Topic15776-13-1.aspx</link><description>This is a very common practice and I know that it will work.  So instead of trying to figure out your version, what assembly you are running, etc.  Load the 1.6.6 beta which will ensure that we are on the same playing field when talking about all of this.  This is a very stable build and is what we have been using in the field for some time, so you shouldn't have any issues.  You can get it here: &lt;A href="http://forum.strataframe.net/FindPost15687.aspx"&gt;http://forum.strataframe.net/FindPost15687.aspx&lt;/A&gt; </description><pubDate>Sun, 20 Apr 2008 13:26:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Auto Generation of Stored Procs</title><link>http://forum.strataframe.net/Topic15776-13-1.aspx</link><description>Guys,&lt;P&gt;Got an issue with the DDT that came about because I wanted to change clustering on some tables to some new indexed columns. Got myself into a right state with it. However, I have discovered this and I don't know if this is by design.&lt;/P&gt;&lt;P&gt;In the DDT create a new table and check boxes for auto proc generation.&lt;/P&gt;&lt;P&gt;Add an ID, integer, not PK, but enable Identity with standard 1,1 incrementation.&lt;/P&gt;&lt;P&gt;Add a couple of varchar 10 columns.&lt;/P&gt;&lt;P&gt;Save structure, then try to deploy.&lt;/P&gt;&lt;P&gt;For me, it all goes south when it tries to create the sprocs for some reason it thinks the Identity column is being updated.&lt;/P&gt;&lt;P&gt;Now, I found a patch version of DDT on another post that looked like it might solve my issues, but I got errors when I launched it. &lt;/P&gt;&lt;P&gt;Any advice would be appreciated.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Geoff Hirst&lt;/P&gt;&lt;P&gt;Log File Extract&lt;/P&gt;&lt;P&gt; 20/04/2008 17:00:46 -&amp;gt; An error occurred while creating the stored procedure [dbo].[zzz_TestTable_Delete].&lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt; SqlException        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;   Incorrect syntax near ';'.        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;         &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt; Source     : .Net SqlClient Data Provider        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;         &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt; Stack Trace:         &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.DeploySprocsOfPriority(Database parent, DatabaseInfo dbInfo, Int32 priority)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;         &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt; An error occurred while creating the stored procedure [dbo].[zzz_TestTable_Update].&lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt; SqlException        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;   Cannot update identity column 'ID'.        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;         &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt; Source     : .Net SqlClient Data Provider        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;         &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt; Stack Trace:         &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;    at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.DeploySprocsOfPriority(Database parent, DatabaseInfo dbInfo, Int32 priority)        &lt;BR&gt;X 20/04/2008 17:00:46 -&amp;gt;        </description><pubDate>Sun, 20 Apr 2008 11:29:52 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item></channel></rss>