我有一个这样的字符串:
","","","41","20120627063343-0210600-41"
我这样写了我的查询来拆分上面的字符串
declare @s varchar(max)
set @s = '","","","41","20120627063343-0210600-41"'
select right(replace(@s,',',''),26) as output
我得到以下输出
output
-------
20120627063343-0210600-41"
我想要上面的字符串这样的输出
YEAR TIME NO ID
---- ----- ---- ----
2012-06-27 06:33:43 0210600 41
帮我!
谢谢和问候,阿南德