Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: PREPARE -> EXECUTE Problem



        >Just ignore the default.
        >Have you set up the table with SERIAL?
        >if so this should work:

After some changes, for the moment seems the good choice.
But have a problem getting pdo->lastInsertId(), do not work in postgre
for me.

I am using this :
select currval('table_id_seq');

Any clear method?



















-- 




--
Publicidad http://www.pas-world.com




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group