What is Stored Procedure?

What is Stored Procedure?

What is Stored Procedure?

View Answers

November 18, 2010 at 12:23 PM

Hi,

Here is the answer,

A stored procedure is a named group of SQL statements that have been previously created and stored in the server database. Stored procedures accept input parameters so that a single procedure can be used over the network by several clients using different input data. And when the procedure is modified, all clients automatically get the new version. Stored procedures reduce network traffic and improve performance. Stored procedures can be used to help ensure the integrity of the database.

e.g. sphelpdb, sprenamedb, sp_depends etc.

Syntax is-

CREATE PROCEDURE procedure_name
@param data_type = default_value,
@param data_type = default_value,
@param data_type = default_value
AS

BEGIN
   DELETE FROM  Employees
   WHERE  EmployeeId = @EmployeeId;
END









Related Tutorials/Questions & Answers:
What are the advantages of using Stored Procedures?
stored procedures
Advertisements
stored procedures
Stored procedures
ModuleNotFoundError: No module named 'django-stored-procedures'
check all database stored procedures - JDBC
What is Overloading of procedures ?
What is Stored Procedure?
Stored Procedures and Functions
Illatis StepIn - Debugger for MySQL procedures
Stored Procedure and Trigger
stored procedure
procedures to create struts projects?
What is BIOS?
JPA 2.1 Stored Procedure Example
stored procedure
What is procedure
ModuleNotFoundError: No module named 'django-event-procedures'
ModuleNotFoundError: No module named 'django-event-procedures'
ModuleNotFoundError: No module named 'stored'
advantage of stored programs
where this file is stored
Processing stored procedure in MySQL - SQL
Resize image stored in database
Fastest way to upload huge raw data in database - c#, Java or stored procedure
image stored in mysql
Retriving data stored in database
receive a ResultSet from a stored procedure
update date from stored procedure
What is JDBC?
to read data stored in ArrayList - Struts
What is Trigger?
ModuleNotFoundError: No module named 'django-stored-queryset'
ModuleNotFoundError: No module named 'django-stored-settings'
ModuleNotFoundError: No module named 'django-stored-settings'
ModuleNotFoundError: No module named 'django-stored-messages'
ModuleNotFoundError: No module named 'django-stored-settings'
ModuleNotFoundError: No module named 'django-stored-queryset'
ModuleNotFoundError: No module named 'django-stored-filters'
ModuleNotFoundError: No module named 'django-stored-queryset'
Records are not inserting in to main table while running the mysql stored procedure.
where are program instructions and data values stored
image upload and stored in database - JSP-Servlet
image upload and stored in database - JSP-Servlet
What is the difference between static and dynamic SQL?
creating and executing stored procedure using hibernate
What is RDBMS?
how to display or retrive an image in jsp whose path is stored in oracle database
code to validate username password of gmail and procedures to establish jdbc connectivity to store unread mails and retreive it..
code to validate username password of gmail and procedures to establish jdbc connectivity to store unread mails and retreive it..

Ads