摘要:
2005与2000有点不一样,2000中可以使用sysproperties来获取描述值,而2005中已取消了.但是可以使用sys.extended_properties来获取.用法和以前一样。select TBL.name as TableName,TBL.id as TableID,COL.name as ColName,TYPE.name as Type,COL.length as Length,COM.text as defaultValue,IDX.indid as isPrimarykey,PT.value as description,COL.status as status,CO 阅读全文