↧
Answer by sachin for How to write stored procedure?
USE [SchoolData]GOFor getting the all dataSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOcreate procedure [dbo].[GetDepartment]asselect Id,Name,Description,IsDeleted from Departmentswhere IsDeleted=0
View ArticleAnswer by kevev22 for How to write stored procedure?
You are looking for the INSERT statement.CREATE PROCEDURE InsertTerritory ( @territoryId int ,@territoryDescription nvarchar(200) ,@regionId int)ASBEGIN INSERT INTO Territories (Id, [Description],...
View ArticleAnswer by David Horák for How to write stored procedure?
Microsoft How to: Create a Stored Procedure (SQL Server Management Studio)
View ArticleHow to write stored procedure?
I am learning how to write a stored procedure. I kinda get it but I don't.I know it goes something like this..CREATE PROCEDURE|PROC <sproc name>[<parameter name> [schema.]<data type>...
View Article