摘要: SELECT (CASE WHEN a.colorder=1 THEN d.name ELSE '' END) N'表名', a.colorder N'字段序号', a.name N'字段名', (CASE WHEN COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 THEN '√'ELSE '' END) N'标识', (CASE WHEN (SELECT COUNT(*) FROM sysobjects WHERE (name 阅读全文
posted @ 2013-05-23 10:21 lanmiao 阅读(1956) 评论(0) 推荐(1) 编辑