What is the difference between "IS" and "AS" while creating procedure. Ex:- create procedure IS or AS?

Showing Answers 1 - 13 of 13 Answers

gopikumar

  • Sep 17th, 2007
 

There is no difference between "IS" and "AS" in Procedures........
We can use any of them while creating a procedure.

  Was this answer useful?  Yes

There is no difference as such,
We use AS when Stored Procedure is defined in a package if SP is outside pkg we use IS.  Here is the example

Ex: AS
Pakcage Header
create package schema.testpkg as

....
procedure sp_test(....);

end testpkg;

create package body schema.testpkg
is

procedure sp_test(..)
AS
....
end sp_test;

end testpkg;

Ex: IS

create schema.test_sp(....)
IS
..
BEGIN
..
END test_sp;

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions