查看sqlserver表结构命令
?1、exec sp_columns 表名
select colid from sysconstraints where id=object_id( 'oldTbl ') and (status &1)=1