Re: Fw: Question/Suggestion

2002-11-22 Thread Paul DuBois
At 11:20 +0200 11/22/02, Mircea LUTIC wrote: Hello! Question: Can I rely on the following behaviour? mysql> create table test(id integer not null auto_increment primary key, t char(15)); mysql> insert into test(t) values (last_insert_id()); mysql> insert into test(t) values (last_insert_id()+1);

Fw: Question/Suggestion

2002-11-22 Thread Mircea LUTIC
Hello! Question: Can I rely on the following behaviour? mysql> create table test(id integer not null auto_increment primary key, t char(15)); mysql> insert into test(t) values (last_insert_id()); mysql> insert into test(t) values (last_insert_id()+1); mysql> select * from test; ++--+ | id