question on NVL in an update statement Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: question on NVL in an update statement

  1. #1
    Join Date
    Apr 2002
    can i use the NVL function like this in an update statement?

    thanks for any help in advance...

    update table1
    set field1 = NVL(:new.value,:OLD.value)
    where ssn='2393203';

  2. #2
    Join Date
    Dec 2000
    Ljubljana, Slovenia
    Yes, of course you can.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width