Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Select records between a date range

    declare @DateFrom DateTime = CONVERT(DATETIME, '01/01/2014', 103)

    declare @DateTo DateTime = CONVERT(DATETIME, '01/03/2014', 103)

    ;WITH CTE(dt)

    AS

    (

    Select @DateFrom

    Union All

    ...

Viewing post 1 (of 1 total)