Skip to content

ALTER TABLE .. ADD FOREIGN KEY, problem with COLLATE #18

Open

Description

@lscheffler

The original text lists:

[ADD FOREIGN KEY [eExpression5] [FOR lExpression6] TAG TagName4 
      REFERENCES TableName4 [TAG TagName4][COLLATE cCollateSequence]

COLLATE is on wrong position, it does not belong to REFERENCES and will raise an error if placed there. It must be listed in front of REFERENCES, like

[ADD FOREIGN KEY [eExpression5] [FOR lExpression6] TAG TagName4 [COLLATE cCollateSequence]
      REFERENCES TableName4 [TAG TagName4]

Activity

  1. self-assigned this
    on Jun 7, 2022
  2. FrancisFaure commented on Jun 7, 2022

    @FrancisFaure
    Collaborator

    Thanks

  3. added a commit that references this issue on Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions