SyntaxFix
Write A Post
Hire A Developer
Questions
No need to use convert. Simply list it as a quoted date in ISO 8601 format. Like so:
select * from table1 where somedate between '2000/01/01' and '2099/12/31'
The separator needs to be a / and it needs to be surrounded by single ' quotes.
/
'