--返回表中字段属性
select SQL_variant_property(字段,'BaseType'),
       SQL_variant_property(字段,'Precision'),
       SQL_variant_property(字段,'Scale'),
       SQL_variant_property(字段,'TotalBytes'),
       SQL_variant_property(字段,'Collation'),
       SQL_variant_property(字段,'MaxLength')
from 表