sqlserver查询table,columns信息

来源:这里教程网 时间:2026-03-02 10:35:02 作者:
select a.name,b.name,c.name,b.max_length 
from sys.tables a,sys.columns b,sys.types c
where a.object_id=b.object_id and b.user_type_id=c.user_type_id
order by a.name

相关推荐