I need to get all rows tha are valid, ValidDate is column that shows how long these database items are valid. I need to get only valid items from the database. How can I do that? I use SQL Server.
views:
26answers:
2
+2
A:
Assuming ValidDate
means valid until:
SELECT Cols
FROM MyTable
WHERE getdate() <= ValidDate
Mitch Wheat
2010-05-31 06:04:48
This worked thanx!
newbie
2010-05-31 06:20:58