selectobject_name(c.id) as 表名 ,c.name as 字段名 ,t.name 数据类型 ,c.length 长度 ,c.prec as 精度 ,p.value as 字段说明 ,m.textas 默认值 ,casewhen c.status=0x80then1else0end 标识 ,c.iscomputed 是否已计算该列的标志 ,c.isnullable 是否允许空值 ,c.isoutparam 是否输出参数 from syscolumns c innerjoin systypes t on c.xusertype=t.xusertype leftjoin sysproperties p on c.id=p.id and c.colid = p.smallid leftjoin syscomments m on c.cdefault=m.id whereobjectproperty(c.id,'IsUserTable')=1andobject_name(c.id)='My_Table'