Forum Replies Created

Viewing 13 posts - 376 through 388 (of 388 total)

  • RE: Sales Order Workshop Part IV

    I just posted a reply above, which has an example of extracting values from xml attributes and nodes, using "value" method.

  • RE: Sales Order Workshop Part IV

    I just posted a reply above, where i presented an example which extracts values from attributes and XML nodes.

  • RE: Sales Order Workshop Part IV

    You are right. I will correct this.

  • RE: Sales Order Workshop Part III

    could you give me a more precise problem description? i will get back to you with a working example then.

  • RE: Sales Order Workshop Part IV

    hi ryan,

    Let me present a quick example:

    <orderInfo>

    <item code="A001" category="FOOD" subcategory="Candies">

    <description>Nestle Munch</description>

    <qty>10</qty>

    <rate>11.25</rate>

    </item>

    <item code="A002" category="FOOD" subcategory="Biscuits">

    <description>Britania Good Day</description>

    <qty>15</qty>

    <rate>12.25</rate>

    </item>

    </orderInfo>

    The following example extracts the attribute values:

    SELECT

    x

    .

  • RE: Sales Order Workshop Part IV

    It is set from the "FROM" clause. Look at the following:

    ........FROM @x.nodes('//salesOrder') AS x(header)

    Does this answer your question? It is a type of alias that we assign to the resultset.

  • RE: Saving a Sales Order Part 1

    Hi,

    In part III of this series, I have presented the sample code which handles the insert/update/delete scenario. When a sales order is edited, a few new items may be added,...

  • RE: Saving a Sales Order Part 1

    Hi Paul,

    I will definitely collect some performance data and will post it soon.

    Jacob

  • RE: Saving a Sales Order Part 1

    🙂

  • RE: Saving a Sales Order Part 1

    As I mentioned earlier, the last part of this 4 part article has an error handling example, where the XML handle is released if an error occurs.

  • RE: Saving a Sales Order Part 1

    Hi Confucius247,

    I agree with you. Actually this article is part of a series, which demonstrates more and more features with each installment. The purpose of the first installment is to...

  • RE: Saving a Sales Order Part 1

    Hi mike,

    I agree with you. There are many cases where you still need to hit the DB many times. But I suppose most of those scenarios can be avoided if...

  • RE: Saving a Sales Order Part 1

    Hi Mike,

    This article presents a solution that works with SQL Server 2000 specifically. Towards the end of this series, I have an article that presents the same with the XML...

Viewing 13 posts - 376 through 388 (of 388 total)