GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  RDBMS
Go To First  |  Previous Question  |  Next Question 
 RDBMS  |  Question 10 of 18    Print  
what is the difference between IS and AS keyword in procedures,
and also tell me the diff between Restricted and Unretsricted Procedure

  
Total Answers and Comments: 3 Last Update: April 04, 2007     Asked by: naresh83 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 12, 2006 07:41:38   #1  
mazhar        

RE: what is the difference between IS and AS keyword i...
IS keyword is the Synonym of AS. the difference is that when we use the keyworld IS then we must use the DECLARE Keyword to define the variables used in the procedure to follow... whereas if we use the keyword AS we need not to use the DECLARE keyword to define the variables directly we can start the BEGIN clause..
 
Is this answer useful? Yes | No
February 19, 2007 08:47:28   #2  
shailendra_suman        

RE: what is the difference between IS and AS keyword i...

I don't think there is any difference.  I tried both and worked fine
SQL>
SQL> create procedure testing is
  2 
  3  begin
  4 
  5  dbms_output.put_line('Testing for IS Syntax');
  6 
  7  end;
  8 
  9  /

Procedure created.

SQL> drop  procedure testing ;

Procedure dropped.

SQL> create procedure testing as
  2 
  3  begin
  4 
  5  dbms_output.put_line('Testing for AS Syntax');
  6 
  7  end;
  8 
  9  /

Procedure created.


 
Is this answer useful? Yes | No
April 04, 2007 06:59:00   #3  
sachin s        

RE: what is the difference between IS and AS keyword i...
IS Predicate comes with Create and AS comes with replace.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape