Question : procedure syntax

what is the difference between the 2 syntax in pl-sql:

CREATE OR REPLACE Procedure ProcName
IS
BEGIN
...
END

vs

PROCEDURE ProcName
AS
CURSOR CurName
IS
select statement;

thanks

Answer : procedure syntax

One minor difference...
They are synonyms for packages and procedures, but not for cursors

http://stackoverflow.com/questions/230348/what-is-the-difference-between-as-and-is-in-an-oracle-stored-procedure

apart from this i think there is no difference
Random Solutions  
 
programming4us programming4us