2010/04/14

用sql列出一个表的所有字段

select name from syscolumns where id = object_id('表名') and objectproperty(id,'IsUserTable')=1

没有评论: