Forum Replies Created

Viewing 15 posts - 361 through 375 (of 388 total)

  • RE: Sales Order Workshop Part IV

    Hi Ryan,

    the following example shows how to take values from a namespace.

    declare

    @x xml

    set

    @x = '

    <ns0:root xmlns:ns0="http://schemas.microsoft.com/sqlserver/2004/

    07/adventure-works/ProductModelManuInstructionsModified">

    <ns0:Location LocationID="100"...

  • RE: XML column to table

    Phil,

    What exactly is the problem?

    do you have a problem to read values from the XML column? if yes, i can help you out.

    thankx

    Jacob

  • RE: XML column to table

    do you still have a problem?

     

  • RE: More Advanced XML Processing Examples

    I am glad to know that the information was helpful. There are a few more posts scheduled and will appear in the coming weeks. So keep a watch 🙂

  • RE: XML column to table

    This sample works on the "subscription" table. It takes the first row and breaks the parameters into two columns.

    "parameters" is NTEXT so I cast it to XML with:

    SELECT...

  • RE: XML column to table

    The following code generates a resultset with two columns. (name and value).

    declare

    @x xml

    set @x = '<ParameterValues>

    <ParameterValue>

    <Name>PATH</Name>

    <Value>\\srvr01\reports</Value>

    </ParameterValue>

    <ParameterValue>

    <Name>FILENAME</Name>

    <Value>Client...

  • RE: Passing a Table to A Stored Procedure

    Thank you everyone for reading the article and participating the discussion. A lot of great ideas were discussed in the forum and I am pretty sure that the ideas must...

  • RE: Passing a Table to A Stored Procedure

    Hi Neil,

    I see that @sqlStr is a TSQL statement. So I am wondering why you execute it using xp_cmdshell.

  • RE: SQL Server Auditing - Part 1

    Very helpful information!

  • RE: Passing a Table to A Stored Procedure

    Thank you vincent.

  • RE: Writing Faster T-SQL

    This is quite intersting!

    Took 8 seconds on my laptop running SQL Server Express edition.

    (Toshiba Satellite Pro, 1 GB RAM, single processor)

    - Jacob

  • RE: Writing Faster T-SQL

    Hi jeff,

    I have taken your comment in the CORRECT sense only. It was really valuable and I see that the approach you suggested is better. I would welcome your comments in...

  • RE: Writing Faster T-SQL

    Hi Jeff,

    I agree with you. You won 🙂

    Jacob

  • RE: Writing Faster T-SQL

    Hi Jeff,

    Thanks for sharing your code. This is indeed a nice approach.

    If you look at my last example, I had said 2.45 minutes for 5 million rows, which also...

  • RE: Advanced XML Processing

    Do you have an example that shows your specific problem? I will try to help you out then.

Viewing 15 posts - 361 through 375 (of 388 total)