jjlbmcnews
IS-IT--Management
I'm struggling to get my head around this problem, I'm using T-SQL to extract a string of data from a field and then break it up so that I can insert it into other fields, everything is fine until I try and insert one value, '123,456'. As this value comes from a TEXT field my insert statement is unable to insert the value '123,456' into the field I require as the destination field has a data type of INT. Can anyone point me in the right direction? All the CAST and CONVERT options I've tried don't work. I've also noticed that when I take out the comma it works fine but I need to keep the comma in, all help greatly appreciated.