Forum Replies Created

Viewing post 1 (of 1 total)

  • Reply To: 60 Second Rolling Avg With Different Starting Points

    This script can be used for sample data. Thank you.

    -- Setup some testdata

    if object_id('tempdb..#t_measures') is not null

    drop table #t_measures

    create table #t_measures (

    jobid int, offset int, tempdata float

    , dt datetime

    )

    insert into #t_measures (

    jobid, offset, tempdata

    )

    values (1,...

Viewing post 1 (of 1 total)