Forum Replies Created

Viewing 15 posts - 391 through 405 (of 428 total)

  • RE: Snapshots

    Grr... I knew I was going to get this one wrong. I knew you could only revert if there is only on snapshot, but it is possible to restore...

  • RE: Performance Monitoring

    If restarting the server before the test is not an option, you could reset the plan cache using DBCC FREEPROCCACHE

  • RE: DBCC CHECKDB WITH TRY/CATCH

    Thank you Roberto for an interesting question.

    Thanks Christian for the follow-up with some very useful details!

  • RE: Performance Monitoring

    Hi gmamata7,

    You didn't really say what the top queries are rated by (disk IO, cpu time, etc..)

    Here is a query I use to find cached plans with tablescans in them.

    I've...

  • RE: XML index

    Good to know, and makes sense. Thanks for the question!

  • RE: How to Suppress Warning Message "join order has been enforced because a local join hint is used"

    You could try adding SET ANSI_WARNINGS OFF to your procedure.

    I know this will supress the "Null value has been eliminated by an aggregate function..." messages. I assume...

  • RE: Why is syntax different?

    Most comparitors will implicitly pad strings before comparing them, but LIKE will only do this if the whitespace is on the right.

    Try this and see if it works:

    Select * from...

  • RE: Database

    Good question. Thanks for keeping the answers straight-forward!

  • RE: String Length

    Nice question!

    It really bugs me that len() trims whitespace padding on the right.

  • RE: Index Types

    Correct answers: 2% (8)

    Incorrect answers: 98% (328)

    Total attempts: 336

    How did 8 people manage to get this one correct?

  • RE: Index defaults 2

    Toreador (6/27/2012)


    vk-kirov (6/26/2012)


    I can create an index by means of a unique constraint

    That's exactly the basis on which I answered "None unless the rest of the statement creates one", which...

  • RE: Temp Tables

    mtassin (6/25/2012)


    sestell1 (6/25/2012)


    I was always under the impression that there was no reason to create indexes on table variables because they exist only in memory.

    Does anyone know what SQL Server...

  • RE: Temp Tables

    I was always under the impression that there was no reason to create indexes on table variables because they exist only in memory.

    Does anyone know what SQL Server actually does...

  • RE: Restricting updates?

    Koen Verbeeck (6/22/2012)


    Very interesting question. I never use this syntax with the correlated subquery, so it would have been nice to give a bit more explanation on that.

    +1

    Thank you Hugo...

  • RE: Create Database

    SQLRNNR (6/21/2012)


    Thomas Abraham (6/21/2012)


    tommyh (6/21/2012)

    Works just fine to attach a database with just "for attach" with only one log file.

    /T

    I figured it would. But it's nice to have it...

Viewing 15 posts - 391 through 405 (of 428 total)