How to find out datbase version using SQL query
DB2
SELECT versionnumber,
version_timestamp,
Substr(authid, 1, 20)
FROM sysibm.sysversions
MySQL
SELECT Version();
SQL SERVER
SELECT @@VERSION
Oracle
SELECT *
FROM v$version;
DB2
SELECT versionnumber,
version_timestamp,
Substr(authid, 1, 20)
FROM sysibm.sysversions
MySQL
SELECT Version();
SQL SERVER
SELECT @@VERSION
Oracle
SELECT *
FROM v$version;