QL Server数据库计算字符长度用datalength(函数),写法如下: 1.select * from xxx where datalength(xx) 2.select * from xxx where len(xxx)>