2013年3月28日

SqlServer 查询出列的一些基本信息,表名,列名,数据类型,备注说明,最大宽度,递增,是否为空,是否主键

摘要: SELECT b.name as TableName,a.name ColumnName,c.name as DataType,p.value as Description,a.max_length as MaxLength ,(case a.is_identity when 1 then 'True' else 'False' end) as [Identity] ,(case a.is_nullable when 1 then 'True' else 'False' end) as [IsNull] ,(case k.type 阅读全文

posted @ 2013-03-28 17:42 少明 阅读(558) 评论(0) 推荐(0)

导航