Re: select where true, or select where input = '$var' - Mailing list pgsql-general

From John R Pierce
Subject Re: select where true, or select where input = '$var'
Date
Msg-id 54E65469.7060402@hogranch.com
Whole thread Raw
In response to select where true, or select where input = '$var'  (zach cruise <zachc1980@gmail.com>)
Responses Re: select where true, or select where input = '$var'  (zach cruise <zachc1980@gmail.com>)
List pgsql-general
On 2/19/2015 12:39 PM, zach cruise wrote:
> i want to select based on input, but if input is not provided or if
> input is empty, then i want to select all rows.

something unclear here, is INPUT a variable in your application program,
or is it a field in the table?



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: select where true, or select where input = '$var'
Next
From: zach cruise
Date:
Subject: Re: select where true, or select where input = '$var'