I have a rather simple PL/SQL query
(...)
DECODE(upper(Table.Column), 'SOMETHING', '---', TABLE2.COLUMN2) as VALUE
(...)
How can I apply the WHERE clause using above statement, because when I use something like:
WHERE upper(VALUE) like 'SOMETHING'
it gives me an empty recordset (and I am absolutely positive that there are records which fulfill those requirements).
I don't know if that matters, but I am calling this query from within Excel workbook, using VBA and CreateObject("OracleInProcServer.XOraSession")
.