[MDEV-19142] sql_mode=MSSQL: Bracket identifiers Created: 2019-04-02 Updated: 2019-04-15 Resolved: 2019-04-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Fix Version/s: | 10.4.5 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||
| Description |
|
SQL Server understands bracket identifiers (in addition to the SQL Standard double-quoted identifiers), so these scripts are equivalent:
We'll extend the parser to understand bracket identifiers when sql_mode has the MSSQL flag. Bracket identifiers will be accepted in all contexts where double-quoted identifiers are possible, including but not limited to:
This will help SQL Server users to migrate to MariaDB easier. |