C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
8
Reply
What is an Stored procedure in SQL?
sudeep s kanakagiri
12y
3.1k
1
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
A stored procedure is a group of Transact-SQL statements compiled into a single execution plan.
Joe Wilson
10y
1
A stored procedure is a group of Transact-SQL statements compiled into a single execution plan.
Kml Surani
10y
1
In simple terms Stored Procedures are a Group of queries which runs simultaneously based on their call , SP are capable of doing complex queries with easily manageable structure with Looping , Conditions , functions etc .
Manav Pandya
7y
0
Stored Procedures are a batch of SQL statements that can be executed in a couple of ways. Most major DBMs support stored procedures; however, not all do. You will need to verify with your particular DBMS help documentation for specifics.To create a stored procedure the syntax is fairly simple:CREATE PROCEDURE
.
AS So for example:CREATE PROCEDURE Users_GetUserInfo@login nvarchar(30)=nullASSELECT * from [Users]WHERE ISNULL(@login,login)=login
Ramesh Maruthi
11y
0
When we write a query again and again then we write that query as a stored procedure and we call that stored procedure name.
Munesh Sharma
11y
0
A SP is a group of sql statement for perform some job in database. To use SP at the place of query is very good and som ADV also..SP is fast then Query.. Security...example:creare procedure student (@name varchar(50) ) as begin select * from student_master where name=@name end
Mukesh Kumar Tiwari
12y
0
A stored procedure is a group of Transact-SQL statements compiled into a single execution plan.
Phani Kumar
12y
0
A stored procedure is a group of Transact-SQL statements compiled into a single execution plan.
Phani Kumar
12y
0
Message