SQL Server intercept string

--SQL Server截取字符串
select SUBSTRING('[email protected]', charindex('.','[email protected]')+1, Len('[email protected]'))
select SUBSTRING('[email protected]',0,charindex('.','[email protected]'))

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324733584&siteId=291194637