Hi,
I want to use the power of decode function.
There are 2 dates column, i.e created and updated.
The example is if the difference from Last Updated and Created date is less than 24 hours, then display as 24, if between 24 and 48 hours, display as 48, and if greater than 48, display as 48+.
Is this possible in a single DECODE statement in MySQL?
Thanks,
BSM
I want to use the power of decode function.
There are 2 dates column, i.e created and updated.
The example is if the difference from Last Updated and Created date is less than 24 hours, then display as 24, if between 24 and 48 hours, display as 48, and if greater than 48, display as 48+.
Is this possible in a single DECODE statement in MySQL?
Thanks,
BSM