查询sql server 表结构

select column_name,data_type from information_schema.columns where table_name = '表名'

原文地址:https://www.cnblogs.com/zhangzhu/p/3351208.html