Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

Implement parsing for ALTER TABLE DROP CONSTRAINT/COLUMN statements
with WITH clause options including ONLINE, MOVE TO, and MAXDOP.

  • Add DropClusteredConstraintOption interface and implementations:
    • DropClusteredConstraintStateOption (ONLINE = ON/OFF)
    • DropClusteredConstraintMoveOption (MOVE TO filegroup)
    • DropClusteredConstraintValueOption (MAXDOP = value)
  • Add FileGroupOrPartitionScheme type for MOVE TO targets
  • Update parser to handle WITH (options) after element names
  • Add JSON marshaling for new types
  • Enable AlterTableDropTableElementStatementTests90 tests

Implement parsing for ALTER TABLE DROP CONSTRAINT/COLUMN statements
with WITH clause options including ONLINE, MOVE TO, and MAXDOP.

- Add DropClusteredConstraintOption interface and implementations:
  - DropClusteredConstraintStateOption (ONLINE = ON/OFF)
  - DropClusteredConstraintMoveOption (MOVE TO filegroup)
  - DropClusteredConstraintValueOption (MAXDOP = value)
- Add FileGroupOrPartitionScheme type for MOVE TO targets
- Update parser to handle WITH (options) after element names
- Add JSON marshaling for new types
- Enable AlterTableDropTableElementStatementTests90 tests
@kyleconroy kyleconroy merged commit 18f0d6d into main Dec 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants