求asdsdfw该字符串的长度可以吗?这个字符串不属于表里的?
#直接查询字符串的长度SELECT LENGTH('aasdasd')
#从数据库中选择字段查询字符串的长度,从学生表中查询#学生编号为一的名字长度SELECT LENGTH(NAME) FROM student WHERE studentNo=1
declare @strLength int set @strLength = len('asdsdfw') select @strLength