Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AAAV
Posting Yak Master
152 Posts |
Posted - 2010-03-12 : 09:39:11
|
| Hi,I have a SP to which XML is input. In the xml there are repair-cost nodes. I want to be able to know if the user input 0 or it is null. How do i have the xml for this and how should i handle it when i parse the xml with nodes?Thanks |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2010-03-12 : 10:48:27
|
| sorry to make it more clear, can you post some sample data and then your expected result?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2010-03-12 : 10:51:13
|
0 is zero, and empty space is either 0 or null, depending on your code.Do you have a XSD schema? N 56°04'39.26"E 12°55'05.63" |
 |
|
|
|
|
|