日期:2014-05-19  浏览次数:21051 次

SQL语句怎么查询一个字段的位数
怎么查询一个字段的位数
请高手指教


------解决方案--------------------
len
------解决方案--------------------
len(字段)
------解决方案--------------------
len OR datalength
------解决方案--------------------
select name,length from syscolumns where id=object_id( '表名 ') and name= '列名 '