Solved

SQL SERVER  : NULL IN XML ??

Posted on 2010-09-02
5
208 Views
Last Modified: 2012-05-10
Hello,

We have an XML flux in which we need to have NULL values like :
<nodes><node>33</node><node>66</node><node>NULL</node>
how can we specify it ? (the way I did it, it takes NULL as a string)
Thanks for help
0
Comment
Question by:javilmer
5 Comments
 
LVL 41

Accepted Solution

by:
ralmada earned 250 total points
ID: 33589218
have you tried using the XSINIL option?
http://msdn.microsoft.com/en-us/library/bb510413.aspx 
0
 
LVL 16

Assisted Solution

by:vdr1620
vdr1620 earned 250 total points
ID: 33589239
0
 

Expert Comment

by:Modalot
ID: 35292472
Following an Objection by ralmada, and after Moderator review, there seems to be a better  disposition. Because the asker did not return, it is now up to me to distribute points.

Modalot
Community Support Moderator
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question