方法一:
sp_MShelpcolumns '表名'

方法二:
sp_help '表名'

方法三:
select * from information_schema.columns where table_name='表名'

三种方法查出来的效果不一样,可以根据情况选择使用.

相关文章: