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
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rafnas T PPosted Aug 17, 2018, 5:48 AM
Mahesh BabuPosted Aug 17, 2018, 6:09 AM