Forum Replies Created

Viewing 15 posts - 2,341 through 2,355 (of 2,442 total)

  • RE: Export Wizard to Excel

    Brian Burke (9/4/2008)


    if you can put up with having to open excel manually, you can simply paste the result + headers...make sure you have the option to copy result headers...

  • RE: Thinking of starting a dating site for DBAs

    rbarryyoung (9/3/2008)


    jminette (9/2/2008)


    Where database professionals can merge join based on 27 parameters in our stored procedure of compatibility.

    Hmmm, sounds like a performance problem. 😛

    Throw more hardware at it ....

  • RE: Trouble finding the max(units) OR max(revcode) from resultset

    Great suggestions, but I'm looking to actually update the production db so that rather than just collecting the info, the script will do the work and just populate the correct...

  • RE: Trouble finding the max(units) OR max(revcode) from resultset

    Sergiy (8/27/2008)


    You welcome.

    It's easy to give fast response on so well prepared question as yours one. 🙂

    Another hint regarding this query:

    if it's used much make sure you've got clustered index...

  • RE: Trouble finding the max(units) OR max(revcode) from resultset

    Sergiy (8/27/2008)


    This might be your solution:

    SELECT H.claimid, H.servunits, MAX(H.revcode) as revcode

    FROM #myHead H

    INNER JOIN (

    SELECT claimid, MAX(servunits) servunits

    FROM #myHead

    GROUP BY claimid

    ) DT ON DT.claimid = H.claimid and DT.servunits = H.servunits

    GROUP...

  • RE: Trouble finding the max(units) OR max(revcode) from resultset

    bitbucket (8/27/2008)


    I want to return only one line per claim. I want to know the claimid and revcode for each claim,

    Try this as your select statement

    SELECT claimid, Max(revcode) AS 'RevCode'

    FROM...

  • RE: If You Ain't Cheatin'

    blandry (8/25/2008)


    Timothy (8/25/2008)


    Sometimes cheaters don't get their comeuppance.

    It's worse than that - look at Major League Baseball. Sammy Sosa, Barry Bonds, Mark MacGwire, Jason Giambi, and so many more...

  • RE: If You Ain't Cheatin'

    Steve Jones - Editor (8/25/2008)


    I think we'd never have societies if we weren't basically good, but there's definitely a lot of room to fall.

    I don't know, Steve. If there's...

  • RE: If You Ain't Cheatin'

    Jack Corbett (8/25/2008)It's okay to run that red light because it's midnight and there isn't any traffic.

    . . . and I only had two beers, I'm not drunk.

    I...

  • RE: The Training Value

    majorbloodnock (8/20/2008)


    Anirban Paul (8/20/2008)


    ...a lot of companies (Read Management) do not keen of providing quality training to their people....beacuase of fear that employee will leave after training.

    ...which is, of...

  • RE: Hidden RBAR: Triangular Joins

    kathyoshea (8/15/2008)


    I've never really gotten a handle on execution plans and was hoping to use the code in the article to understand them a bit more. However, the code in...

  • RE: The Training Value

    Here, they pay tuition reimbursement up to $2500 a year, and if you attend conferences/training they're technically supposed to subtract those costs from your specific tuition reimbursement (total dept budgets...

  • RE: Hidden RBAR: Triangular Joins

    Steve & company led you in with "T-SQL Crackerjack Jeff Moden..." on today's feature - does that mean there's a prize in every Jeff? :w00t:

  • RE: Snooping

    Cees Cappelle (8/13/2008)


    Ian Massy


    If you're going to snoop, think about what you might find and how you would react to it, then think about what would happen if you were...

  • RE: The Active DBA

    Grant Fritchey (8/13/2008)


    Jeff Moden (8/12/2008)


    Now... if you can do that without spilling the Beer you're holding... 😉 The really good ones can do it while taking a sip without...

Viewing 15 posts - 2,341 through 2,355 (of 2,442 total)