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

Поиск
Список
Период
Сортировка
От Adam Lang
Тема Re: Re: how to determine where a select statement fails
Дата
Msg-id 015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com
обсуждение исходный текст
Ответ на Re: how to determine where a select statement fails  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
Список 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@yahoo.com>
To: "Heather Johnson" <hjohnson@nypost.com>; <pgsql-php@postgresql.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



В списке pgsql-php по дате отправления:

Предыдущее
От: "Heather Johnson"
Дата:
Сообщение: Re: Re: how to determine where a select statement fails
Следующее
От: "Adam Lang"
Дата:
Сообщение: Re: Re: how to determine where a select statement fails