Sequences using libpqxx
Sequences using libpqxx
От:
"Roshni Mani" <m.roshni@teles.com>
Дата:
Hi all,
Does the sequence commands like nextval().setval(),curval() exist using libpqxx?
Thanks and regards
Roshni
Re: Sequences using libpqxx
От:
Tomasz Ostrowski <tometzky@batory.org.pl>
Дата:
On 2008-08-20 12:13, Roshni Mani wrote:
> Does the sequence commands like nextval().setval(),curval() exist
> using libpqxx?
You just run an ordinary query:
select nextval('sequence_name')
Regards
Tometzky
--
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
Winnie the Pooh