Forum Replies Created

Viewing 15 posts - 4,411 through 4,425 (of 5,841 total)

  • RE: Comparison Between LinQ and NHibernate

    Guess we will have to agree to disagree on this one. In my world, 93.7% of the developers will take the easiest way to slap code together as quick...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Alternative to Over() sum and max applications?

    Consider it job security! That view (especially these days) makes all kinds of things seem more acceptable!

    Hope the refactor really smokes the original version!

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Alternative to Over() sum and max applications?

    shannonjk (11/13/2009)


    That's actually exactly my intended need!

    That solution crossed my mind a few times, the problem is I would have to rewrite the query I have which is over 200...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Slow execution of query when using datetime variables

    The 'best' way to get the optimal plan for most everything covered in this thread is dynamic sql. Yep, you pay a small price for this in compilations and...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Comparison Between LinQ and NHibernate

    Please note my email address for future reference if you intend to have any scale to systems you develop with ANY ORM. You WILL be needing my performance...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Understanding some locks appearing in dead locks

    Read, and REALLY understand, this and the 2 subsequent blog posts. They constitute the Bible of Deadlock Troubleshooting: http://blogs.msdn.com/bartd/archive/2006/09/09/Deadlock-Troubleshooting_2C00_-Part-1.aspx

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: deadlock and transactions

    sajid.mohd (11/12/2009)


    TheSQLGuru (11/12/2009)


    How about simply stepping outside the box (litterally and figuratively) and simply prevent the loading of more than one file of data at a time?? VOILA!! ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Alternative to Over() sum and max applications?

    Not sure I follow exactly, but this query is much more efficient from a read perspective, but it doesn't seem to give the same output as what you have. ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to improve performance of the view with 12 joins

    CirquedeSQLeil (11/12/2009)


    Just ran into a query here @ SSC that has 36 table joins - asking for tips to improve.

    Can you give whomever is asking my contact information please? ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Can I make it efficient????

    1) Buy more CPUs

    2) Buy more RAM

    3) Put TempDB on SSDs (or at least VERY fast IO subsystem), because it is getting CRUSHED by the sorting/grouping

    4) do file IO stall...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: deadlock and transactions

    How about simply stepping outside the box (litterally and figuratively) and simply prevent the loading of more than one file of data at a time?? VOILA!! No more...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Alternative to Over() sum and max applications?

    there certainly are ways to answer aggregate queries without OVER, but they can be significantly LESS performant. As Lynn said, we need tables, data information, queries, and query plans...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Message task buries server

    Can you please describe EXACTLY what behavior you are observing (CPU, IO, paging, etc)? How exactly did you identify this command/spid as the one causing the problem? if...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Tail backup

    Paul White (11/10/2009)


    chk2009 (11/10/2009)


    Thanks for your reply:-)

    How can we do that, can you pls explain me in detail, which command to use.

    It's all documented in the link I provided before....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Introduction to Indexes: Part 2 – The clustered index

    INNOCENT GUMBO

    You will notice in my post about multiple clustered indexes, I put an upside-down smiley at the end. I meant my comment/question as tongue-in-cheek. 😛

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,411 through 4,425 (of 5,841 total)