[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

conditional logic in the From and where clauses



Recently I came across some code that used enviroment variables in a If
statement
to determine which table a from clause used.

Does anyone know if a If statement can be used in the and statements in the
where clause.

Thanks

Paul Baker
BSC,
Tulsa, Okla