Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> version awareness in sql script.
Hello. I have a simple script, but I want the script to alter it's
behavior depending on whether it's being run against a 10, 9 or an 8
instance. The patch level doesn't matter.
I can use V$VERSION and parse the output: SQL> select * from v$version;
BANNER
I would need to grab "Oracle9i", but I'm wondering if there's an easier way to do this? Received on Wed Mar 29 2006 - 16:29:43 CST
![]() |
![]() |