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, 2862🔥, 0💬
Popular Posts:
Where to find reference information and tutorials on MySQL database functions? I want to know how to...
How to obtain the number of rows found by the last SELECT statement using the FOUND_ROWS() function?...
How To End a Stored Procedure Properly in SQL Server Transact-SQL? Where the end of the "CREATE PROC...
How To Convert Numeric Values to Integers in SQL Server Transact-SQL? Sometimes you need to round a ...
How To Replace Given Values with NULL using NULLIF() in SQL Server Transact-SQL? Sometime you want t...