[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: back-sql sqlquery



> Iam not an SQL-geek but what ist the sense to ask "true OR query" ?

TRUE OR query == TRUE
FALSE OR query == query
TRUE AND query == query
FALSE AND query == FALSE

it's a poor man's trick to maintain the same structure and logic of the
LDAP filter for the <where> clause of the SELECT statement.  I guess the
code, with little work, could be rearranged to remove these unnecessary
clauses.

You may file an ITS if you like.  A path would also be welcome.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497