Hi all,

I find I'm having to write code that gets back the ID created by an 
AUTO_INCREMENT in order to do various cross-referenced insertions.  For MySQL 
there's a function called LAST_INSERT_ID() that returns the last 
auto-increment-generated value, but this is a MySQLism and the mechanism for 
doing this for PostgreSQL is different.

Would it be possible to create an odbx_*() function that does this for me so 
that I don't have to know how to do it for various back ends?

-MSK
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to