Subject | Re: [ib-support] Strange query results, based on where clause |
---|---|
Author | Woody |
Post date | 2002-02-26T16:48:04Z |
From: "Bob Murdoch" <ram5@...>
alway read:
s.del_date between :Date1 and :Date2
Then, if needed, just set each date to the same for those on a particular
day.
Woody (TMW)
>(1)"?
> >What happens if you put "s.account_id=1", instead of "s.account_id in
>automatically
> Same thing - no rows returned.
>
> (The reason for the unusual syntax is that the query is built
> based on user input. The above syntax allows for multiple accounts to beWhy not simply base the date on the same method. IOW, make the date part
> handled without additional processing by the query builder).
>
alway read:
s.del_date between :Date1 and :Date2
Then, if needed, just set each date to the same for those on a particular
day.
Woody (TMW)