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  >  Interview Questions  >  J2EE  >  JDBC
Go To First  |  Previous Question  |  Next Question 
 JDBC  |  Question 4 of 135    Print  
What is stored procedure. How do you create stored procedure

  
Total Answers and Comments: 10 Last Update: July 03, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 23, 2005 07:31:08   #1  
Roby        

RE: What is stored procedure. How do you create stored procedure
Stored Procedure is a stored program in the datbase
 
Is this answer useful? Yes | No
May 30, 2005 07:30:44   #2  
SaiSrinivas        

RE: What is stored procedure. How do you create stored procedure
Stored Procedure is a stored program in database, PL/SQL program is a Stored Procedure. Stored Procedures can be called from java by CallableStatement
 
Is this answer useful? Yes | No
June 02, 2005 05:35:30   #3  
moshe dayan        

RE: What is stored procedure. How do you create stored procedure

A stored procedure is a group of SQL statements that form a logical unit and perform a particular task. Stored procedures are used to encapsulate a set of operations or queries to execute on a database server. For example, operations on an employee database (hire, fire, promote, lookup) could be coded as stored procedures executed by application code. Stored procedures can be compiled and executed with different parameters and results, and they may have any combination of input, output, and input/output parameters.


 
Is this answer useful? Yes | No
June 30, 2005 06:41:23   #4  
Arundathi        

RE: What is stored procedure. How do you create stored procedure
A precompiled collection of SQL statements stored under a name and processed as a unit.  
Stored procedures can:  
1.Accept input parameters and return multiple values in the form of output parameters to the calling procedure or batch. 
2.Contain programming statements that perform operations in the database, including calling other procedures.  
3.Return a status value to a calling procedure or batch to indicate success or failure (and the reason for failure).  

 
Is this answer useful? Yes | No
August 01, 2005 05:03:49   #5  
Subramanyam        

RE: What is stored procedure. How do you create stored procedure
A stored procedure is a set of procedural sql querry which when executed under sql environment will perform those operations which are specified in those sql querry form
 
Is this answer useful? Yes | No
August 24, 2005 03:31:07   #6  
v.vamshi krishna        

RE: What is stored procedure. How do you create stored procedure
send the code for a sample jdbc program
 
Is this answer useful? Yes | No
September 07, 2005 16:18:31   #7  
tulasi        

RE: What is stored procedure. How do you create stored procedure
stored procedure is nothing but a colletion of sql statements with conditional structures to perform one or more tasks combinedly.which is compiled and can call other stored procedures..
 
Is this answer useful? Yes | No
September 22, 2005 19:07:49   #8  
guptach Member Since: September 2005   Contribution: 10    

What is stored procedure. How do you create stored procedure

A stored procedure or function is an object stored in the database, and run as a unit to solve a specific problem or perform a set of related tasks. Procedures and functions permit the caller to provide parameters that can be input only, output only, or input and output values. A procedure is explicitly run by a user, application, or trigger.

Procedures and functions are identical except that functions always return a single value to the caller, while procedures do not.


 
Is this answer useful? Yes | No
October 12, 2005 08:15:32   #9  
Hameed        

RE: What is stored procedure. How do you create stored...
Stored Procedure is an object design with business logic and stored in the database .Since it stays in the database ,the execution of the business logic is more faster...
 
Is this answer useful? Yes | No
July 03, 2008 00:30:06   #10  
pradeepkmr18 Member Since: June 2008   Contribution: 25    

RE: What is stored procedure. How do you create stored procedure
Stored procedure contains set of sQL Statements thar are executed in the database by the sql stament processor.

code:

DECLARE
 NUM1 NUMBER:=10;
 NUM2 NUMBER:=20;
BEGIN
    DBMS_OUTPUT.PUT_LINE('sum:'||To_Char(NUM1+NUM2,'999.99'));
END;

 
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