![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hello I'd like to do sth like this: declare a varchar(100); begin select version into a from v$instance; if (a like '10%') then @ver10.sql else @oldver.sql end if; end; how to write something like that in PL/SQL ? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
hello I'd like to do sth like this: declare a varchar(100); begin select version into a from v$instance; if (a like '10%') then @ver10.sql else @oldver.sql end if; end; how to write something like that in PL/SQL ? |
#5
| |||
| |||
|
|
well, I have two scripts, one suitable for 10 oracle verison, second for older. And I wan't the code check the oracle database version and run ver10.sql or older.sql |
#6
| |||
| |||
|
|
hello I'd like to do sth like this: declare a varchar(100); begin select version into a from v$instance; if (a like '10%') then @ver10.sql else @oldver.sql end if; end; how to write something like that in PL/SQL ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |