select SUBSTRING(Email,1,CHARINDEX(‘@‘,Email)-1)from StudentInfo
select SUBSTRING(Email,CHARINDEX(‘@‘,email)+1,LEN(Email)-CHARINDEX(‘@‘,Email)) from StudentInfo
标签:mail 用户名 post sub info inf email dex student
select SUBSTRING(Email,1,CHARINDEX(‘@‘,Email)-1)from StudentInfo
select SUBSTRING(Email,CHARINDEX(‘@‘,email)+1,LEN(Email)-CHARINDEX(‘@‘,Email)) from StudentInfo
标签:mail 用户名 post sub info inf email dex student
原文地址:https://www.cnblogs.com/xdl1111/p/8671288.html