We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


How to add IDENTITY/AUTO_INCREMENT in a existing table? — Vertica Forum

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.

Answers

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