By using following query we will get desired results
SELECT * FROM myTable WHERE
convert(nvarchar,dateColumn,112)>=convert(nvarchar,fromDate,112) AND convert(nvarchar,dateColumn,112)<=convert(nvarchar,toDate,112)
Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Join the conversation! Your thoughts help the community grow.