note 62000 added to function.pg-query
| From: | acloutier at algebrik dot com | Date: | Fri, 17 Feb 2006 02:46:46 +0000 |
| Subject: | note 62000 added to function.pg-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103876@lists.php.net to get a copy of this message | ||
For MySQL user, you can have a problems with a logical operators :
with MySQL you can use "&&" for "AND" operator or "||" for
"OR" operator.
With PgSQL you must use "AND", "OR" operator. The SQL standards are very
important for PostgreSQL use.
Examples :
With MySQL : select * from mydatabase where field1=condition1 && field2=condition2;
With PgSQL : select * from mydatabase where field1=condition1 AND field2=condition2;
Alain Cloutier
http://www.virtual-world.org
http://www.algebrik.com
----
Server IP: 216.235.15.211
Probable Submitter: 24.201.201.229
----
Manual Page -- http://www.php.net/manual/en/function.pg-query.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+62000
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62000&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62000&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62000&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62000&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62000&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62000&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62000&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+62000&report=yes
Search -- http://master.php.net/manage/user-notes.php