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 » Postgres and CurrVal
Postgres and CurrVal [message #23025] Tue, 08 September 2009 16:18 Go to previous message
Zbych is currently offline  Zbych
Messages: 325
Registered: July 2009
Senior Member
Hi,

CurrVal doesn't seem to work correctly with Postgres right now.
When I use it like this:
	sql & Insert(TABLE1)(COLUMN1, "test")(COLUMN2, CurrVal(TABLE2_COLUMN1_SEQ));


Sql string looks like this:
insert into TABLE1 (COLUMN1, COLUMN2) values ('test',currval('TABLE2_COLUMN1_SEQ')TABLE2_COLUMN1_SEQ.CURRVAL))


It looks like SqlCase is not "compiled". Any ideas how to fix it?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Acquiring large record
Next Topic: Can I use Upp::Oracle8 connect to Oracle10?
Goto Forum:
  


Current Time: Fri Apr 19 21:14:14 CEST 2024

Total time taken to generate the page: 0.04619 seconds