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

Home -> Community -> Usenet -> c.d.o.misc -> Re: using conditions in sql*plus

Re: using conditions in sql*plus

From: George Tsiamitas <gtsiam_at_link-systems.gr>
Date: 15 Jun 1998 14:18:59 GMT
Message-ID: <01bd9868$846e8c20$866542c3@GT.link-systems.gr>


SQL*Plus is poor for such things. Use PL/SQL. (it could be made with SQL*Plus though with multiple effort)

Jan Timmermans <jtimmerm_at_luc.ac.be> wrote in article <6d6jlc$c1c$1_at_dalet.belnet.be>...
> Hi,
>
> to make changes in the definition of excisting tables, views, procedures
and
> triggers we send sql scripts to our customers.
> These sql scripts can be executed from within sql*plus.
> The version of the tables is being stored in a special table VERSION.
> When an update script is executed we want to check whether the version
> of the tables is correct for that script. If not, the customer has to be
> notified
> and the script stops, if so the scripts continous normally.
> Problem : I can't find a way in sql*plus to excecute different code
> depending
> on a condition ( if then else ? ) or to stop an sql*script.
> Can anybody help me please !
>
> Thanx
>
> Jan
>
>
>
Received on Mon Jun 15 1998 - 09:18:59 CDT

Original text of this message

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