当前位置: 代码迷 >> Oracle技术 >> oracle 函数 加密编译后如何查看参数
  详细解决方案

oracle 函数 加密编译后如何查看参数

热度:691   发布时间:2016-04-24 08:14:19.0
oracle 函数 加密编译后怎么查看参数
 看到人别写的函数。是这样的
    create or replace function myfunction wrapped

  这样写听说是被加密编译了。怎么查看 该函数的参数啊。
  select myfunction('afeige') from dual 报错:
  ORA-06553:PL-306:wrong number or type of arguments in call to 'myfunction'
oracle 加密 function

------解决方案--------------------
引用:
 看到人别写的函数。是这样的
    create or replace function myfunction wrapped

  这样写听说是被加密编译了。怎么查看 该函数的参数啊。
  select myfunction('afeige') from dual 报错:
  ORA-06553:PL-306:wrong number or type of arguments in call to 'myfunction'


加密的函数是看不到参数的,只能看到一个函数名称。如果需要的话,需要对函数进行解密,由于oracle没有提供解密的功能,因此需要写相关的方法去实现,可以参考这个例子:
http://www.itpub.net/thread-1154232-1-2.html
------解决方案--------------------
有个oracle的加密解密工具
  相关解决方案