The SET
statement has several forms:
SET
enables you to
assign values to variables that affect the operation of the
server or clients. See Section 13.7.4.1, “SET Syntax for Variable Assignment”.
var_name =
value
SET CHARACTER SET and
SET NAMES assign values to
character set and collation variables associated with the
current connection to the server. See
Section 13.7.4.2, “SET CHARACTER SET Syntax”, and
Section 13.7.4.3, “SET NAMES Syntax”.
SET PASSWORD assigns account
passwords. See Section 13.7.1.6, “SET PASSWORD Syntax”.
SET
TRANSACTION ISOLATION LEVEL sets the isolation level
for transaction processing. See
Section 13.3.6, “SET TRANSACTION Syntax”.