Hi All,
I have a table in data with name Report_Status, now we added a new column[Batch_ID] in the table. The new column takes a value from a sequence. Can somebody tell me a normal SQL query or procedure to update each row one by one of existing table from the sequence value? We can not delete the existing data, we need to add the batch id for each record.
example Sequence name : Report_Status_Batch_ID_SEQ
table name Report_Status and column name Batch_ID
Thanks for your time to help me out.
Regards,
Ashish