Forum Replies Created

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

  • RE: Staging Data

    The staging area would be used for the data warehouse and other processes as needed, at this time most of the ETL is handled in the SSIS packages pulling from...

  • RE: SSRS Distribute Report by Person/Report Bursting

    Thank you so much!

  • RE: Consecutive Row Number

    Thank you all so much!

  • RE: Consecutive Row Number

    Thank you so much that looks like it works!

  • RE: Consecutive Row Number

    Sorry for the confusion. Here is additional sample data;

    Create Table #Goals (

    PersonId INT

    , GoalDate Datetime

    , GoalStatus INT

    )

    INSERT INTO #Goals (PersonId, GoalDate, GoalStatus) VALUES ('125600','1/10/2013','1')

    INSERT INTO #Goals (PersonId, GoalDate, GoalStatus)...

  • RE: Consecutive Row Number

    Here is some additional sample data

    Create Table #Goals (

    PersonId INT

    , GoalDate Datetime

    , GoalStatus INT

    )

    INSERT INTO #Goals (PersonId, GoalDate, GoalStatus) VALUES ('125600','1/10/2013','1')

    INSERT INTO #Goals (PersonId, GoalDate, GoalStatus) VALUES ('125600','1/12/2013','0')

    INSERT INTO #Goals...

  • RE: Consecutive Row Number

    No, if the next record is GoalStatus=0 the consecutiveCount goes to 0. Then the next record where GoalStatus=1 the consecutivecount goes to 1.

  • RE: Consecutive Row Number

    Sorry about that. Here ya go;

    GoalStatus; 1= Success, 0=UnSuccessfully

    Create Table #Goals (

    PersonId INT

    , GoalDate Datetime

    , GoalStatus INT

    )

    INSERT INTO #Goals (PersonId, GoalDate, GoalStatus) VALUES ('125600','1/10/2013','1')

    INSERT INTO #Goals (PersonId, GoalDate,...

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