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 -> Stored Procedure Question

Stored Procedure Question

From: Ian Steward <isteward_at_mediaone.net>
Date: Fri, 23 Jul 1999 02:05:26 GMT
Message-ID: <G5Ql3.92$9C3.23951@typhoon1.rdc-detw.rr.com>


I am just starting to learn Oracle so be gentle. Here is my question:

I am trying to create a stored procedure as follows:

CREATE PROCEDURE SP_BOMINQ (ASSY CHAR ) AS BEGIN
SELECT Assembly,Component,Usage,Revision,UOM,Datein,Dateout,ChangId,Line FROM BOM
WHERE Assembly = ASSY
Order By Line,Datein;
END; This will not compile and gives me the following error:

PLS-00428: an INTO clause is expected in this SELECT statement.

I cannot see why I would need an INTO clause in a simple Select statement. Can someone advise?

Received on Thu Jul 22 1999 - 21:05:26 CDT

Original text of this message

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