[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linux-team] [OT] exit code? PL SQL ORACLE
tu écris une fonction et dans ton exeception tu fais return 2;
ou alors tu fais un raise application failure qui retourne une erreur user
define.
> ----------
> From:
> vincent.louviaux@belgacom.be[SMTP:vincent.louviaux@belgacom.be]
> Reply To: linux-team@rtfm.be
> Sent: Thursday, September 09, 1999 2:11 PM
> To: linux-team@rtfm.be
> Subject: [linux-team] [OT] exit code? PL SQL ORACLE
>
> je dois lancer un plsql script mais j aimerai qu il retourne un exit code
> quand il y a une erreur pour la suite de mon script
> A cause du block Exeption j ai toujours un exit code = 0
> Savez vous si sous oracle, on peut généré un bloc exeption et avoir un
> exit
> code différent de 0 ?
>
> En tous cas en simple sql
> exit 2
> me donne bien un return code de 2 mais en PLSQL?
>
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
>
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.