| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
|  |  | |||
Home -> Community -> Usenet -> c.d.o.server -> Re: Help me
PL/SQL isn't SQl...
CREATE OR REPLACE PROCEDURE GetEmp (PP IN Varchar2)
IS
myrow	EMP%ROWTYPE;
BEGIN
SELECT * into myrow FROM EMP WHERE ENAME = PP;
END;
The select has to have someplace to put the data...
--
-cheers
  DW
Sent via Deja.com
http://www.deja.com/
Received on Fri Dec 15 2000 - 08:11:02 CST
|  |  |