Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDL Support #97

Open
5 of 12 tasks
KKould opened this issue Nov 15, 2023 · 0 comments · Fixed by #109
Open
5 of 12 tasks

DDL Support #97

KKould opened this issue Nov 15, 2023 · 0 comments · Fixed by #109
Assignees
Labels
enhancement New feature or request

Comments

@KKould
Copy link
Member

KKould commented Nov 15, 2023

Feature Request

Function

  • CURRENT_TIMESTAMP

Create Table

  • PRIMARY KEY (column_1, column_2, ...)
  • UNIQUE (column_1, column_2, ...)
  • Options
    • Default e.g. CREATE TABLE CUSTOMER (C_ID INTEGER DEFAULT '0' NOT NULL)

Ref: #103

Create Index

  • CREATE UNIQUE INDEX u_index ON table(column_1, column_2, ...);
  • Perf Unique Index Choose (options)

Alert Table

  • ALTER TABLE table ADD column_1 INTERGER; ref: Alter table #104
  • ALTER TABLE table MODIFY column_1 INTERGER;
  • ALTER TABLE table CHANGE COLUMN column_1 column_2 INTERGER;
  • ALTER TABLE table DROP COLUMN column_1; ref: feat: support drop column #109
  • RENAME table TO table ;

Ref:

Desc

@KKould KKould self-assigned this Nov 15, 2023
@KKould KKould added the enhancement New feature or request label Nov 15, 2023
@guojidan guojidan mentioned this issue Nov 23, 2023
5 tasks
@KKould KKould linked a pull request Dec 16, 2023 that will close this issue
9 tasks
@KKould KKould reopened this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant