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


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

Tags: Database

Similar Questions

Maybe you are looking for

  • Failed to create an Apple ID!

    I can't create an Apple ID I can't go forward after I submit the text code or voice Why is this? Is this an error on the site?

  • How to upgrade my Firefox?

    I was told that I use an older version of Firefox which can cause problems on some sites. I can't find out how to upgrade.

  • How re - recalibrate Satellite A100 battery

    Hi all I wanted to ask you a question. There is a program to recalibrate the battery Toshiba Satellite A100? (official or unofficial)I tried see the energy saving options, but I found nothing. My battery now lasts even 1: 30. Thank you all.

  • Report model sheet in

    We're heading TestStand 2012.  In 2010, I changed the sequential model so that after the trial, two reports have been generated.  The two have been the built in text reports but I changed the filter expression while a report was all the results and t

  • no desktop no start no button no to-do bar.

    I tried Explorer on the Task Manager and also ctrl/esc tries to see if her downstairs. no luck.  Help, please