Selecting SQL Modes

Nasza ocena:

5
Wyświetleń: 469
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Selecting SQL Modes - strona 1

Fragment notatki:

Selecting SQL Modes
The MySQL server can operate in different SQL modes, and can apply these modes differentially for
different clients. This capability enables each application to tailor the server's operating mode to its own
requirements.
SQL modes control aspects of server operation such as what SQL syntax MySQL should support and
what kind of data validation checks it should perform. This makes it easier to use MySQL in different
environments and to use MySQL together with other database servers.
You can set the default SQL mode by starting mysqld with the --sql-mode="mode_value" [456]
option. You can also change the mode at runtime by setting the sql_mode [557] system variable with
a SET [GLOBAL|SESSION] sql_mode='mode_value' statement.
For more information on setting the SQL mode, see Section 5.1.7, “Server SQL Modes”.
... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz