Forum Replies Created

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

  • RE: XML

    Are you using SQL 2005? If so, I would suggest you use the xml datatype rather than openXML.

    declare @xml_hnd xml

    set @xml_hnd='

    <Root>

    <Node id="1" />

    ...

  • RE: nvarchar concatenation with 'foo' or N'bar'

    Interesting. I've done a bunch more testing here and it seems the only time you need to prefix a literal string with N is when the literal string itself contains...

  • RE: nvarchar concatenation with 'foo' or N'bar'

    Yes it does return data but what will happen if a unicode character makes its way into one of the variables?

    Imagine we have @var nvarchar(MAX) and it contains unicode...

  • RE: Bitwise OR of all columns in result set

    I don't frequent these forums much, mostly because I don't have much to offer in the way of answers. I don't do a ton of SQL.

    I do however lurk around...

  • RE: Bitwise OR of all columns in result set

    Many thanks! That worked out very well. At first it was just returning NULL and I couldn't see why, then it dawned on me that if you don't set your...

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