Forum Replies Created

Viewing 15 posts - 226 through 240 (of 600 total)

  • RE: Date issue - one week

    darn it....it's not right...not filtering by week...

    I changed it (a little)..

    SELECT

    E.eecCoID AS 'Rec ID',

    E.EecEEID AS 'Emp ID',

    eepNameFirst AS 'First Name',

    eepNameLast AS 'Last Name',

    EecDateOfOriginalHire AS 'Service Date',

    EecDateOfTermination

    FROM...

  • RE: Date issue - one week

    I think that's it....checking now..

    Thank you so much Andy!

  • RE: Date issue - one week

    Okay here's everything I have so far...runs, but not correct results...not filtering by week..

    can't figure out why

    --With Terminations

    SELECT

    ----DATEPART(YEAR, e.eecDateOfLastHire) as 'Year of Hire',

    --EEPDATEOFBIRTH,

    CmpCompanyCode as 'Company Code',

    E.EecOrgLvl2 as 'Org Level',

    cmpCompanyName as...

  • RE: Date issue - one week

    I'm close but this isn't right....

    (SELECT MAX(EC.eecDateOfTermination) FROM EMPCOMP EC WHERE EC.EecEEID = E.EECEEID AND (eC.eecDateOfTermination <= (SELECT DATEADD(wk,DATEDIFF(wk,0,GETDATE()),0)) AND (EC.eecDateOfTermination is not null OR EC.eecDateOfTermination >= (SELECT DATEADD(wk,DATEDIFF(wk,0,GETDATE()),6)))))...

  • RE: Updating first three characters

    Exactly what I needed.

    Thanks Jeff.

  • RE: Getting Duplicates

    Sorry.

    Is there a way to eliminate the duplicate Employees, taking only the latest prgpaydate in the CTE?

  • RE: Database Mirroring - witness

    So really in my worst case senario the adding the witness doesn't help me much.

    Thanks for all the help Lynn.

    -->sending you good karma<--- 🙂

  • RE: Database Mirroring - witness

    Did you force a failover or did you break the mirror then do a restore database with recovery on the mirror database to bring it live?

    Lets say the power goes...

  • RE: Database Mirroring - witness

    That sounds like a misconfigured environment. Mirroring won't require setting up from scratch unless people break the mirroring instead of failing over.

    Maybe then I'm doing something incorrectly..

    I have two...

  • RE: Database Mirroring - witness

    If I read this correctly, asyncronous mirroring is only possible with Enterprise Edition. Using Standard Edition you must use syncronous mirroring (with or without a witness).

    Okay..

    I'm stuck with using standard...

  • RE: Show contig - how concerned should I be?

    thanks guys

  • RE: Show contig - how concerned should I be?

    thanks George

  • RE: 40 gig trans log

    Ahh...interesting stuff Craig.

    Guess the bottom line is, I gotta setup 'normal' backups.

    Thanks Lynn, Craig. Much appreciated.

  • RE: 40 gig trans log

    Okay. My understanding is that they are only using NetApp to backup/snapshot those instances. Not the entire VM.

    If the above is indeed the case, is there anything I can do...

  • RE: 40 gig trans log

    Oops! Sorry my apologies to both...long day.

    So, bottom line -

    Using NetApp to backup is not supported by Microsoft, correct?

    Only real solution is to create 'normal' SQL backps

Viewing 15 posts - 226 through 240 (of 600 total)