摘要: 从网上找来的一段查询表属性的SQL代码SELECT --TableName=CASE WHEN C.column_id=1 THEN O.name ELSE N'' END,--TableDesc=ISNULL(CASE WHEN C.column_id=1 THEN PTB.[value] END,N''),Column_id=C.column_id,ColumnName=C.name,PrimaryKey=ISNULL(IDX.PrimaryKey,N''),[IDENTITY]=CASE WHEN C.is_identity=1 THEN 阅读全文
posted @ 2009-06-18 23:24 moonz-wu 阅读(1406) 评论(0) 推荐(0) 编辑