sqlserver以‘/’拆分数据 2015/11/03 15189 SELECT substring(columnname,0,CHARINDEX('/',a)) as firststr,substring(columnname,CHARINDEX('/',columnname)+1,len(columnname)-CHARINDEX('/',columnname)) as secondstr FROM talbename