select SUBSTRING(‘123,abcdefg‘,charindex(‘,‘,‘123,abcdefg‘,0)+1,LEN(‘123,abcdefg‘)-charindex(‘,‘,‘123,abcdefg‘,0))
select SUBSTRING(‘123,abcdefg‘,0,charindex(‘,‘,‘123,abcdefg‘,0))
时间: 2024-10-07 20:33:17
select SUBSTRING(‘123,abcdefg‘,charindex(‘,‘,‘123,abcdefg‘,0)+1,LEN(‘123,abcdefg‘)-charindex(‘,‘,‘123,abcdefg‘,0))
select SUBSTRING(‘123,abcdefg‘,0,charindex(‘,‘,‘123,abcdefg‘,0))