oracle latest database version code example Example: oracle db version query SELECT * FROM v$version;