I guess it&#39;s due to a problem in the mssql driver which doesn&#39;t properly handle the null value condition.<br>Please file a ticket about this issue and I&#39;ll look into the details shortly.<br><br>Best regards,<br>
<br>Tamas<br><br><br>&nbsp;<br><br><div class="gmail_quote">2009/2/17 Murty Maganti <span dir="ltr">&lt;<a href="mailto:MMaganti@oriongis.com">MMaganti@oriongis.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p>Hi</p>

<p>&nbsp;</p>

<p>After firing &nbsp;queryByShape() on SQL Server 2008 layer, getting
junk characters for those field which are null (or have no value) in the database.
Shows fine for those fields with some value. </p>

<p>&nbsp;</p>

<p>When I run any sample query on the table in query analyzer, I
see the output as {null}. </p>

<p>&nbsp;</p>

<p>If the value is null in the database, I should be getting
null reference or empty string (using C# map script i.e. shapeObj.values). Why I
am getting junk characters.</p>

<p>&nbsp;</p>

<p>Appreciate any help.</p>

<p>&nbsp;</p>

<p>Thanks</p>

<p>Murty</p>

</div>

</div>


<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>