SELECT name
FROM syscolumns
WHERE (id =
(SELECT id
FROM sysobjects
WHERE (id = OBJECT_ID('userinfo'))))
ORDER BY colid

 

userinfo是表名

posted on 2011-01-24 16:12  freedom831215  阅读(184)  评论(0编辑  收藏  举报