Forum Replies Created

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

  • RE: XML Query

    DesNorton - Friday, July 6, 2018 12:16 PM

    You really shouldn't use varchar(max) in this case.  Have you ever come across a first name,...

  • RE: Querying XML data

    LutzM: Thank you, works as expected. Appreciate your help :-)...

    LutzM (5/3/2014)


    something like tihs?

    select

    person.x.value('(./personId)[1]','varchar(max)') as personId,

    person.x.value('(./name)[1]','varchar(max)') as name,

    note.y.value('(./date)[1]','varchar(max)') as [date],

    note.y.value('(./text)[1]','varchar(max)') as [text]

    from @xml e

    cross apply e.xmldata.nodes('organization/department/person') as person(x)

    outer apply...

  • RE: MD5-encryption - "translate" VB to SQL

    Thanks 🙂

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