Forum Replies Created

Viewing 15 posts - 5,116 through 5,130 (of 5,841 total)

  • RE: Rebuilding Indexes not removing defragmentation

    How much free space is in the database? Are you allowing the database to grow using autogrowth or are you proactively sizing the database? If the former, double...

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

  • RE: in sys processes "lastwaittype " showing PAGEIOLATCH_SH

    The server is obviously underpowered for what it is being asked to do. Period.

    Having said that, I would go ahead and try the /3GB switch IF you...

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

  • RE: Errors not caught by TRY CATCH

    I also believe that SELECT INTO #tmp... will be a minimally logged evolution whereas INSERTing into an already created temp table will be fully logged and thus less performant.

    You CAN...

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

  • RE: SQL Server 2005 SP3

    The SQL Server MVPs beat Microsoft up before and during the MVP summit in April. That and many other forces combined to make them realize that they had to...

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

  • RE: Is it possible to SELECT an encrypted column like this ?

    onlo (6/20/2008)


    Thanks for your reply, but could you give examples of what you said : SHA1 hash of the unencrypted value ? What is that ?

    From my earlier post: ...

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

  • RE: VSS For Stored Procedures

    A screenshot or two could be helpful here too. A picture is worth ...

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

  • RE: database tuning engine problem

    My advice is to never use DTA at all!! I have seen it do AWFUL things to databases. Well, actually that works in my favor since I get...

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

  • RE: Allow_Page_Locks

    Here is the Bible on deadlock troubleshooting: http://blogs.msdn.com/bartd/archive/2006/09/09/Deadlock-Troubleshooting_2C00_-Part-1.aspx

    It is certainly conceivable that page lock escalation is involved in your problem. Perhaps you can set all indexes back to...

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

  • RE: Duplicate identification

    Andras Belokosztolszki (6/18/2008)


    indraprakash (6/18/2008)


    thanks,

    But this is not the solution of my query. I want to know how to delete dulicate records without using any new table or any add any...

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

  • RE: Is it possible to SELECT an encrypted column like this ?

    The main problem here is that you can never benefit from index seeks with encrypted columns. Thus performance is going to be suboptimal. To get around this you...

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

  • RE: VSS For Stored Procedures

    Take a look at ApexSQL Edit. Among its many incredible features is very nice source code control integration. Tell them TheSQLGuru sent you and you can pick up...

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

  • RE: Eliminating Cursors

    I strongly encourage everyone who wishes to do so to write "more readable/maintainable" code that involves cursors - and my email address is kgboles@earthlink.net. Keep that handy so you...

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

  • RE: Eliminating Cursors

    Not sure you can use that as a basis for avoiding cursors though. There have been many more bugs fixed (and likely many more exist) where set-based queries are...

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

  • RE: Eliminating Cursors

    Just to make sure everyone understands here, LEAST bad in this case still means greater than 1 ORDER OF MAGNITUDE greater runtime! The fastest TSQL cursor took 13.917 seconds...

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

  • RE: Eliminating Cursors

    Wilfred van Dijk (6/16/2008)


    I agree with Bob. Why write some unreadable code in order to avoid cursors? To my opinion, cursors are easy to implement, very straightforward and the extra...

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

Viewing 15 posts - 5,116 through 5,130 (of 5,841 total)