Multiple choice technology databases

What command will you use to encrypt a PL/SQL block

  1. COMPILE DEBUG

  2. WRAP

  3. ENCRYPT

  4. COMPILE

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The WRAP command is used to encrypt PL/SQL code, converting source code into a format that obscures the logic while preserving functionality. COMPILE DEBUG adds debugging information but doesn't encrypt. ENCRYPT is not a valid PL/SQL command - WRAP is Oracle's native obfuscation utility.