Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: Date Range or last 6 months of data

    Thanks for the reply!

    Here is what I have been working with today.

    DECLARE

    @StartDate DATETIME = NULL

    ,@EndDate DATETIME = NULL

    SET @StartDate = '2011-08-01'

    SET @EndDate = '2011-08-31'

    SELECT

    pnl.monthdate

    ,customer.custCode

    ,cust.Revenue

    ,pnl.NetRevenue

    ,pnl.NetRevenue -...

Viewing post 1 (of 2 total)