Comments on: Oracle Database 10g Release 2 – SQL and PL/SQL Features https://technology.amis.nl/2005/06/24/oracle-database-10g-release-2-sql-and-plsql-features/ Friends of Oracle and Java Sat, 01 Aug 2015 11:10:05 +0000 hourly 1 http://wordpress.org/?v=4.2.3 By: Alex Nuijten https://technology.amis.nl/2005/06/24/oracle-database-10g-release-2-sql-and-plsql-features/#comment-2213 Fri, 01 Jul 2005 13:45:20 +0000 /?p=641#comment-2213 See post by Pete Finnigan: 06/29/2005: “10g Release 2 PL/SQL and SQL new featuresâ€?

http://www.petefinnigan.com/weblog/archives/00000424.htm

]]>
By: Kris https://technology.amis.nl/2005/06/24/oracle-database-10g-release-2-sql-and-plsql-features/#comment-2212 Fri, 24 Jun 2005 21:53:43 +0000 /?p=641#comment-2212 About your comment on the following:
Begin
Central_package.debugmode:= true;
End;

You wrote how it differs from what Arup shown. Let me tell you what I understood…
In his example Arup declared the variable as “constant”. Now the compiler will optimize it and put only one line of code in the byte code.

But, one question remain…If it is a constant, 10gR1 compiler optimizes it already. Not sure what 10gR2 compiler does it in addition to that.

Another thought is, compiler replace the code with 1 line during compiler directives replacement and then optimization takes place. So, may be, only compilation time differs from 10gR1 and 10gR2.

]]>