
December 1st, 2011, 09:28 PM
|
|
|
|
One tip, use & to concatenate not +
You'll probably need to put the literal strings AND and OR in variables, then use whichever is appropriate when building your sql string.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
|