Re: [SQL] increment the primary key value without using sequences

2007-07-29 Thread Michael Glaesemann
On Jul 29, 2007, at 7:00 , roopa perumalraja wrote: I would like to know if its possible to increment the primary key field value of stocks table without using sequences by getting the next value of the pk field from the sequnce table ? Why? Any other solution will cause performance issues

[SQL] increment the primary key value without using sequences

2007-07-29 Thread roopa perumalraja
Hi all, I would like to know if its possible to increment the primary key field value of stocks table without using sequences by getting the next value of the pk field from the sequnce table ? insert into stocks (prim_id, date,time, code, price, volume) (select . from temp_stocks