dsmith1000
Programmer
Hello folks,
Having a little trouble with a query I'm trying to build. I need to use a conditional criteria in my where statement based on the data in a field. Basically, if this piece of data is this, then search the table using this search criteria, otherwise if it's this value, use this other criteria, etc. Can't figure it out. Maybe a union instead? Now that I think about it that seems to be the way to go. Out of curiosity, is there a way to do what I'm trying without a union? I'm using an Oracle database.
Thanks,
David Smith
David Smith
Having a little trouble with a query I'm trying to build. I need to use a conditional criteria in my where statement based on the data in a field. Basically, if this piece of data is this, then search the table using this search criteria, otherwise if it's this value, use this other criteria, etc. Can't figure it out. Maybe a union instead? Now that I think about it that seems to be the way to go. Out of curiosity, is there a way to do what I'm trying without a union? I'm using an Oracle database.
Thanks,
David Smith
David Smith