| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: oracle version via sql
"Mark" <Scollop027_at_gmx.net> wrote in message
news:2quj0sF146ufsU1_at_uni-berlin.de...
> Hello NG,
>
> the current date I can get from dual by selecting sysdate, but how to
> request the oracle version via a sql command ?
>
> thanks and regards
> Mark
Hi Mark
If you need only the version number (i.e. not all information like v$version) you could use the following method:
SQL> variable v varchar2(20) SQL> variable c varchar2(20) SQL> exec dbms_utility.db_version(:v,:c) SQL> print v
V
Chris
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
![]() |
![]() |