iluvwitter
MIS
I have the following sql and trying to convert the hard code fields (tran_type and flag) to integer. These are currently resulting as text fields. Can someone advise how? Tried to put a cast around it, but it keeps giving me a syntax error.
select
'0' as 'tran_type',
'1' as 'flag',
tradedate
from tableA
Thanks!
select
'0' as 'tran_type',
'1' as 'flag',
tradedate
from tableA
Thanks!