Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does the command 'WRAP' do?

Status
Not open for further replies.

SandeepRao

Programmer
Dec 21, 2000
1
IN
I came across this Question in one of the Online Exams.Here it is:


WRAP INAME=SRCFILE.SQL

What is the resulting output file of the sample code above?
Choice 1 : srcfile.obj
Choice 2 : srcfile.out
Choice 3 : srcfile.wrp
Choice 4 : No output file.
The required ONAME parameter was not specified.
Choice 5 : srcfile.plb

I tried running this command,but it wasn't recognised.could anyone out there please help?

-Sandeep
 
The wrap command encrypts your pl/sql source code.
syntax:
wrap iname=input_file [oname=output_file]
you don't need to specify an output name.


See the pl/sql user guide and reference for more information.





 
Your Output file will have a .plb extension. As the code will have been turned into a binary format. Oracle delivers a lot of its code this way so you can't see it in DBA source etc. It's quite handy for stopping your customers from ever seeing your application code!!

Mike.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top