Rechercher dans le manuel MySQL
13.7.5 SET Syntax
[+/-]
The SET
statement has several forms. Descriptions for those forms that are
not associated with a specific server capability appear in
subsections of this section:
SET
enables you to assign values to variables that affect the operation of the server or clients. See Section 13.7.5.1, “SET Syntax for Variable Assignment”.var_name
=value
SET CHARACTER SET
andSET NAMES
assign values to character set and collation variables associated with the current connection to the server. See Section 13.7.5.2, “SET CHARACTER SET Syntax”, and Section 13.7.5.3, “SET NAMES Syntax”.
Descriptions for the other forms appear elsewhere, grouped with other statements related to the capability they help implement:
SET DEFAULT ROLE
andSET ROLE
set the default role and current role for user accounts. See Section 13.7.1.9, “SET DEFAULT ROLE Syntax”, and Section 13.7.1.11, “SET ROLE Syntax”.SET PASSWORD
assigns account passwords. See Section 13.7.1.10, “SET PASSWORD Syntax”.SET RESOURCE GROUP
assigns threads to a resource group. See Section 13.7.2.4, “SET RESOURCE GROUP Syntax”.SET TRANSACTION ISOLATION LEVEL
sets the isolation level for transaction processing. See Section 13.3.7, “SET TRANSACTION Syntax”.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-set-statement.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.