Forum Replies Created

Viewing 15 posts - 3,751 through 3,765 (of 5,841 total)

  • RE: Update trigger is not working

    Vedran Kesegic (12/29/2010)


    I would do something like this:

    declare @comment1 varchar(100), @comment2 varchar(100)

    if exists(select 1 from inserted)

    if exists(select 1 from deleted) select @comment1 = 'updated - new', @comment2 =...

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

  • RE: Strange CASE

    One additional comment here: that is a VERY inefficient string splitting function. Search the SSC forums for a marvelous string splitting thread with incredible code samples and even...

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

  • RE: First time semi-complex query - its slow!!!

    Please go away Joe. Your rants and caustic attitude were never welcome on the forums and they are not welcome here either. And you obviously failed to see...

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

  • RE: Update Query taking more then expected time

    As usual I am with Jeff. We need table definitions and actual query plans. And those functions around columns in the WHERE clause simply HAVE to go. ...

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

  • RE: Partitioned Indexes

    There is one VERY important point you are missing about table partitioning: it is NOT primarily about performance, but rather for MAINTENANCE/MANAGEMENT. If it also happens to allow...

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

  • RE: Log Shipping

    Steve Jones - SSC Editor (12/27/2010)


    Be aware that when logs are restored, all connections to the database need to be broken, so you might want to adjust your restore schedule...

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

  • RE: Performance challenge

    Seems the OP is focused for some reason on developing a faster primes finder that is NOT one of the known "... Sieves" methods. OP, may I ask WHY...

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

  • RE: NOT IN not working?

    Don't feel bad - this is such a common misconception that I have it as a slide in a "Common TSQL Mistakes" presentation I have given at many SQL Saturday...

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

  • RE: Update trigger is not working

    1) counting records can be VERY inefficient! all you care about in your logic really is if there is ANY row. think of if a batch updated 1M...

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

  • RE: The best configuration to new server with 2 SAS disks

    romulocpd (12/22/2010)


    Hello.

    Since last 6 months I've got several problems with performance in my SQL Server. My server is a Core i7 with 8 GB RAM and disk SATA 500...

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

  • RE: Query performing inconsistently

    Try OPTION (RECOMPILE) perhaps?

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

  • RE: Cursor delete faster

    1) I would like to see the query plans for the 10 row IN delete and also one of the single documentid deletes.

    2) are there any foreign keys present? ...

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

  • RE: Can I tune this?

    Good stuff as always Paul! Bummer is that the optimal index is essentially another copy of the table, which could be large given that it is a DW fact...

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

  • RE: Will my next database slow down my SQL server?

    "... many factors may play a role ..."

    That may qualify as the understatement of the year. You could have a 10MB database that could swamp a quad-quad server or...

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

  • RE: Disk Bytes/sec

    Brian Carlson (12/22/2010)


    Our SAN is a Dell Equilogic. We don't have a SAN administrator, but the SA that takes care of it says that it's an old SAN and nothing...

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

Viewing 15 posts - 3,751 through 3,765 (of 5,841 total)