C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Stored procedure


Posted Date: 04 May 2008    Resource Type: Definitions    Category: General
Author: Rekha Member Level: Gold    
Rating: Points: 5



A stored procedure is a set of Structured Query Language (SQL) statements with an assigned name that's stored in the database in compiled form so that it can be shared by a number of programs.The use of stored procedures can be helpful in controlling access to data (end-users may enter or change data but do not write procedures), preserving data integrity (information is entered in a consistent manner), and improving productivity (statements in a stored procedure only need to be written one time).





Responses

Author: Vijaykumar Patil    05 May 2008Member Level: Gold   Points : 2
Stored procedure:
A stored procedure is a program (or procedure), which is physically stored within a database. They are usually written in a proprietary database language like PL/SQL for Oracle database or PL/PgSQL for PostgreSQL. The advantage of a stored procedure is that when it is run, in response to a user request, it is run directly by the database engine, which usually runs on a separate database server. As such, it has direct access to the data it needs to manipulate and only needs to send its results back to the user, doing away with the overhead of communicating large amounts of data back and forth.



Author: Vijaykumar Patil    05 May 2008Member Level: Gold   Points : 2
Advantages of Stored Procedure.
Answer:
Stored procedure can reduce network traffic and latency, boosting application performance.
Stored procedure execution plans can be reused, staying cached in SQL Server’s memory, reducing server overhead.
Stored procedures help promote code reuse.
Stored procedures can encapsulate logic. You can change stored procedure code without affecting clients.
Stored procedures provide better security to your data.



Author: venkat kamal    05 May 2008Member Level: Gold   Points : 2
A stored procedure is a set of Standard Query Language statements which can be compiled and stored in a database so that we can use it whenever we wants in any program...........


Author: Deepthi    05 May 2008Member Level: Silver   Points : 2
A stored procedure is a set of SQL statements that can be stored in the server. Once this has been done, clients don't need to keep reissuing the individual statements but can refer to the stored procedure instead.


Author: Shilpa Ginode    05 May 2008Member Level: Gold   Points : 2
We can execute one stored procedure inside another stored procedure.
Just we need to write:
EXEC [STored Procedure 1]
in the second stored procedure.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Assembly
Previous Resource: CLR definition
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use