Hi all,
I have these data in table:
record no 1 :~C~M~I~P010~004~ABC~N~FNSH
record no 2 :~C~~I~P32 ~002~CUSTOM~N~FNSH
I am stack, how to get "P32" and "P010"?
I tried using SUBSTRING in SQL statement.
SELECT SUBSTRING(colPartName,8,4)
FROM tblTransacAudit
it's returns: "P010" and "32 ~"
Does anyone know to get string after count character "~" is 3 ?
thanks
nugroho
I have these data in table:
record no 1 :~C~M~I~P010~004~ABC~N~FNSH
record no 2 :~C~~I~P32 ~002~CUSTOM~N~FNSH
I am stack, how to get "P32" and "P010"?
I tried using SUBSTRING in SQL statement.
SELECT SUBSTRING(colPartName,8,4)
FROM tblTransacAudit
it's returns: "P010" and "32 ~"
Does anyone know to get string after count character "~" is 3 ?
thanks
nugroho