SQLSERVER 查看存储过程逻辑

use 数据库名
exec
sp_helptext '存储过程名'

原文地址:https://www.cnblogs.com/flashdiko/p/13748123.html