Forum Replies Created

Viewing 15 posts - 1,441 through 1,455 (of 3,348 total)

  • RE: Trace Flags

    doug.davidson (11/18/2014)


    Still trying figure out what the point of this feature is suppose to help with.

    The "ascending key problem" is a well-known problem related to stale statistics on dynamic data.

    Consider...

  • RE: Backups

    navneet.agarwal19 (11/17/2014)


    A Big confusion is there.

    F1 full backup

    T1 Log Backup

    D1 Differential Backup

    T2 Log Backup

    D2 Differential Backup

    T3 Log Backup

    F2 full backup

    T4 Log Backup

    D3 Differential Backup

    T5 Log Backup

    D4 Differential Backup

    T6 Log...

  • RE: Memory

    Rune Bivrin (11/14/2014)


    Minimum:

    Express Editions: 512 MB

    All other editions: 1 GB

    Recommended:

    Express Editions: 1 GB

    All other editions: At least 4 GB and should be increased as database size increases to ensure optimal...

  • RE: TSQL "where - 101"

    Luis Cazares (11/12/2014)


    It's all fun and games until we find an employee with a NULL value in its name.

    A NULL in the QOTD table would in this case not be...

  • RE: Logical Query Processing order

    chgn01 (11/12/2014)


    Thank you for your input. I am agree with you. but... can we refer to this link?

    http://use-the-index-luke.com/sql/partial-results/top-n-queries

    I think "Order By" just do for "Top (n)" rows not...

  • RE: Logical Query Processing order

    Sean Lange (11/11/2014)


    chgn01 (11/11/2014)


    The results is right. But for logical query processing, I think efficient way for SQL Compiler is do Top first then Order by. For a...

  • RE: IN or OR

    jdauphine (11/4/2014)


    Interesting. will 0 in ('foo','bar') use indexes?

    Since 0, 'foo' and 'bar' are all constant values, it will not. I didn't run it, but I expect an error because of...

  • RE: Primary key vs Unique key

    Koen Verbeeck (10/28/2014)


    serg-52 (10/28/2014)


    "only one null " is someway misleading. Precisley it's a "only one null value per column".

    If the unique index is not a filtered index 😉

    The question was...

  • RE: FIRST_VALUE

    rfreiberg001 (10/27/2014)


    I'm getting the same results when using your code to insert the data. I'm returning 9 rows.

    Nine rows sounds right, since there is no GROUP BY. But those nine...

  • RE: FIRST_VALUE

    Nice reminder. I had actually completely forgotten that this function exists. (Perhaps for good reasons?)

    If "syntax error, no such function exists" had been included in the answer options, I might...

  • RE: Template parameters

    tom.w.brannon (10/24/2014)


    I have never heard of templates so I pulled found out how to access them and pulled up the first one for aggregates. Here is the part from...

  • RE: How Many Different Random Numbers?

    SQL-DBA-01 (10/5/2014)Can you explain why the correct answer choice is 2??

    The way this site works is that you need to give an ansnwer to get access to the explanation and...

  • RE: Row limits

    Meow Now (10/3/2014)


    Interesting...I have never used SET ROWCOUNT or seen it used anywhere before. G.I. JOE!!

    That's actually a good thing; please don't get into the habit of using it...

  • RE: ISNULL

    TomThomson (10/1/2014)


    Toreador (10/1/2014)


    Interesting. Though the issue appears to be with applying functions to the Order By, which I don't think I've tried. I've certainly used this method successfully for many...

  • RE: ISNULL

    Toreador (9/30/2014)


    Hugo Kornelis (9/30/2014)


    If you don't care whether the final returned value is 123, 321, 312, or even just 1 or 2 or 3, then yeah, it does have uses.

    Me,...

Viewing 15 posts - 1,441 through 1,455 (of 3,348 total)