﻿<?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?)  » Data Deployment Problem</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 10:12:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Data Deployment Problem</title><link>http://forum.strataframe.net/FindPost22479.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
Just noticed a problem with decimals during data deployment. I have a simple VERSION table defined as follows:-&lt;br&gt;
&lt;br&gt;
Field Name    Field Type&lt;br&gt;
NAME           VarChar(40) - primary key&lt;br&gt;
VALUE          Decimal(10,2)&lt;br&gt;
&lt;br&gt;
I have created a data deployment package set to overwrite and have noticed that the deployment stored procedure which is created doesn't support decimal places in the VALUE field. The stored procedure definition is:-&lt;br&gt;
&lt;br&gt;
CREATE PROCEDURE VERSIONInsertOverwrite @NAME as VarChar(40), @VALUE as Decimal AS BEGIN DELETE FROM VERSION WHERE NAME = @NAME INSERT INTO VERSION (NAME, VALUE) VALUES (@NAME, @VALUE) END&lt;br&gt;
&lt;br&gt;
When the procedure is executed as follows, it drops the decimal places:-&lt;br&gt;
&lt;br&gt;
exec VERSIONInsertOverwrite @NAME='Database',@VALUE=10.01&lt;br&gt;
&lt;br&gt;
The above code stores a value of 10 instead of 10.01&lt;br&gt;
&lt;br&gt;
Just to confirm, the VALUE field is definitely defined as 10.2 and can store a value of 10.01 through an update statement.&lt;br&gt;
&lt;br&gt;
Aaron&lt;br&gt;
&lt;br&gt;</description><pubDate>Fri, 27 Mar 2009 09:00:56 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: Data Deployment Problem</title><link>http://forum.strataframe.net/FindPost22485.aspx</link><description>I will set this up and see if I can reproduce.&amp;nbsp; Thanks.</description><pubDate>Fri, 27 Mar 2009 09:00:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>