*关于如何获取指定表的指定字段的数据类型的方法

select c.name as type from syscolumns a,sysobjects b,systypes c where a.id = b.id and a.xtype = c.xtype and b.name ='people'and (a.name='address'or a.name='id');
返回表内容为字段'address','id'两个字段的数据类型
原文地址:https://www.cnblogs.com/dwjaissk/p/459197.html