SQL Server里查询表结构命令

现提供两条命令查询表结构:
1.sp_help table_name;
          如:
[sql]
sp_help Student;  
 
2.sp_columns table_name;
           如:
[sql]
sp_columns Student;  
 
 推荐使用sp_help table_name,因为这条命令查询出的表结构信息更加详细。
原文地址:https://www.cnblogs.com/yuhuameng/p/5018413.html