Viewing 2 posts - 1 through 2 (of 2 total)
DECLARE @DOB DATETIME, @CurrDT DATETIME, @YY INT, @mm INT, @DD INT
SET @CurrDT = GETDATE()
SET @DOB = CONVERT(DATETIME,@Filter1,101)--'1984-11-12'
SET @YY = YEAR(@CurrDT) - YEAR(@DOB)
SET @mm = MONTH(@CurrDT) -...
October 1, 2024 at 4:43 pm
#4464261
SET @DOB = '1984-11-12'
October 1, 2024 at 4:32 pm
#4464258