Example

Return the current version of the MySQL database:

SELECT VERSION();

Definition and Usage

The VERSION() function returns the current version of the MySQL database, as a string.

Syntax

VERSION()

Technical Details

Works in: From MySQL 4.0


Login
ADS CODE