select * from sysobjects where type='P' 这是查出所有存储过程的名称等信息 sp_helptext [存储过程名] 可以看到存储过程定义语句 select * from sysobjects where type='V' 这是查出所有视图的名称等信息 取出某个视图的生成该视图的SQL语句 s...