This sample illustrates use of SEARCHED CASE construction.
The query retrieves all events and notification whether it had happened already.
select e1."Event_Name",
case
when e1."Event_Date" < now then "In the past"
when e1."Event_Date" > now then "In the future"
else "Right now"
end as "When"
from "events" e1
Download Absolute Database | Learn more |
|
|
Current version: 7.95
Released: February 08, 2023
Price: $ 149
 
|
|
Thanks again for the superb tech support, I was worried I'd hit a brick wall this close to the finish line. Even working on the weekend... you guys rock!!!
Bob Boyd
|
|
|