Ou use a clausula IN:
where STATUS in (1,7,8)
ou
where STATUS in ('1','7','8')
[ ]´s
Moacir
Robson escreveu:
Em firebird separe as clausulas where com parenteses tipo:
... where (STATUS = 1) OR (STATUS = 7) OR (STATUS=8)
ou
... where (STATUS = '1') OR (STATUS = '7') OR (STATUS='8')
Como
Em firebird separe as clausulas where com parenteses tipo:
... where (STATUS = 1) OR (STATUS = 7) OR (STATUS=8)
ou
... where (STATUS = '1') OR (STATUS = '7') OR (STATUS='8')
Como o Edson informou este segundo se STATUS for alfanumerico, varchar, e etc...
Kaputz, Robson
Skype: kaputz_gri
Keep
2 matches
Mail list logo