Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » PostgreSQL GetInsertedId()
Re: PostgreSQL GetInsertedId() [message #16705 is a reply to message #16698] Tue, 08 July 2008 07:22 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
I am not sure what problem this should solve....

For Oracle, PGSQL the insert looks like: Get a new primary key from the SqlSequence, insert the record with this key. (You can use SqlSequence or PgSequence to get the int).

For MySQL it looks like: Insert a record, get a new primary key using GetInsertedId....

Where does fit GetInsertedId with param?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Quick explanation of function calls for postgresql
Next Topic: db access to MS ACCESS
Goto Forum:
  


Current Time: Tue Jul 08 22:16:37 CEST 2025

Total time taken to generate the page: 0.03356 seconds