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.


  • Options
    SruthiASruthiA Vertica Employee Administrator

    @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