I was wondering if someone can correct me on this. When I run this query I get no results displayed. By default, I made sure I used all the values from beginning to end to test it.
USE POS410
GO
SELECT SSN#, Hire_date
FROM Employee
WHERE Hire_date BETWEEN 1/1/1995 AND 12/31/2005
GO1/1/1995 is an arithmetic expression meaning "1 divided by 1 divided by 1995"
this will round off to zero
you will probably get some results if you write this --
WHERE Hire_date BETWEEN '1995-01-01' AND '2005-12-31'|||that did the trick! thank you
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment