Forum Replies Created

Viewing 15 posts - 5,926 through 5,940 (of 49,571 total)

  • RE: Installation

    You can only have one default instance on a machine. An installation will create 0 or 1 instances, depending on what is selected. If an instance is installed, it can...

  • RE: Are the posted questions getting worse?

    Thanks all.

    Next step, chat with management so that there are no unpleasant surprises, then start making some changes. And some plans. And some <redacted> :hehe:

  • RE: Cache Manipulation

    Don't.

    Hints are for rare cases. They're for when you absolutely are sure you know better than the query optimiser on the best plan for a query and you know that...

  • RE: Cache Manipulation

    Kinda, but not really. You can force a plan, the USE PLAN hint, but it doesn't mean that it'll use a specific plan in cache, rather that the optimiser will...

  • RE: I need to know why this code is not working

    That's not a SQL Server query. Looks more like MySQL (the limit). You'll probably get better answers on a MySQL forum as this one is dedicated to Microsoft SQL Server.

    Try...

  • RE: Cache Manipulation

    Which cache? There are several of them

    All caches can be explicitly cleared, other than that what kind of manipulation are you interested in?

  • RE: [SQL Server 2008] Problem with Between syntax

    The second query will only return rows where the doTableDate is exactly 03/01/2014 00:00:00, because the upper and lower limits of the BETWEEN are the same

    What do you want it...

  • RE: interview questions

    Chris Wooding (5/15/2015)


    Enya? When the database is down? Surely it has to be Motorhead?

    Definitely Enya. When the situation is very stressful, the last thing I want is music that's going...

  • RE: DB crashed

    Huh?

    Could you perhaps be a little more specific as to what's wrong?

  • RE: Error [36, 17, 145] occurred while attempting to drop allocation unit

    Does a consistency check return any errors? If so, what errors?

    DBCC CheckDB ('<database name>') with no_infomsgs, all_errormsgs

  • RE: Backup Principledatabase

    Of course you can take backups of the principal.

  • RE: interview questions

    CodeGuys (5/14/2015)


    Please gothrough below link,

    SQL interview Questions and answers

    There are a number there that are wrong. They're great for figuring out who, in an interview, went memorising questions from the...

  • RE: unusual syntax - is this deprecated

    dwain.c (5/14/2015)


    I gotta wonder what the ANSI standards say about this one!

    Perfectly legal afaik.

  • RE: Database went into Restoring State for unknown reason

    afw (5/14/2015)


    GilaMonster (11/6/2013)


    Can also happen if someone starts a restore and stops the restore part way through (perhaps realising they were restoring over the wrong DB).

    Could you tell me what...

  • RE: Slow Query

    Alan.B (5/14/2015)


    Add a the following WHERE clause to your Query after that and you get a non-clustered index seek (the plan has a slightly lower subtree cost on the SELECT...

Viewing 15 posts - 5,926 through 5,940 (of 49,571 total)