简体   繁体   中英

how to view the stored procedure code in MSSQl Server management studio

如何在MSSQl Server management studio中查看存储过程代码

You can use sp_helptext stored procedure if You have sufficient rights. You may also want to assign a shortcut to it in Management Studio options.

-- EXEC sp_helptext 'YOUR_PROCEDURE_NAME'

EXEC sp_helptext 'sp_who'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM