应该能行的
得用动态sql语句
下面是根据表名得到它的字段信息。
select b.name from syscolumns a inner join sysobjects b on a.id=b.id 
where a.name='表名'