Home » U++ Library support » U++ SQL » Postgres and CurrVal
Re: Postgres and CurrVal [message #23044 is a reply to message #23043] |
Thu, 10 September 2009 12:52   |
Zbych
Messages: 327 Registered: July 2009
|
Senior Member |
|
|
luzr wrote on Thu, 10 September 2009 12:01 | which IMO is correct.
I would need a more complete testcase to investigate the issue...
|
Sorry, my mistake. I had to replace upp's SqlInsert with "query in string" + ExecuteX to insert many rows at once, and I've used ~CurrVal(). That's why I had this funny version of currval.
BTW. Is there a way to force SqlInsert, to create single insert with many rows:
insert into testpartner (testpartner_name, testpartner_address)
values
('qweqwe','qweqweqwe'),
('qweqwe','qweqweqwe'),
('qweqwe','qweqweqwe'),
('qweqwe','qweqweqwe')
|
|
|
Goto Forum:
Current Time: Sun Aug 24 12:27:41 CEST 2025
Total time taken to generate the page: 0.00670 seconds
|