Viewing 4 posts - 1 through 4 (of 4 total)
Mr. Ballantyne, you are right of course, I do need more training, but please do not impugn my intelligence by suggesting I am currently not going through tutorials or looking...
September 1, 2009 at 3:28 am
I've had a go and got something like this:
DESCLARE @FromDate VARCHAR(20), @ToDate VARCHAR(20);
SELECT *
FROM Table
WHERE Date BETWEEN CONVERT(DateTime, @FromDate, 103)
AND CONVERT(DateTime, @ToDate, 103)
This runs but it returns no data,...
September 1, 2009 at 2:51 am
Thank you very much for your help, I will try that out. Again thanks for the help and for replying so quickly as well.
August 28, 2009 at 7:42 am
Yes thank you, something like that. However when I do this:
Sample_date BETWEEN '01/06/09 00:00:00' AND '30/06/09 23:59:59'
I get this as an error message
"The conversion of char data type to...
August 28, 2009 at 5:50 am
Viewing 4 posts - 1 through 4 (of 4 total)