Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Problems with date function

$
0
0

Hey guys, I have the following code

in my Where clause I have the following

Where Convert(Char(10), PlannedStart, 101) >= Convert(Char(10), Getdate(), 101)

when I do this, it still returns back records before the PlannedStart.  If I do only = rather then >= it returns back the proper records for today.  But I want the records for today and whatever other days.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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