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;


Newsletter Updates

Enter your email address below to subscribe to our newsletter