Forum Replies Created

Viewing 15 posts - 286 through 300 (of 516 total)

  • RE: COALESCE

    Nice question. Luckily have not fallen into "Quoted Null" trap ๐Ÿ™‚

  • RE: Noise

    Thanks Steve. I was not aware of this. Got to learn something new today ๐Ÿ™‚

  • RE: VIEW - 9

    L' Eomot Inversรฉ (10/14/2012)


    Fun question.

    I wonder how many people will fail to notice that although you've got everything ready to create the index you haven't actually done so, so the...

  • RE: VIEW - 9

    Ah..Good question to begin with our Monday morning ๐Ÿ™‚

  • RE: While loop 2

    demonfox (10/12/2012)


    Lokesh Vij (10/11/2012)


    Thanks Sreenivas for the question. Indeed we discussed the situation of "Divide by zero error" in your earlier QOTD discussion forum "While Loop - 1".

    All in all...

  • RE: While loop 2

    Thanks Sreenivas for the question. Indeed we discussed the situation of "Divide by zero error" in your earlier QOTD discussion forum "While Loop - 1".

    All in all ending this week...

  • RE: SELECT TOP(100 PERCENT) in Derived Table

    mark 4643 (10/10/2012)


    Hi All

    I'm trying to optimize a monstrous query in a report that a vendor supplied. Part of the query has SELECT TOP(100 PERCENT) which makes no sense to...

  • RE: Query Help

    This query would give the best performance from all the queries posted above ๐Ÿ™‚

    SELECT dtStartDate,

    (SELECT Max(dtRunDate)

    ...

  • RE: T-SQL

    bitbucket-25253 (10/10/2012)


    Nice simple question on the basics. Every one should get this right (I hope)

    I was hoping this too....Not every one got it correct!

    Correct answers: 75% (9)

    Incorrect answers: 25%...

  • RE: T-SQL

    Very simple and easy question ๐Ÿ™‚

  • RE: While loop

    demonfox (10/9/2012)


    well, instead of 10/0.00001 try using 10/0 , guess what the answer could be ๐Ÿ˜€

    Initially I thought this division is the key to answer this question; as "0.00001" is...

  • RE: Average Value based previous record Avg Value

    Here is the query:

    ;WITH tempavg

    AS (SELECT id,

    weight,

    ...

  • RE: While loop

    Ah....an easy one. Thanks Sreenivas ๐Ÿ™‚

  • RE: Remove All Identity Tables

    Gazareth (10/9/2012)


    Nils Gustav Strรฅbรธ (10/9/2012)


    Lokesh Vij (10/9/2012)Here you go:

    Won't work. Only one table at the time can have IDENTITY_INSERT OFF

    Only one table at the time can have IDENTITY_INSERT ON.

    I don't...

  • RE: Remove All Identity Tables

    Nils Gustav Strรฅbรธ (10/9/2012)


    I take my words back. You are correct... Identity_insert will work only for one table at a time ๐Ÿ™‚

Viewing 15 posts - 286 through 300 (of 516 total)