Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: PLSQL code and different ORACLE versions
You can use C-preprocessor and macros to expand your code into version specific files. This allows you to add and remove debug code, add or remove version specific code, or cull out queries into stand alone test versions.
Good luck,
Chris Weiss
"Steffen Nicolai" <nci_at_ast.iitb.fhg.de> wrote in message
news:3B4E94AB.672AAFB9_at_ast.iitb.fhg.de...
> Hi,
>
> is there a way to develop PLSQL code for different ORACLE version and
> switch them during compile time (like #IFDEF preprocessor directives in
> C). One example is to use the FORALL statement in version 8.1.7 and the
> FOR ... LOOP in 8.0.5.
>
> TIA
>
> Nico
> --
> Steffen Nicolai
> Fraunhofer Anwendungszentrum Systemtechnik
> Ilmenau / Germany
> Tel: +49 3677 / 669 4012 | Fax: +49 3677 / 669 4001
> e-mail: Nci_at_ast.iitb.fhg.de
Received on Fri Jul 13 2001 - 14:06:22 CDT
![]() |
![]() |