SQL_MODE=MSSQL
Documentation for the `MSSQL` SQL mode, which enables a subset of Microsoft SQL Server syntax and behavior compatibility in MariaDB, such as using brackets `[]` for quoting.
Supported Syntax in MSSQL Mode
Using [] for Quoting
SET SQL_MODE="MSSQL";
CREATE TABLE [t 1] ([a b] INT);
SHOW CREATE TABLE [t 1];
Table Create Table
t 1 CREATE TABLE "t 1" (
"a b" INT(11) DEFAULT NULL
)See Also
Last updated
Was this helpful?

