2017-05-11 1 views
0

패키지 코드를 암호화하고 싶습니다.랩을위한 소스 코드 파일 위치

이렇게하려면 wrap 명령을 사용하고 싶습니다.

그래서 예를 들어 나는 그 패키지가 : 그 출력을 얻고있다

C:\Users\dp>wrap iname=wrap_try.sql 

:

wrap_try

과 그 명령을 실행하고있을 때

PL/SQL Wrapper: Release 11.2.0.4.0- 64bit Production on Thu May 11 12:59:50 2017 

Copyright (c) 1993, 2009, Oracle. All rights reserved. 

PL/SQL Wrapper error: Couldn't open input file wrap_try.sql 

전체 경로를 지정해야하므로 내 파일을 찾을 수 없습니다.

그러나 모든 package \ function 정의의 위치는 무엇입니까?

내 서버는 windows입니다.

고마워요.

답변

0

먼저 프로 시저 원본을 파일 ('wrap_try.sql')에 압축을 풉니 다. 그런 다음 file.dir에서 명령을 실행하십시오.

D:\prog>dir 
Volume in drive D is Data 
Volume Serial Number is 421D-3389 

Directory of D:\prog 

05/11/2017 08:04 AM <DIR>   . 
05/11/2017 08:04 AM <DIR>   .. 
05/11/2017 08:02 AM   30,609 customer_extract_proc.sql 
       1 File(s)   30,609 bytes 
       2 Dir(s) 237,137,584,128 bytes free 

D:\prog>wrap iname=customer_extract_proc.sql 

PL/SQL Wrapper: Release 11.2.0.4.0- 64bit Production on Thu May 11 08:05:02 2017 

Copyright (c) 1993, 2009, Oracle. All rights reserved. 

Processing customer_extract_proc.sql to customer_extract_proc.plb 

D:\prog>dir 
Volume in drive D is Data 
Volume Serial Number is 421D-3389 

Directory of D:\prog 

05/11/2017 08:05 AM <DIR>   . 
05/11/2017 08:05 AM <DIR>   .. 
05/11/2017 08:05 AM    5,661 customer_extract_proc.plb 
05/11/2017 08:02 AM   30,609 customer_extract_proc.sql 
       2 File(s)   36,270 bytes 
       2 Dir(s) 237,137,575,936 bytes free 
관련 문제