Answers for "select stored procedure in sql server"

SQL
8

sql server stored procedure

CREATE PROCEDURE spGetEmployeeCountByGender
@Gender nvarchar(20),
@EmployeeCount int Output
AS
BEGIN
SELECT @EmployeeCount = COUNT(Id) 
FROM tblEmployee 
WHERE Gender = @Gender
END
Posted by: Guest on February-17-2021
0

create select stored procedure in sql server

CREATE PROCEDURE sp_getRaces
AS
BEGIN 
SELECT * FROM dbo.Races
END ;
Posted by: Guest on November-09-2020

Code answers related to "select stored procedure in sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language