xml Modify() Method

  • I´m trying to modify proxysimultaneous atributte, but something is not going well what i'me doing wrong?

    Can anyone help me ?

    declare @i int

    declare @teste xml

    set @i=23

    set @teste='

    '

    set @teste.modify('replace value of

    (proxy/@proxysimultaneous="2"]

    with sql:variable("@i")')

  • Please, attach the XML sample to the post, and post the query again.

    The query you posted does not seem to be the actual query. Perhaps it was mangled by the post editor. Mark it as code and try again, or attach it.

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply