Quantcast
Channel: DataView RowFilter vs SQL WHERE
Viewing all articles
Browse latest Browse all 12

Re: DataView RowFilter vs SQL WHERE

$
0
0

SQL server will automatically cast '01/01/0001 00:00:00' to a date.  Where as, I'm pretty sure, the .NET language is comparing strings.  You should always use proper types in .NET being that .NET is a typed language.

Secondly, what the heck is 

(due >= '01/01/0001 00:00:00' and due < '01/01/0001 00:00:00') 


Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>