| looking for a brokerage account or IRA... click here | Add To Favorites |
| return to index | |
|
SQL Create Procedure Creating a store procedure in SQL is very easy. It is useful because SQL learns more about the process everytime it executes it. This helps processing time in the future. The below example will take a value for an id and return that row, else return the row with id=1.
DECLARE PROCEDURE sp_Example
@rowid int = 1
AS
SELECT * FROM myTable WHERE rowid=@rowid
Additional Interesting Articles t-SQL Cursor ©2008 AndrewKimball.com |
|