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?

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

Answers

  • SruthiASruthiA 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
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.