Professional Documents
Culture Documents
com
data dictionary view to see the complete source code, including the
compiler directives, for a stored PL/SQL unit
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
2
Try It / Solve It
1. In your own words, describe two benefits of using conditional compilation methods.
2. Create a procedure named my_debug_proc with the following features:
Set the conditional compilation flag to TRUE, compile your code, and view the compiled source
code to determine that your code compiled as intended. You may need to pause a few seconds
between setting the flag's value and recompiling your code.
Set the conditional compilation flag to FALSE, compile your code, and view the compiled source
code to determine that your code compiled as intended. You may need to pause a few seconds
between setting the flag's value and recompiling your code.
View the compiled source code to determine that your code compiled as intended.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.