Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Return value of whenever sqlerror

Re: Return value of whenever sqlerror

From: Leon <leond_at_pepkorit.com>
Date: 19 Oct 2006 00:32:59 -0700
Message-ID: <1161243179.213538.251470@f16g2000cwb.googlegroups.com>


Thanks for all comments. It has helped me.

Regards
Leon

Radoulov, Dimitre wrote:
> Or rewrite it like this:
>
> myResult1=$(sqlplus -S <<EOF
> $uid/$passwd
> set serverout on feed off
> whenever sqlerror exit failure
> exec mms.test_unix_success;
> EOF) && printf "%s\n" "Success: $myResult1" || printf "%s\n" " Failure:
> $myResult1"
>
>
> Regards
> Dimitre
Received on Thu Oct 19 2006 - 02:32:59 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US