Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8623

Re: Need Help in SQL Stored Procedure 0.00 to .00

$
0
0

Hi,

 

in the stored you have to set in (CREATE TABLE ##LRec) all numeric(19,2) column to nvarchar (21)

example:

Debit numeric(19,2), to Debit nvarchar (21)

Credit numeric(19,2),to Credit nvarchar (21)

Balance numeric(19,2) to Balanc nvarchar (21)

 

and in the query Select Cast(Cast(Debit as numeric(19,2)) as nvarchar(21) ) Debit .........etc...

 

try this.

 

regards, Alessandro


Viewing all articles
Browse latest Browse all 8623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>