Re: Re: how to determine where a select statement fails

From: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
To: <pgsql-php(at)postgresql(dot)org>
Subject: Re: Re: how to determine where a select statement fails
Date: 2001-07-26 18:35:11
Message-ID: 015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-php

Basically, the person wants to know which where clause caused the query to
return 0 results.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Brent R. Matzelle" <bmatzelle(at)yahoo(dot)com>
To: "Heather Johnson" <hjohnson(at)nypost(dot)com>; <pgsql-php(at)postgresql(dot)org>
Sent: Thursday, July 26, 2001 2:05 PM
Subject: [PHP] Re: how to determine where a select statement fails

> I'm not sure if I understand what your problem is. If a query
> does not return any rows (pg_numrows() < 1) then that is not
> really a "failure". If the SQL was incorrect then I would
> suggest printing it to the browser (echo $query) and pasting it
> in a query program like psql or winsql to determine which line
> of code was incorrect.
>
> Brent

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Adam Lang 2001-07-26 18:56:01 Re: Re: how to determine where a select statement fails
Previous Message Heather Johnson 2001-07-26 18:30:59 Re: Re: how to determine where a select statement fails