Forum Replies Created

Viewing 15 posts - 1,891 through 1,905 (of 8,416 total)

  • RE: SQL Update Behaviour

    The 'order of update' you refer to is a consequence of physical implementation details that you cannot rely on. Yes, it is true that in one scenario you 'always'...

  • RE: Running total (cummulative Sum)

    Hi Chris,

    There's no need for a join at all - a point I realised after editing the TOP trick into your code. I have updated the code and query...

  • RE: Running total (cummulative Sum)

    ChrisM@Work (7/7/2011)


    You'd think so, but it's not straightforward...

    MIN and MAX may not be allowed in the recursive part, but MIN and MAX are no more than the first row (TOP...

  • RE: A general question on non clustered index

    S_Kumar_S (7/7/2011)


    ok, but i am sure, clustered index always gets sorted data on key columns, without adding ORDER BY, Always.

    No, that is not correct.

    Ordering Guarantees in SQL Server

    No Seatbelt -...

  • RE: Are the posted questions getting worse?

    Kit G (7/6/2011)


    All you Aussies and Kiwis stay safe, just heard of a tsumani warning for northeast New Zealand and Australia (East Cape and Auckland).

    Hopefully it will only be small,...

  • RE: Delete Duplicate Records,

    Lynn Pettis (7/5/2011)


    Paul, realize this is an old thread, but I have a question. Would the use of the ALTER TABLE ... SWITCH TO ... require that the use...

  • RE: Are the posted questions getting worse?

    Just so we're all clear on this, I'm interested in how you justify things like attending the summit to the person paying. I have heard of some people having...

  • RE: Are the posted questions getting worse?

    SQLRNNR (7/5/2011)


    Could do that - but the networking sometimes is more valuable than attending the courses.

    To you, or to your employer? 😉

  • RE: First Normal Form

    David Portas (7/5/2011)


    ...But it's the same relation variable as before! The atomicity of the string and the structure of the relation has not changed. Just because I intend to use...

  • RE: Update/Insert/Merge Query

    CREATE TABLE #Changes

    (

    account_id INTEGER PRIMARY KEY,

    the_address ...

  • RE: First Normal Form

    James Goodwin (7/1/2011)


    It would be nice if there was a more clean SQL syntax than (X is NULL OR X <> 'Value'), but that is implementation, not theory.

    There is an...

  • RE: Are the posted questions getting worse?

    ALZDBA (7/4/2011)


    One of the arguments I always like to use is: What would it cost to absorbe the same knowledge when following the regular courses, on that many topics, with...

  • RE: Trace Flags

    tnk7200 (6/30/2011)


    I don't think there's any confusion about today question. Thanks Steve.

    Uh oh!

    Trace flags can also have statement scope, using the (undocumented) OPTION (QUERYTRACEON xxxx) syntax. Just saying.

  • RE: Physical and Logical Reads on different hardware

    There are a number of possibilities - too many to speculate on. If you would like a precise answer, please post the full output from the two runs with...

  • RE: Are the posted questions getting worse?

    Tom.Thomson (7/3/2011)


    [...] you also have to work hard to earn the rest of the costs (eg travel, accomodation) [...]

    Exactly. I think Gail's in the same boat (so to speak)...

Viewing 15 posts - 1,891 through 1,905 (of 8,416 total)