Forum Replies Created

Viewing 15 posts - 181 through 195 (of 402 total)

  • RE: Can a multi select parameter allow no selection?

    Hi

    Have you considered putting an option in your drop down for "Show None" and toggle your visibility based on that?

    Andy

  • RE: Points balance

    Deleted as misunderstood requirements

  • RE: Create Script of all indexes in a Database

    -- Script out indexes completely, including both PK's and regular indexes, each clustered or nonclustered.

    -- DOES NOT HANDLE COMPRESSION; that's ok, since 2008 R2 RTM benchmarking shows it's faster and...

  • RE: how to check sql server health

    Here is a script that will perform a complete health check.

    This is not my work - all credits are in the comments

    Andy

    [Admin Editor: The copyright owner of the code...

  • RE: Date issue - one week

    No worries, got there in the end 😉

  • RE: Date issue - one week

    Sorry I've done the best I can on my phone and working blind!

    If you could post some sample data and table defs I'm sure we can sort it but it...

  • RE: Date issue - one week

    Does this work?

    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

    EmpPers

    JOIN EmpComp E

    ON E.eecEEID = eepEEID...

  • RE: Repeat Row Headers for a MATRIX (not Tablix)

    (unless you add a vertical TOTAL column)

    I've not got a copy of visual studio anywhere near me at the moment to have a dig around, I'm sure I've done this...

  • RE: Date issue - one week

    No probs 🙂

    The OR operator is a dangerous beast, and you also had your <= >=evaluations the wrong way round 😉

    Andy

  • RE: Date issue - one week

    I'm not at my laptop at the moment however does this work for you?

    --With Terminations

    SELECT

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

    --EEPDATEOFBIRTH,

    CmpCompanyCode AS 'Company Code',

    E.EecOrgLvl2 AS 'Org Level',

    cmpCompanyName AS 'Company Name',

    E.eecCoID AS...

  • RE: Date issue - one week

    You could add these into your WHERE clause for the date range:

    SELECT DATEADD(ww, DATEDIFF(ww,0,GETDATE()), 0) First Day of Last Week

    SELECT DATEADD(ww, DATEDIFF(ww,0,GETDATE()), 0) + 6 -- Beginning of 6th day...

  • RE: So Management Studio Just Closed

    Rob to help alleviate some of that headache in the future, grab the SSIS addin here:

    http://www.ssmstoolspack.com/

    +1

    That has saved me more than once!

  • RE: Order while inserting data from one table to another

    Hi

    SQL does not store data as an ordered set, there is no way to guarantee the order of an INSERT even using an ORDER BY

  • RE: Booked 70-450

    Sorry to hear that Anthony.

    I think that's a good idea mate, have a break for a while, clear your head then give it another crack in a couple of months...

  • RE: Booked 70-450

    anthony.green (6/25/2012)


    Congrats - somewhere good and with good prospects I hope.

    Just been given the go ahead to rebook 70-450 for Thursday, think I will book an earlier one around 8...

Viewing 15 posts - 181 through 195 (of 402 total)