K
Kerri
Hi,
I have a date 3/1/2004 (mm/dd/yyyy).
I have a DB table that contains dates before and after
this date.
I want to get the date that falls just before thsi date
from my table.
Currently I do a ...
SELECT TOP 1 MyDate
FROM MyTable
WHERE MyDate < 3/1/2004
This is incorrect. How do I bring bacj just the one record
whose date is less than this.
Note : I just want to bring back one record.
Thanks,
K.
I have a date 3/1/2004 (mm/dd/yyyy).
I have a DB table that contains dates before and after
this date.
I want to get the date that falls just before thsi date
from my table.
Currently I do a ...
SELECT TOP 1 MyDate
FROM MyTable
WHERE MyDate < 3/1/2004
This is incorrect. How do I bring bacj just the one record
whose date is less than this.
Note : I just want to bring back one record.
Thanks,
K.