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

Home -> Community -> Usenet -> c.d.o.server -> Order by Problem on 8i

Order by Problem on 8i

From: tIM <tjm_at_geac.dk>
Date: 25 Oct 2001 05:26:23 -0700
Message-ID: <b1f8412c.0110250426.69c05a26@posting.google.com>


Hi I am faced with a problem ...

If I run the following code on Oracle 8i the create procedure fails. I can't figure out why because the command alone works!!!

Note that this works on 9i (is this a confirmed bug with a patch or anything!!!?!?)

TIA CREATE TABLE TEST1(
        test1 number(1));

CREATE TABLE TEST2(
        test1 number(1));

insert into test1 (test1) select test1

	FROM 
   	    test2
  	WHERE 
   	    test1='ss'
	ORDER BY test1;

CREATE PROCEDURE TEST
IS
BEGIN
insert into test1 (test1) select test1

	FROM 
   	    test2
  	WHERE 
   	    test1='ss'
	ORDER BY test1;

END;
/ Received on Thu Oct 25 2001 - 07:26:23 CDT

Original text of this message

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