Create stored procedure | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Create stored procedure

17th Dec 2017, 5:00 AM
pooja sutar
pooja sutar - avatar
9 Answers
0
What do you mean by stored procedure. Is it in sql server or do you mean method in c#.
17th Dec 2017, 7:06 PM
sneeze
sneeze - avatar
0
Yes..this one
18th Dec 2017, 12:07 AM
pooja sutar
pooja sutar - avatar
0
Please elaborate more, option 1 or option 2.
18th Dec 2017, 7:06 AM
sneeze
sneeze - avatar
0
Which option?
19th Dec 2017, 8:14 AM
pooja sutar
pooja sutar - avatar
0
Which option?
19th Dec 2017, 8:14 AM
pooja sutar
pooja sutar - avatar
0
You want to create a stored procedure in sql server ?
19th Dec 2017, 8:24 AM
sneeze
sneeze - avatar
0
Yes
19th Dec 2017, 8:30 AM
pooja sutar
pooja sutar - avatar
0
Sorry I went of the radar for sometime. Hope this answer is still valuable for you. A stored procedure is a group of sql statement that can be repeated multiple times. It is created and stored in a special location In my sql express 2014 it is in Databases-> my database -> Programmability -> Stored procedures Click left mouse on Stored Procedure and choose option Stored Procedure (this how it work in my sql express server in other version is can be different) This creates a stored procedure template. Have a look at this link to see how a stored procedure is create in sql server https://technet.microsoft.com/nl-nl/library/ms345415(v=sql.110).aspx This link explains more about the contents (sql statements) of a stored procedure https://www.mssqltips.com/sqlservertutorial/160/sql-server-stored-procedure-tutorial/
29th Dec 2017, 9:13 PM
sneeze
sneeze - avatar
0
Ohh thank u
30th Dec 2017, 4:41 AM
pooja sutar
pooja sutar - avatar