Skip to content

Square bracket [] TSQL-quotes do not work #320

Description

@krixgris

I had this in #319 but it is so unrelated to it that I put it in a separate issue instead and cleaned up #319

Quoting identifiers with [ ] is very commonplace in TSQL and it currently breaks parsing.
Sorry for making this issue a bit of a mess, as it initially came from the other one i created.

select
    aäää = 1
    ,båå = 2
    ,cöö
    ,dÄÄ
    ,eÅÅ
    ,fÖÖ
    ,[tsql quoted expression] = 'quoted names in square brackets break'
from
    [test] t 
    inner join my_åäö_table t2 on
        t.id = t2.id

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions