Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

query help

$
0
0

converting data type varchar to numeric.

I’m using the following:

SELECT[TRAN_CODE]+', '+[INT_T]+', '+[DESC]+', '+[T_C]+', '+[NORM_TC]

   

settings

TRAN_CODE – varchar(20)

INT_T – numeric(3,0)

DESC – varchar(60)

T_C – varchar(2)

NORM_TC – varchar(20)

Can anyone help me figure what is wrong.  I think I need to do some type cast or convert .

Thanks,


x


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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