SQL getdate() in Count query not working correctly
===

I am trying to execute this query against SQL Server 2008:<br><br>

    SELECT Count(*) FROM tblSharesSentRequests WHERE [SentDate] = getdate()

This returns 0 rows, even though I have 1 row with a SentDate set to "2012-7-13"

<br><br>
This SQL statement works fine:

    SELECT Count(*) FROM tblSharesSentRequests WHERE [SentDate] = '2012-7-13'

it returns 1 row.

<br><br>
Why doesn't it work when I use getdate()?

