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

PREPARE -> EXEC Problem



Hello,
I'm trying to execute a query with a DEFAULT value for primary key value
but do not work.
	pdo->prepare("INSERT INTO "Table" ("id","colum") VALUES(?,?)");
	$arr=('DEFAULT','helloworld');
Result of PDO is "not valid value for integer".
Anyone know, How assign DEFAULT value in pdo->exec($arr)? 








Home | Main Index | Thread Index

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