可以用SQL语句来实现:
select name from syscolumns
where id in (select id from sysobjects where id=object_id('Location'))
'Location'便是已知的表名.
可以用SQL语句来实现:
select name from syscolumns
where id in (select id from sysobjects where id=object_id('Location'))
'Location'便是已知的表名.