Skip to content

[FEATURE] ALTER TABLE table_name COMMENT = 'New table comment' #1935

Closed

Description

@joonyung

SQL Example

  • Simplified Query Example, focusing on the failing feature
    ALTER TABLE table_name COMMENT = 'New table comment'
net.sf.jsqlparser.JSQLParserException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "=" "="
    at line 1, column 32.

Was expecting:

    <S_CHAR_LITERAL>

Additional context

cannot parse ALTER TABLE table_name COMMENT = 'New table comment' which changes a comment on the table.
https://dev.mysql.com/doc/refman/8.0/en/alter-table.html

Thank you very much and merry christmas.

Activity

  1. added
    DDL
    MS SQL Server
    MySQL
    and removed
    MS SQL Server
    on Dec 26, 2023
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

    DDLMySQLSponsor needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions