can someone please give me the code for this equalant?

Hi friends

Hi friends I need and equivalent of the code for the script because I shouldn't use below the script.even below if it entitles answer.please give alternative

NVL2 (EndTime, 'Successful', 'Error') "Status".
===========================

"" The real need is, if the "endtime" is null means I want the error if status is not null means I want status to succeed

can someone please give me the code for this equalant?

Thanks adavance

Thil

Select decode (endtime, null, "Error"
'Successful') that the 'status' from tablename

Tags: Database

Similar Questions

Maybe you are looking for