![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
Nial Litchfield or Nuno Suoto as judges in this matter. |

#22
| |||
| |||
|
|
On Sat, 16 Jan 2010 20:24:36 +0000, Jeremy wrote: In article <hit6ej$phc$4 (AT) solani (DOT) org>, gogala.mladen (AT) gmail (DOT) com says... On Sat, 16 Jan 2010 18:37:24 +0000, Jeremy wrote: Can you create sqlplus scripts with "conditions" such that if for example a SQL statement returns a particular value or error condition then path A or path B is followed? Yes. It's called PL/SQL and is available as of the version 6. Is that intended to be serious answer? Yes. That is precisely what PL/SQL is intended for: you run SQL and follow some logic path depending on the outcome. |
#23
| |||
| |||
|
|
Souto. Not Suoto. Unless of course you are from PCWorld or Computerworld... |
#24
| |||
| |||
|
|
In article <hithhv$d1... (AT) solani (DOT) org>, gogala.mla... (AT) gmail (DOT) com says... On Sat, 16 Jan 2010 20:24:36 +0000, Jeremy wrote: In article <hit6ej$ph... (AT) solani (DOT) org>, gogala.mla... (AT) gmail (DOT) com says... On Sat, 16 Jan 2010 18:37:24 +0000, Jeremy wrote: Can you create sqlplus scripts with "conditions" such that if for example a SQL statement returns a particular value or error condition then path A or path B is followed? Yes. It's called PL/SQL and is available as of the version 6. Is that intended to be serious answer? Yes. That is precisely what PL/SQL is intended for: you run SQL and follow some logic path depending on the outcome. Perhaps I assumed I had conveyed more of my requirements to the post than I did. It's about conditional execution of .sql files - am looking at ways to automate install/upgrades which cannot be done using PL/SQL. -- jeremy |
#25
| |||
| |||
|
|
On Sun, 17 Jan 2010 19:00:23 +1100, Noons wrote: Souto. Not Suoto. Unless of course you are from PCWorld or Computerworld... I humbly apologize. |
#26
| |||
| |||
|
|
Don't worrt, you wouldn't be the first one! Where's Nial these days anyways? *Haven't seen his posts except in oracle-l for a while. |

#27
| |||
| |||
|
|
Mladen Gogala wrote,on my timestamp of 18/01/2010 5:15 AM: On Sun, 17 Jan 2010 19:00:23 +1100, Noons wrote: Souto. Not Suoto. Unless of course you are from PCWorld or Computerworld... I humbly apologize. Don't worrt, you wouldn't be the first one! Where's Nial these days anyways? *Haven't seen his posts except in oracle-l for a while. |
#28
| |||
| |||
|
|
Are you spelling _his_ name correctly? :-) |
#29
| |||
| |||
|
|
Are you spelling _his_ name correctly? :-) |
#30
| |||
| |||
|
|
On Mon, 18 Jan 2010 10:03:18 -0800, joel garry wrote: Are you spelling _his_ name correctly? *:-) He is. --http://mgogala.byethost5.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |