﻿<?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 » Database Deployment Toolkit (How do I?)  » Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 18 May 2026 04:43:07 GMT</lastBuildDate><ttl>20</ttl><item><title>Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10521.aspx</link><description>Hi Folks&lt;/P&gt;&lt;P&gt;I am using the DDT to create my DML sprocs.&lt;/P&gt;&lt;P&gt;All of my tables have an integer identity field as the PK and a TimeStamp column named RowVersion for use with concurrency.&amp;nbsp; When I generate the sprocs using the DDT, I get this error on all of the Update and Insert statements (the deletes work fine)&lt;/P&gt;&lt;P&gt;Cannot insert an explicit value into a timestamp column. use INSERT with a column list to exclude the timestampe column, or insert a DEFAULT. &lt;/P&gt;&lt;P&gt;I tried setting the default to 0 in the DDT table structure interface but get a broken rule. &lt;/P&gt;&lt;P&gt;I understand why I'm getting this error but not sure what to do about it. When using&amp;nbsp; TimeStamps, do I need to do this piece manually?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Clay</description><pubDate>Tue, 24 Jul 2007 11:40:43 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10538.aspx</link><description>Thanks Folks&lt;/P&gt;&lt;P&gt;That did the trick. Appreciate the help!</description><pubDate>Tue, 24 Jul 2007 11:40:43 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10536.aspx</link><description>Yeah, you have Optimistic Row Version selected.&amp;nbsp; You need to make it Optimistic Time Stamp to produce the stored proc you are needing.</description><pubDate>Tue, 24 Jul 2007 11:10:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10532.aspx</link><description>Hi Ben&lt;/P&gt;&lt;P&gt;Attached is&amp;nbsp; the table properties I have setup.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/c98e2fd3-385e-4e16-8b87-bc8e.JPG"&gt;</description><pubDate>Tue, 24 Jul 2007 10:43:39 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10529.aspx</link><description>In the table properties, where you check the boxes to generate the stored procedues, did you set the concurrency type on Update (and maybe delete if you want) to Optimistic Timestamp?&amp;nbsp; And you also have to specify the field in the combo box at the bottom to tell what field is the row version column (so that it gets left out off the inserts and updates).</description><pubDate>Tue, 24 Jul 2007 10:18:53 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10526.aspx</link><description>Thanks Larry &lt;/P&gt;&lt;P&gt;Unfortunately, the problem is in generating the stored procedures themselves and not in the business objects.&lt;/P&gt;&lt;P&gt;I'm thinking that this is a bug in the stored procedure generator. It sounds to me like the generator is trying to Insert into and Update the TimeStamp column.&lt;/P&gt;&lt;P&gt;Clay</description><pubDate>Tue, 24 Jul 2007 09:58:29 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10525.aspx</link><description>Under the Strataframe CRUD settings for your business object make sure you set the UpdateConcurrencyType property to OptimisticTimestamp and entered the column name that contains the timestamp in the RowVersionOrTimestampColumn.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/bfa1338a-a360-4d92-ad61-c0fd.png"&gt;</description><pubDate>Tue, 24 Jul 2007 09:52:51 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Error with Insert and Update Stored Procs adnd TimeStamp Columns</title><link>http://forum.strataframe.net/FindPost10522.aspx</link><description>Hi Folks&lt;/P&gt;&lt;P&gt;Here are 2 screencaps of the error.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/f37c01e9-c2e9-4808-8cf7-62aa.JPG"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/359bcc25-7d16-42c4-8c9a-4b71.JPG"&gt;</description><pubDate>Mon, 23 Jul 2007 15:02:06 GMT</pubDate><dc:creator>choyt</dc:creator></item></channel></rss>