postgres add column integer
ALTER TABLE customers
ADD COLUMN COUNT INTEGER NOT NULL;
postgres add column integer
ALTER TABLE customers
ADD COLUMN COUNT INTEGER NOT NULL;
postgres add column at position
ALTER TABLE ADD COLUMN will only add the new column at the end, as the last one.
In order to create a new column in another position you need to recreate the
table and copy the data from the old/current table in this new table.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us