select a.name as 列名,b.name as 类型 from syscolumns a,systypes b where id IN (selectmax(id) from sysobjects where xtype='u'and name='tableName1') and a.xtype=b.xtype
id int test int name varchar password varchar address varchar
select a.name as 列名,b.name as 类型 from syscolumns a,systypes b where id IN (select max(id) from sysobjects where xtype='u' and name='userinfo') and a.xtype=b.xtype