Collections:
VERSION() - Version Number of MySQL Server
How to obtain the version number of the MySQL server using the VERSION() function?
✍: FYIcenter.com
VERSION() is a MySQL built-in function that
returns the version number of the MySQL server.
For example:
SELECT VERSION(); -- +-----------+ -- | VERSION() | -- +-----------+ -- | 8.0.17 | -- +-----------+ SELECT @@version; -- +-----------+ -- | @@version | -- +-----------+ -- | 8.0.17 | -- +-----------+
Reference information of the VERSION() function:
VERSION(): ver Returns the version number of the MySQL server. Arguments, return value and availability: ver: Return value. The version number of the MySQL server. Available since MySQL 4.0.
⇒ MySQL Functions for Miscellaneous Purposes
⇐ USER() - Login Name of Current User
2025-01-07, 3612🔥, 0💬
Popular Posts:
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...
How To Convert Binary Strings into Hexadecimal Character Strings in SQL Server? When a query returns...
Why I Can Not Enter 0.001 Second in DATETIME values in SQL Server Transact-SQL? If you enter millise...
How To Use "IF ... ELSE IF ..." Statement Structures in SQL Server Transact-SQL? "IF ... ELSE IF ......
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...