Forum Replies Created

Viewing 15 posts - 1,276 through 1,290 (of 1,837 total)

  • RE: What's Your Backup Speed?

    this is averages over a few months:

    average database size was 186 GB, on Compellent SAN

    average backup time (using TSQL commands, with compression) to external Drobo disk array was 20 minutes

    average...

  • RE: Exclude the negative value in OT calculation

    sgmunson (11/3/2016)


    ...

    Honestly, it does seem as though the query is close, but lacks the rigor that would be present if the poster really understood the nature of the existing data....

  • RE: Talking baseball

    SQLDCH (11/3/2016)


    ...How's 3-1 feel to Cleveland now?

    The way I look at it, the Indians stood toe-to-toe with the best team in baseball for 7 games, only really having two and...

  • RE: Server Hardware or Coffee?

    I worked at a .com company before for 3 years, and the problem I had there was that they often ran into unknown unknowns. The people building the hardware...

  • RE: Total by Group.

    drew.allen (11/2/2016)


    Given the numerous threads the OP has started on what appears to be the same exact query, I think that this task is simply too complex to be handled...

  • RE: Total by Group.

    philand3 (11/2/2016)


    hi here OT is computed from dutyhours vs hoursworked.

    i am not looking t OT instead my issue is with dutyhours incorrect computation.

    Checking again to see where went wrong with...

  • RE: Total Sum is not Calculating in event of Multiple Clock events

    sgmunson (11/2/2016)


    While this appears to be "fixed"... I have to ask why an hour is being added to the creation date to get the event date?

    This is from another...

  • RE: Audit table to Slowly Cganging Dimension Type 2 Table

    You could easily make the first record reflect the termination date by doing this:

    SELECT p.person_id AS PersonID, j.old_job AS JobTitle, p.start_date AS StartDate, ISNULL(p.Termination_Date, DATEADD(day, -1, j.effective_date)) AS EndDate

    ...

  • RE: Record Selection

    if this query is only ever meant to return 1 row, then maybe instead of calculating a generic flag 'x' in the CASE statement, calculate a preference:

    SELECT TOP 1 *,...

  • RE: Total Sum is not Calculating in event of Multiple Clock events

    OK, wait... maybe this line is the problem:

    else sum(( [minutes] /60.0) - [Dutyhours] )

    should be:

    else sum(( [minutes] /60.0)) - [Dutyhours]

  • RE: Total Sum is not Calculating in event of Multiple Clock events

    We can't without seeing the data for person_num 00010272 which is the one you said is calculating OT wrong.

  • RE: Create function and SP

    check if the user has permissions for the dbo schema, they probably need:

    GRANT ALTER ON SCHEMA::dbo TO

  • RE: Total Sum is not Calculating in event of Multiple Clock events

    philand3 (11/1/2016)


    Hi,

    For Data Definition Language please refer my first page.

    BR

    I think people are asking for the create table statement of your erp.action and erp.action_history tables since that is what you...

  • RE: Audit table to Slowly Cganging Dimension Type 2 Table

    I think the best way to handle this will be a self join, probably on a temp table that has just the relevant rows from the audit table, maybe something...

  • RE: The Forever Technology War

    call.copse (11/1/2016)


    It seems very easy to assume others will obviously understand x, y and z technology due to their experience and general intelligence. Sadly I often do this and feel...

Viewing 15 posts - 1,276 through 1,290 (of 1,837 total)