|
-
Jan 20th, 2003, 01:38 PM
#1
Thread Starter
Lively Member
sql statement needed
Been playing with this one and havent had any luck..
How would you write an sql statement to delete any dates previous to today's date.
I've tried the following
ie
sql="delete from MyTable where TheDate<" & date
sql="delete from MyTable where TheDate<" & "#" & date & "#"
sql="delete from MyTable where TheDate<" & "'" & date & "'"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|