sql_auto_is_null
This page is part of MariaDB's SkySQL Documentation.
The parent of this page is: System Variables for MariaDB Enterprise Server
Topics on this page:
Overview
If set to 1, the query SELECT * FROM table_name WHERE auto_increment_column IS NULL will return an auto-increment that has just been successfully inserted, the same as the LAST_INSERT_ID() function. Some ODBC programs make use of this IS NULL comparison.
See also: System Variables for MariaDB Enterprise Server 10.6, in 10.5 ES, and in 10.4 ES
DETAILS
PARAMETERS
Dynamic | Yes |
Scope | Global, Session |
Data Type | BOOLEAN (OFF, ON) |
Default Value | OFF |
SKYSQL
Cloud | SkySQL Topology | ES Ver | Default |
---|---|---|---|
AWS | Multi-Node Analytics | 10.5 | OFF |
Single Node Analytics | 10.5 | OFF | |
Distributed Transactions | 10.5 | false | |
10.6 | false | ||
Replicated Transactions | 10.4 | OFF | |
10.5 | OFF | ||
10.6 | OFF | ||
Single Node Transactions | 10.4 | OFF | |
10.5 | OFF | ||
10.6 | OFF | ||
GCP | Multi-Node Analytics | 10.5 | OFF |
Single Node Analytics | 10.5 | OFF | |
Distributed Transactions | 10.5 | false | |
10.6 | false | ||
Replicated Transactions | 10.4 | OFF | |
10.5 | OFF | ||
10.6 | OFF | ||
Single Node Transactions | 10.4 | OFF | |
10.5 | OFF | ||
10.6 | OFF |
CHANGE HISTORY
Release Series | History |
---|---|
10.6 Enterprise |
|
10.5 Enterprise |
|
10.4 Enterprise |
|
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.
This page shows information specific to MariaDB SkySQL. Information for non-SkySQL use can be found on the sql_auto_is_null page in the MariaDB Enterprise Documentation.