Regards, Sunil
G.Varun
CREATE PROCEDURE AddCategory -- Add the parameters for the stored procedure here @Category NVARCHAR(15), @CategoryID INT OUTPUT AS BEGIN SET NOCOUNT ON; -- Insert statements for procedure here INSERT INTO Categories (CategoryName) VALUES (@Category) SET @CategoryID = SCOPE_IDENTITY() END
Thanks, Sanjay
Login to post response