Basic Pl/sql ? [message #1312] |
Fri, 19 April 2002 12:45 |
Jack Brown
Messages: 4 Registered: April 2002
|
Junior Member |
|
|
How do I fix this. I get an error saying you can only use a select statement with an INTO if not it can appear in the subquery. But I want the answer of this PL/SQL block to be the result of a select statement.
create or replace PROCEDURE SP_TableInfo
AS
BEGIN
SELECT x,y FROM emp;
END SP_TableInfo;
|
|
|
|
Re: Basic Pl/sql ? [message #1332 is a reply to message #1312] |
Mon, 22 April 2002 07:15 |
Oracle Begineer
Messages: 2 Registered: April 2002
|
Junior Member |
|
|
I am going to be calling this procedure from a Visual Basic application. I want the
store procedure to execute and give me the result of the query. Based on your response
it looks like you are writing to the output with a comma. Or is this the only way to do so ...
|
|
|