|
hi, i am manish kumar how to create stored procedures in SQL server 2005, and relationship to primary and candidate key.
(comments are locked)
|
|
To create a stored procedure use the following syntax:
..and execute that as a query An may I suggest that you look it up further in Books Online (The SQL Server help, reacable from inside Management Studio help menu) to get more info about such things as parameters +1 - for suggestion to refer to BOL.
Feb 02 '10 at 05:31 AM
Fatherjack ♦♦
(comments are locked)
|
|
In SQL 2005, When you select NEW Stored procedure, it will create a template for you. It looks like this - CREATE PROCEDURE dbo.YOUR_STOREDPROCEDURE_NAME
AS BEGIN
END GO
(comments are locked)
|

