The Vertica Forum recently got a makeover! Let us know what you think by filling out this short, anonymous survey.
Please take this survey to help us learn more about how you use third party tools. Your input is greatly appreciated!

How to add IDENTITY/AUTO_INCREMENT in a existing table?

iddpanganibaniddpanganiban Community Edition User

We are moving data from the old server to the new server.


  • SruthiASruthiA Vertica Employee Employee

    @iddpanganiban you cannot add identity columns to existing tables. Only way to add them is recreate the table with identity column, copy the data to new table and drop old table.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file