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 -> simple problem

simple problem

From: abdoul85 <abdoul85_at_gmail.com>
Date: Mon, 15 Oct 2007 16:03:15 -0000
Message-ID: <1192464195.588216.269260@e34g2000pro.googlegroups.com>


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 ? Received on Mon Oct 15 2007 - 11:03:15 CDT

Original text of this message

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