Forum Replies Created

Viewing 15 posts - 796 through 810 (of 6,486 total)

  • RE: The Patch Wild, Wild West

    Well on the devil's advocate side of the argument - if you don't know why your patch might fail, it's going to be difficult to guarantee a way to back...

  • RE: Asking for Interview Questions

    pdanes (4/18/2013)


    GilaMonster (4/18/2013)


    Eric M Russell (4/18/2013)


    Also, tell the candidate up front that all new hires are required to sign an "employment at-will" contract. If they don't measure up, then they'll...

  • RE: Including null complex type elements in XML output

    You're going to want to use FOR XML PATH instead of AUTO. Assuming you do, the query would look something like:

    select Mortgage.AccountNo

    , (select

    ( select Customer.CustomerNo

    from #MortCustLink...

  • RE: Xml parsing issue/question

    Sorry - was running a bit short on time last night - update the spelling of ENCOUNTER in this line (the second one - where the underscores are):

    cross apply Changeset.nodes('/root/ENCOUNTER.ENCOU___TERSTATUSDESCRIPTION')

    You...

  • RE: Xml parsing issue/question

    The short answer is "spelling counts". Your query is misspelling the node name you want. (i.e. couNter)

  • RE: Ranking functions, views, and predicates

    Sergiy (3/19/2013)


    try to run

    SELECT

    BatchID,

    FieldA,

    FieldB,

    CAST(ISNULL(ROW_NUMBER() OVER (PARTITION BY BatchID ORDER BY DateEntered), 0) AS...

  • RE: Are the posted questions getting worse?

    Jeff Moden (3/8/2013)


    Matt Miller (#4) (3/8/2013)


    Jeff Moden (3/7/2013)


    Revenant (3/4/2013)


    Evil Kraig F (3/4/2013)


    Revenant (3/4/2013)


    I always find it frustrating when someone asks me or someone else to do things for which T-SQL...

  • RE: Are the posted questions getting worse?

    Jeff Moden (3/7/2013)


    Revenant (3/4/2013)


    Evil Kraig F (3/4/2013)


    Revenant (3/4/2013)


    I always find it frustrating when someone asks me or someone else to do things for which T-SQL was not meant, in this...

  • RE: ORDER BY = Bubble Sort ? Quick Sort ? Insertion Sort ?

    Besides - all of those sorts methods you mentioned presume a flat list structure. The internals for how tables are structured are anything but flat.

    In short - I suspect...

  • RE: Can I return an identity value to be used in an insert trigger on a table?

    One of the issues you need to account for is that you can't assume that a single row is being inserted. The trigger fires once per insert operation, not...

  • RE: Set year(columnname1) = year(columnname2)

    5280_Lifestyle (12/15/2012)


    Yes, thank you for catching that. They are both of data type datetime.

    Not sure if this is purely for the purposes of the example, but your query essentially sets...

  • RE: Database Diagrams tool in SQLSERVER

    Just about any UML tool can help you create logical models.

  • RE: XML format issues

    Each of the tiers needs to be based on the table contents in some way, since they might have attributes filled in.

    Try adjust to something like:

    ;with

    t1 as...

  • RE: TRY CATCH not CATCHING

    Lynn Pettis (12/11/2012)


    Going out on a limb here, but I think it is because the connection is broken (or not established) even though it is not severity 20 or higher:

    Errors...

  • RE: TRY CATCH not CATCHING

    I would tend to agree with Lynn. The connection is considered closed, so the error is lost.

    Assuming that's true - you'd probably catch it if you wrap within a...

Viewing 15 posts - 796 through 810 (of 6,486 total)