GeekInterview.com
Home
Tech Articles
Code Samples
Learn
Freelance Projects
Online Testing
Geek Talk
Job Postings
Knowledge Base
Geek Blogs
Question Bank
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
I am new,
Sign me up!
User Name
Remember Me?
Password
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
GeekInterview.com
>
Interview Questions
>
Database
>
Stored Procedures
Go To First
|
Previous Question
|
Next Question
Stored Procedures
| Question 3 of 12
Print
What is the difference between "IS" and "AS" while creating procedure. Ex:- create procedure
IS or AS?
Total Answers and Comments:
5
Last Update: May 26, 2008 Asked by:
Shekhar
Sponsored Links
Best Rated Answer
—
Submitted by
:
krishnaindia2007
Both are same.
Above answer was rated as good by the following members:
h.karamshil
April 18, 2006 03:10:29
#1
prafull.vn
Member Since: March 2006 Contribution: 10
RE: what is the difference between "IS" and "AS" while...
both are equivalent .. Just replacement of DECLARE keyword in declarative section.
Is this answer useful?
Yes
|
No
September 17, 2007 14:39:35
#2
gopikumar
Member Since: September 2007 Contribution: 1
RE: What is the difference between "IS" and "AS" while...
There is no difference between "IS" and "AS" in Procedures........
We can use any of them while creating a procedure.
Is this answer useful?
Yes
|
No
March 10, 2008 03:19:06
#3
sampra
Member Since: February 2008 Contribution: 278
RE: What is the difference between "IS" and "AS" while creating procedure. Ex:- create procedure IS or AS?
both are same
Is this answer useful?
Yes
|
No
May 23, 2008 07:12:10
#4
praveengowda
Member Since: August 2007 Contribution: 3
RE: What is the difference between "IS" and "AS" while creating procedure. Ex:- create procedure IS or AS?
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;
Is this answer useful?
Yes
|
No
1
0
Overall Rating:
+1
May 26, 2008 00:21:04
#5
krishnaindia2007
Member Since: September 2007 Contribution: 854
RE: What is the difference between "IS" and "AS" while creating procedure. Ex:- create procedure IS or AS?
Both are same.
Is this answer useful?
Yes
|
No
1
0
Overall Rating:
+1
Go To Top
Sponsored Links
Related Categories
—
Btrieve Interview Questions
Clipper Interview Questions
Database Admin Interview Questions
Firebird Interview Questions
Informix Interview Questions
Microsoft Access Interview Questions
MYSQL Interview Questions
PostgreSQL Interview Questions
Progress Interview Questions
SAP DB Interview Questions
SQL Interview Questions
SQL Server Interview Questions
Stored Procedures Interview Questions
Sybase Interview Questions
Teradata Interview Questions
Unify Interview Questions
Sponsored Links
About Us
-
Privacy Policy
-
Terms and Conditions
-
Contact
-
Ask Question
-
Propose Category
-
Site Updates
Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved