Re: Problem with mssql_query()

From: Date: Thu, 10 May 2007 07:22:55 +0000
Subject: Re: Problem with mssql_query()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-254710@lists.php.net to get a copy of this message
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/

« previous php.general (#254710) next »