if you are using SQL Server and your stored procedures are not created with the WITH ENCRYPTION option, try to read the output ofexec sp_helptext YourSPNamefor Oracle, you can tryselect text from   user_source where  type = 'PROCEDURE' and  name = 'YourSPName'

解决方案 »

  1.   

    saucer(思归/MVP) 
    exec sp_helptext YourSPName 的方法怎么在程序里调用?
      

  2.   

    sp_helptext
    放在查询分析器内运行下就知道效果了
    比如你有个叫P_GetPassWord的存储过程exec sp_helptext P_GetPassWord将显示此存储过程的内容
    你在程序中可以运行sp_helptext 参数为你的过程名
    获得过程内容