Click to See Complete Forum and Search --> : PL/SQL procedure


moomin
08-16-2001, 04:08 AM
I have a large question on PL/SQL as it is so different to T-SQL. That is the declaring of stored proecdure. How to retrieve dataset from Oracle by stored procedure?
For example: in T-SQL
create procedure A
(
@Sum INT
)
AS
SELECT *
FROM table_a A
WHERE
A.Sum = @Sum

And some rows will be retrieved from the DB.

ales
08-16-2001, 04:43 AM
Hi,
this may help you:

http://osi.oracle.com/~tkyte/ResultSets/index.html