<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>IBM BPM Tips Q&amp;A - Recent questions tagged query</title>
<link>https://ibm.bpm.tips/tag/query</link>
<description>Powered by Dosvak LLC</description>
<item>
<title>MS SQL - STORED PROCEDURE</title>
<link>https://ibm.bpm.tips/2756/ms-sql-stored-procedure</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have an MS SQL application database. I have a stored procedure with decimal input (18,6).&lt;br /&gt;
&lt;br /&gt;
The stored procedure works correctly when called from &amp;nbsp;&amp;nbsp;&amp;quot;Microsoft SL Server Management Studies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When the stored &amp;nbsp;procedure is called by BPM, the number is rounded to 4 digits. Why?&lt;br /&gt;
&lt;br /&gt;
I use SQL Call Stored Procedure&amp;quot; with this input:&lt;br /&gt;
&lt;br /&gt;
tw.local.sql = &amp;quot; &amp;quot; + &amp;quot;WIDC_SP_AGGIORNACOMP ?&lt;br /&gt;
&lt;br /&gt;
SQL Parameter:&lt;br /&gt;
&lt;br /&gt;
tw.local.parameters[0] = new tw.object.SQLParameter()&lt;br /&gt;
&lt;br /&gt;
tw.local.parameters[0].value = &amp;quot;0.123456&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
tw.local.parameters[0].mode = &amp;quot;IN&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
tw.local.parameters[0].type = &amp;quot;DECIMAL&amp;quot;;</description>
<category>Toolkits</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2756/ms-sql-stored-procedure</guid>
<pubDate>Thu, 05 Dec 2019 14:44:15 +0000</pubDate>
</item>
</channel>
</rss>