Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datetime Select????

Status
Not open for further replies.

sshafe

Programmer
Oct 18, 2002
71
US
I am doing a select from a datetime column where > '3/23/2006'. It is not returning rows that do not have a time. What is the deal?

Returns - 3/24/2006 3:33:25 PM
Does not return - 3/24/2006

Thanks in advance.
 
Weirder and weirder. Run this:

SELECT ServerProperty('ProductLevel'),
ServerProperty('ProductVersion')

And let us know the results.

-SQLBill

Posting advice: FAQ481-4875
 
You need to get upgraded to SP3a at a MINIMUM. That might resolve the issues you are seeing. (FYI-SP3a resolved issues with the SQL Slammer worm and other problems. It is considered to be the minimum level a SQL Server 2000 install should be at. SP4 is also available already.)

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top