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, 2621🔥, 0💬
Popular Posts:
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
How To Get Year, Month and Day Out of DATETIME Values in SQL Server Transact-SQL? You can use DATEPA...
How To Create a Stored Program Unit in Oracle? If you want to create a stored program unit, you can ...
What Is a Parameter File in Oracle? A parameter file is a file that contains a list of initializatio...
How To Convert Binary Strings into Hexadecimal Character Strings in SQL Server? When a query returns...