用wrap工具
\oracle\ora81\bin\WRAP.EXE
\oracle\ora81\bin\WRAP.EXE
解决方案 »
- 请教:redhat linux as 4成功安装oracle10g后,无法启动?
- 游标循环更新问题
- 根据条件分组 count(*) 没有记录 希望结果是0 用nvl也无用 空的 怎么写呢
- 图片 文档上传数据库,在线修改、保存到数据库
- Oracle数据文件问题
- 请教个存储过程的问题
- oracle的日志文件放在哪里?
- 我的oracle9i的OMS怎么登陆不了
- 有一个人告诉我,将表常驻内存有助于提高查询速度,请问如何将表常驻内存?谢谢。
- 使用oracle自带的UTL_SMTP包来发送邮件
- 怎样初始化blob locator
- 我用8IAS做WEB开发,使用UTL_FILE包写入文件的时候,为什么是乱码?请问如何解决?谢谢
软件环境:
1、操作系统:Windows 2000 Server
2、数 据 库:Oracle 8i R2 (8.1.7) for NT 企业版
3、安装路径:C:\ORACLE实现方法:
1、D:\>set NLS_LANG=AMERICAN_AMERICA.USACII7或D:\>set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 D:\>set直接打set命令可以查看环境变量 2、在D:\下创建a.sql文件,内容如下:create or replace procedure test1(i in number) asbegindbms_output.put_line('输入参数是'||to_char(i));end; 3、D:\>wrap iname=a.sql /***** 若不设置nls_lang,则会出现kgepop: no error frame to pop to for error 1801错误 *****/ PL/SQL Wrapper: Release 8.1.7.0.0 - Production on Tue Nov 27 22:26:48 2001 Copyright (c) Oracle Corporation 1993, 2000. All Rights Reserved. Processing a.sql to a.plb 4、打开a.plb,现在它的内容如下:create or replace procedure test1 wrapped ....(omitted) 5、运行a.plbSQL> @d:\a.plb 过程已创建。 6、运行存储过程SQL> set serveroutput onSQL> execute test1(1);输入参数是1 PL/SQL 过程已成功完成。 7、查看存储过程的代码SQL> select name,text from all_source where type='PROCEDURE' and name='TEST1'; 结果:看不到其原码