Use 数据库名称select * from sysobjects where xtype='p' P是存储过程V是视图FN是functionU是Table 转载于:https://www.cnblogs.com/LessIsMoreZ/p/8760324.html