Discussion
:
Select AND IF
Afficher un message
03/10/2007, 15h18
#
1
turnitup
Messages: n/a
Hébergeur:
Select AND IF
I want to include an AND clause, but only if a certain criteria is met.
There are other AND clauses. Pseudo code below
SELECT * from tbl where foo = 1 AND bar = 1 AND IF ( (asas != 1) asas >
2 )
Is this possible?
turnitup
Page generated in
0,03948
seconds with
9
queries