开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜