Firebird: How to assign id to existing rows from newly added generator

Posted by Aldo on Stack Overflow See other posts from Stack Overflow or by Aldo
Published on 2010-05-30T08:59:05Z Indexed on 2010/05/31 3:52 UTC
Read the original article Hit count: 265

Filed under:
|

I have a table which already contains some rows and does not have a primary key.

I want to add a primary key now, but for that I need to set unique values for the primary key field of the existing rows. How can this be done, using the newly added generator?

© Stack Overflow or respective owner

Related posts about sql

Related posts about firebird