SELECT sys.version_major();
SELECT sys.version_minor();
SELECT sys.version_patch();
SELECT @my_version = SUBSTRING(VERSION(), 1, CHAR_LENGTH(@my_version));
@my_version = SUBSTRING(VERSION(), 1, CHAR_LENGTH(@my_version))
1
