yilong-
--SQL Server截取字符串
select SUBSTRING(\'hello@163.com\', charindex(\'.\',\'hello@163.com\')+1, Len(\'hello@163.com\'))
select SUBSTRING(\'hello@163.com\',0,charindex(\'.\',\'hello@163.com\'))

 

分类:

技术点:

相关文章: