I have a Estoque
table where today there are already many rows of records already registered, how can I do an incremental update to populate a column that added the table now?
Produto | N_Serie | Etiqueta
A | 123 | NULL
B | 456 | NULL
C | 789 | NULL
D | 101 | NULL
E | 112 | NULL
F | 131 | NULL
My requirement is that the command causes the Etiqueta
column to be populated incrementally so that in the end it looks like this:
Produto | N_Serie | Etiqueta
A | 123 | 1
B | 456 | 2
C | 789 | 3
D | 101 | 4
E | 112 | 5
F | 131 | 6