shah Momin

shah Momin

  • NA
  • 176
  • 21.7k

HOW TO COUNT PRESENT IN CURRENT DATE

Jul 19 2022 9:01 PM

 

GO
ALTER PROCEDURE [dbo].[UIPKGREPORTING_spFetchTotalUserCount]
@tpye varchar(50)
AS
BEGINSET NOCOUNT ON;SELECT COUNT(*) FROM tblvolunteerSELECT COUNT(*) FROM tblvolunteerleaverecordDECLARE @MyDateTime DATE = GETDATE();SELECT COUNT(*)  FROM tblattendancelog where type='Present'END

line Number 12 i wan add current date


Answers (2)