using the script:
select 'XX' + LTRIM(RTRIM(Account_No))
from mis.ahr.Arnel_Apple_BID_VPP_List2014Oct
where Account_No LIKE '%32216996%'
I still get
(No column name) XX 32216996
what could be the cause? TIA
using the script:
select 'XX' + LTRIM(RTRIM(Account_No))
from mis.ahr.Arnel_Apple_BID_VPP_List2014Oct
where Account_No LIKE '%32216996%'
I still get
(No column name) XX 32216996
what could be the cause? TIA
try this to see what character it is
select unicode(LEFT(Account_No,1))
from mis.ahr.Arnel_Apple_BID_VPP_List2014Oct
where Account_No LIKE '%32216996%'
Then use nchar( n)
for replace
You can try this, and let us know what 'Account_No' and 'hexBytes' columns show :
select Account_No,
cast(Account_No as varbinary(500)) as hexBytes
from mis.ahr.Arnel_Apple_BID_VPP_List2014Oct
where Account_No LIKE '%32216996%'
This will show you what exactly is in Account_No.