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
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24237320/viewspace-1146367/
,如需转载,请注明出处,否则将追究法律责任。