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

ALTER TABLE support #724

Open
2 of 3 tasks
fulghum opened this issue Sep 19, 2024 · 0 comments
Open
2 of 3 tasks

ALTER TABLE support #724

fulghum opened this issue Sep 19, 2024 · 0 comments

Comments

@fulghum
Copy link
Contributor

fulghum commented Sep 19, 2024

ALTER TABLE is commonly used in import SQL scripts. Adding foreign keys after loading data into tables appears to be one of the more common uses in import scripts.

Examples:

  • Chinook_PostgreSql_utf8.sql uses ALTER TABLE to add foreign key constraints to created tables after data has been loaded.
  • dellstore2-normal-1.0.sql uses ALTER TABLE to add primary key constraints as well as foreign key constraints after data has been loaded.

 
Use cases:

  • Add primary key
  • Add foreign key constraint
  • Alter owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant