Richard Lynch wrote:
PostgreSQL will simply throw an error, because '8' is not no way no how an INT. It's a string.
Since when? test=# create table b(b int); CREATE TABLE test=# insert into b(b) values ('1'); INSERT 0 1 test=# SELECT * from b; b --- 1 (1 row) test=# select * from b where b='1'; b --- 1 (1 row) No idea about the OP's problem but that statement is just wrong :P -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php