I have a table with a column set_id
has sequence number in it, I am planning to add a couple more records to the table. Now how do I do the auto increment of the sequence of the number?
Example: I have the max as 37 now, so when I add a new record I want it to start from 38 and so on, how do I write a SQL query for it?
insert into abc.data (set_id, set_cd, set_desc, type_cd, mgt_cd, mgt_desc, itm_cd, upd_dt, upd_by)
values (38, 111, other, S, total, totalwww, 0000434, 27-feb-17, kiran)
and so on ..
How can I increment to 39... max?