数据库过程包加密碰到的两个问题:加密过程描述问题1:我把过程包按包说明和包体为别存成.spc、.bdy两个文件格式,然后使用Oracle的Wrap工具加密,命令为:d:\oracle\bin\wrap iname=d:\encrypt\PKG_L_LCSI.bdy oname=d:\encrypt\118.plb,执行命令(在DOS环境下执行)后报错:
Processing d:\encrypt\PKG_L_LCSI.bdy to d:\encrypt\118.plb
PSU(103,1,258,41):Encountered the symbol "SELECT" when expecting one of the foll
owing:   ( - + case mod new not null others <an identifier>
   <a double-quoted delimited-identifier> <a bind variable> avg
   count current exists max min prior sql stddev sum variance
   execute forall merge time timestamp interval date
   <a string literal with character set specification>
   <a number> <a single-quoted SQL string> pipePSU(103,1,258,97):Encountered the symbol ")" when expecting one of the following
:   . ( * @ % & - + ; / at for mod rem <an exponent (**)> and or
   group having intersect minus order start union where connect
   ||PL/SQL Wrapper error: Compilation error(s) for:
create or replace package body PKG_L_LCSI
Outputting source and continuing.D:\>d:\oracle\bin\wrap iname=d:\encrypt\PKG_L_LCSI.bdy oname=d:\encrypt\118.plbPL/SQL Wrapper: Release 9.2.0.1.0- Production on Tue Dec 06 09:14:58 2005Copyright (c) Oracle Corporation 1993, 2001.  All Rights Reserved.Processing d:\encrypt\PKG_L_LCSI.bdy to d:\encrypt\118.plb
PSU(103,1,258,41):Encountered the symbol "SELECT" when expecting one of the foll
owing:   ( - + case mod new not null others <an identifier>
   <a double-quoted delimited-identifier> <a bind variable> avg
   count current exists max min prior sql stddev sum variance
   execute forall merge time timestamp interval date
   <a string literal with character set specification>
   <a number> <a single-quoted SQL string> pipePSU(103,1,258,97):Encountered the symbol ")" when expecting one of the following
:   . ( * @ % & - + ; / at for mod rem <an exponent (**)> and or
   group having intersect minus order start union where connect
   ||PL/SQL Wrapper error: Compilation error(s) for:
create or replace package body PKG_L_LCSI
Outputting source and continuing.结果是加密文件没有成功(即还是看得见源代码)。问题二:有一个包体,执行命令后(d:\oracle\bin\wrap iname=d:\encrypt\PKG_A_FundManage.bdy oname=d:\encrypt\16.plb)加密成功,但运行(@D:\encrypt\16.plb;)时出错:ORA-00955: name is already used by an existing object。两个问题均在包体上出问题,请高手们赐教,小弟先谢谢各位致力于技术前沿的同仁。