开发者

SQL Query: How to query a function/procedure body-script

开发者 https://www.devze.com 2023-02-03 14:37 出处:网络
is there any Query syntax (predefined )in SQL Server can show a function/procedure body-script? sth like:

is there any Query syntax (predefined )in SQL Server can show a function/procedure body-script?

sth like:

Select * from ShowScript('MyFunctionOrProcedureName')
开发者_如何学JAVA


I think you want

exec sp_helptext 'MyFunctionOrProcedureName'
0

精彩评论

暂无评论...
验证码 换一张
取 消