- Okay, create a new query and enter the code…as you see it in the query editor here.…Okay, let's take a look at that code that we just looked at…on the slide and we'll see it execute.…Again, this is straight out of MSDN.…So, we're creating a procedure with two parameters.…And then we're setting the code.…And then we're going to Execute it.…So the first thing we're going to do…is create the Store Procedure.…And let's go and see what happened.…There it is and we'll examine that again in just a second.…
Now you see we can execute the code…and it returns Pilar Ackerman.…Or the other options which will work just fine.…So let's come over here and right-click this Store Procedure…and if we go Modify, you see now…here's my Store Procedure is up…and this auto-procedure and there's my modification.…Or if I right-click it again, Script, Store Procedure As,…and this is the standard stuff I can do,…Drop and Create to, New Query Editor.…
Now this will drop the Store Procedure…and then allow me to go in and edit it.…I point that out because this is, by far, the easiest way…
Author
Released
11/12/2015- Working with SQL Server development tools
- Designing database tables
- Utilizing schemas with tables
- Using constraints to enforce integrity
- Understanding how SQL stores and locates data
- Designing database views
- Working with stored procedures
- Using triggers to modify data
- Creating in-memory databases
Skill Level Intermediate
Duration
Views
Related Courses
-
Querying Microsoft SQL Server 2012
with Gerry O'Brien5h 34m Beginner -
SQL Server 2014: Installation and Administration
with Ron Davis3h 40m Intermediate
-
Introduction
-
Welcome43s
-
-
1. Working with SQL Server Development Tools
-
Managing projects with SSMS7m 30s
-
2. Designing Data Tables
-
Reviewing database normalization11m 23s
-
Introduction to designing tables10m 27s
-
Designing tables9m 12s
-
Altering tables2m 41s
-
-
3. Understanding the Concept of Constraints
-
4. Storage and Indexes
-
How SQL stores data7m 11s
-
5. Designing Views
-
Introducing views7m 28s
-
Creating and managing views2m 38s
-
-
6. Working with Stored Procedures
-
7. Performing Data Modification with Triggers
-
Understanding triggers4m 18s
-
Utilizing triggers4m 1s
-
-
8. In-Memory Databases
-
What is in-memory?9m 45s
-
In-memory: More details7m 5s
-
Creating in-memory tables2m 15s
-
In-memory stored procedures6m 52s
-
Migrating6m 3s
-
-
Conclusion
-
Next steps1m 13s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Using parameters with stored procedures