sqlserver简单应用

1、模糊查询表名称:

Select * From sysobjects Where name like '%legalize%'

2、查询表的字段信息

select * from information_schema.columns where table_name='tab_sLegalize'

 3、查询text的长度:

select LEN(cast(fld_Introduction as varchar )),fld_Introduction  from tab_sLegalize
原文地址:https://www.cnblogs.com/xuzhenmin/p/3520291.html