Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to find Oracle Version?
Valent Levente (valentl_at_szabinet.hu) wrote:
: The v$version might contain irrelevant version information.
: use sm$version, instead :
No - do not use sm$version because it is not always (at all?) correct.
> select * from sm$version;
VERSION_T VERSION_NUMBER CREATED
BANNER
Interesting...
/oracle/app/oracle/product/8.0.5/rdbms/admin/catsvrmg.sql includes the lines
create or replace view sys.sm_$version as
select '7.3.2.0.0' version_text, 120594432 version_number, created from sys.dba_objects where owner = 'SYS' and object_name = 'SM_$VERSION';grant select on sys.sm_$version to public; drop public synonym sm$version;
I don't think you can trust this for anything :-)
--
rgds
Stephen
Received on Tue Jun 08 1999 - 04:22:31 CDT