$ 0 0 hi dnoeth, I have data like 123456*12 ..I need data before * as one column and after * as other column ..but when i run below statement its throwing me an error 2662..Please help. cast(substring(ID from 1 for instr(ID,'*',1)-1) as int) as cust_num
hi dnoeth,
I have data like 123456*12 ..I need data before * as one column and after * as other column ..but when i run below statement its throwing me an error 2662..Please help.
cast(substring(ID from 1 for instr(ID,'*',1)-1) as int) as cust_num