Skip to content

recognize "WITH" keyword as table alias #37

Open

Description

@lucaslynn

Parse SQL :
SELECT * FROM BSPRODUCT WITH ( NOLOCK )

Then format, you got:
SELECT * FROM BSPRODUCT WITH WITH ( NOLOCK )

sqlparser recognized "WITH" as both table hints and table alias, so you will get double "WITH".

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