Forum Replies Created

Viewing 15 posts - 3,301 through 3,315 (of 5,841 total)

  • RE: Remove or stop caching of specific inserts

    Indianrock (6/21/2011)


    Thanks Kevin, we are going to test forced parameterization on our dev environment. I checked yesterday and in production 20,000 of the 40,000+ cached plans are these single-use...

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

  • RE: Data nearing to 4GB. is there is a way to extend size?

    Anyone else find it ironic that a company is moving from a FREE SQL Server product to an Oracle product? :w00t:

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

  • RE: How to see one week before job history

    get a copy of the awesome free tool SQLJOBVIS. Shows agent history as a gantt chart. Great for finding overlaps!

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

  • RE: High CPU, Low Reads

    I agree with Gail. If you really want us to help you understand what you observed you need to give us details about before and after versions of the...

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

  • RE: Remove or stop caching of specific inserts

    Forced parameterization is a sledge hammer and you best test it THOROUGHLY on all parts of the application.

    By far the best way to go, that should also be relatively easy...

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

  • RE: Using a Variable for an IN Predicate

    You should absolutely positively NOT use the CTE for this scenario unless you are guaranteed to have VERY few rows split out AND you do not have any signficant data...

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

  • RE: One procedure to insertupdate all master tables using if statements

    vmssanthosh (6/16/2011)


    hi

    Who is lady gaga?

    This is an American cultural reference to a sometimes strange pop singer. Search the web for any number of VERY interesting pictures of outfits she...

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

  • RE: Row count in temp table

    Sachin4all (6/13/2011)


    Begin Transaction Tran7

    insert into #t (...)

    SELECT ..

    FROM #hs t

    INNER JOIN table1 on

    If @@ERROR <> 0

    Begin

    Rollback Transaction Tran7

    INSERT INTO LogTable Values (7,@@ROWCOUNT,'F',@Startdate,getdate())

    End

    Else

    Begin

    Commit transaction Tran7

    INSERT...

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

  • RE: When is shrinking a data file acceptable?

    Dan.Humphries (6/16/2011)


    Not to beat the proverbial dead horse here but I thought I would point out one such situation where we do a regular shrink of database files. I...

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

  • RE: Deadlocks Solution

    GilaMonster (6/16/2011)


    I haven't, I'm busy with deadlock graphs and a performance intervention for a paying client. Maybe someone else has some time (deadlock problems aren't quick)

    Nope, they sure aren't. ...

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

  • RE: Update Triggers

    NOTE: I just came across columnar auditing at a client a few weeks ago. I found through testing that these triggers slowed down the DML by TWO ORDERS OF...

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

  • RE: One procedure to insertupdate all master tables using if statements

    G-d it pains me to say this but I actually agree with Joe Celko. This is an absolutely, ridiculously bad idea!!!

    With code generation tools you can have...

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

  • RE: When is shrinking a data file acceptable?

    1) please tell the vendor that TheSQLGuru said they have their heads up their collective @sses. Also tell them that they need to get me or some other qualified...

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

  • RE: Database Mirroring Problems

    Everyone PLEASE understand that database mirroring is an ADVANCED topic and you REALLY need to study up and practice with it in a test environment before pursuing it. Even...

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

  • RE: New SP_WHO3

    Can you please share with us what those "more useful options" might be please?

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

Viewing 15 posts - 3,301 through 3,315 (of 5,841 total)