Beth,
> I am wondering if I can get some input on the logic that I would need to> code a function that would mimic mysql's last_insert_id()..
Um, what about CURRVAL('sequence-name')?
-- -Josh Berkus Aglio Database Solutions San Francisco