how to check oracle version sqlplus code example Example: oracle db version query SELECT * FROM v$version;