use votetest select name from sysobjects where xtype='U' -- u 用户定义的表 -- s 系统表 转载于:https://www.cnblogs.com/zxlin25/archive/2009/03/05/1403643.html