I Created one stored procedure
Create Procedure [dbo].[GetEmployeesDates]
@StartDate as varchar(50),
@EndDate as varchar(50)
as
begin
SELECT *
FROM [ERS].[dbo].[employee] where Date>=@StartDate and date<@EndDate
now
if i pass the parameters i need get the date between range
and also i need to get the date without passing the parameters
how can i do this one
please help me
thanks
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Rafnas T PRank #280 · 8.8K pointsPosted Aug 17, 2018, 1:48 AM EDT
1 short reply
Mahesh Babu158 pointsPosted Aug 17, 2018, 2:09 AM EDT