Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • Reply To: Calculating Age

    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) -...

  • Reply To: Calculating Age

    DECLARE @DOB DATETIME, @CurrDT DATETIME, @YY INT, @mm INT, @DD INT

    SET @CurrDT = GETDATE()

    SET @DOB = '1984-11-12'

    SET @YY = YEAR(@CurrDT) - YEAR(@DOB)

    SET @mm = MONTH(@CurrDT) -...

Viewing 2 posts - 1 through 2 (of 2 total)