Forum Replies Created

Viewing 15 posts - 4,801 through 4,815 (of 5,841 total)

  • RE: Hidden RBAR: Triangular Joins

    1) http://sqlblog.com/blogs/hugo_kornelis/archive/2007/11/28/poor-men-see-sharp-ndash-more-cursor-optimization.aspx. Don't forget to examine the original post mentioned at the top.

    2) to Joe: there are several implementations for regex that developers (both XP-based and CLR-based) can...

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

  • RE: Hidden RBAR: Triangular Joins

    Yep... already admitted that. CLR's are better at most RegEx and file handling. With those two exceptions (so far), and with only rare exception, people can usually at...

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

  • RE: Hidden RBAR: Triangular Joins

    Besides... I need to see the crap code someone raced a CLR against... people that can't think of set based solutions are usually pretty crappy cursor writers, as well.

    Sorry, posted...

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

  • RE: Hidden RBAR: Triangular Joins

    Jeff Moden (1/17/2009)


    TheSQLGuru (1/17/2009)


    1) there is less tempdb storage overhead to a cursor (some of them anyway) than putting the entire set of data in tempdb.

    Heh, ok, you said it,...

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

  • RE: Hidden RBAR: Triangular Joins

    Jeff Moden (1/16/2009)


    TheSQLGuru (1/16/2009)


    Tempdb constraints come to mind here. 🙂

    I sure do wish someone with CLR knowhow (and some free time) would take the opportunity to do some CLR...

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

  • RE: Hidden RBAR: Triangular Joins

    Tempdb constraints come to mind here. 🙂

    I sure do wish someone with CLR knowhow (and some free time) would take the opportunity to do some CLR code you could...

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

  • RE: Hidden RBAR: Triangular Joins

    Jeff, it strikes me that pretty much all of your examples here and in other threads have a clustered index on the key of concern. What happens when it...

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

  • RE: Hidden RBAR: Triangular Joins

    Jeff:

    1) For your follow-on articles, when you demonstrate the 'tsql trick' solution, please make sure you caveat the hell out of it about how and why you can get incorrect...

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

  • RE: PeopleSoft sp_cursorexecute Slow after Upgrade to 2005

    One other thing to check: SSMS has a specific set of SET statements that it executes on connection and whatever API Peoplesoft uses to connect has another. Check...

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

  • RE: Is using triggers the only way of auditing updates of table rows?

    Marios Philippopoulos (1/8/2009)


    TheSQLGuru (1/8/2009)


    It is my belief that even if you rewrite the trigger to only do the audit update on rows where something is different between inserted and deleted...

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

  • RE: Hash Joins and Indexes

    Mark, do this - FORCE sql server to use the two indexes you think it should use (from mytable WITH (INDEX=myNCindex)...). Now show the estimated query plan for that...

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

  • RE: Is using triggers the only way of auditing updates of table rows?

    It is my belief that even if you rewrite the trigger to only do the audit update on rows where something is different between inserted and deleted the trigger will...

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

  • RE: Temp tables vs. table variable speeds, temp tables faster???

    I think there are PLENTY of common (and uncommon) ways for SQL Server based apps to perform suboptimally. 🙂 Plus, just because some schmo like me says something...

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

  • RE: Custom Pagination in SQL Server 2005

    Peter, I couldn't really follow the code you had. Was it supposed to be just separate batch files or was some/all of it supposed to be wrapped up in...

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

  • RE: Custom Pagination in SQL Server 2005

    Which is why I was saying it should be decompiled down to it's logical equivalent, which will do the right thing:

    create table #t (fname varchar(20))

    insert #t (fname)

    select top 100 'asdf'

    from...

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

Viewing 15 posts - 4,801 through 4,815 (of 5,841 total)