If you have to know the current database version, you can get this information using the following SQL.
SELECT * FROM V$VERSION;