re: problem with last_id

2003-01-13 Thread Egor Egorov
On Monday 13 January 2003 13:50, Richard Brenner wrote: > I use an application where users can post messages. The messages are stored > in two tables that are related by the id of the new created message. I get > the last id with the following query: "select max(id) as maxid from > tasker_app" > T

Re: problem with last_id

2003-01-13 Thread Gelu Gogancea
enner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 1:50 PM Subject: problem with last_id > I have a problem with a query: > > I use an application where users can post messages. The messages are stored > in two tables that are related by

Re: problem with last_id

2003-01-13 Thread Roger Baklund
* Richard Brenner > I have a problem with a query: > > I use an application where users can post messages. The messages > are stored > in two tables that are related by the id of the new created message. I get > the last id with the following query: "select max(id) as maxid from > tasker_app" Oops

problem with last_id

2003-01-13 Thread Richard Brenner
I have a problem with a query: I use an application where users can post messages. The messages are stored in two tables that are related by the id of the new created message. I get the last id with the following query: "select max(id) as maxid from tasker_app" The forum has many users and sometim