1 --使用语句查看一个存储过程的定义 2 3 exec sp_helptext 'auth_bankcardauthorize' 4 5 6 7 8 9 --查询所有存储过程的名称以及定义 10 11 select name, definition 12 13 from sys.sql_modules as m 14 15 inner join sys.all_objects as o on m.object_id = o.object_id 16 17 where o.[type] = 'p'