> I need to know the last id of the last record added to the table from an > ASP page.
=> select field1 from my_table order by oid desc limit 1; -- will do that. regards, bhuvaneswaran ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster