I've been trying to retrieve files from a SQL server database (using ASP) having searched on a date field (generated by the database using GetDate). I know that SQL server should be able to convert a string to a date field with no problems, but I always get the error:
resulting date out of range.
I've tried various CONVERT procedures, as I think the problem may have something to do with my sql server using British date formats: I've tried converting the comparison string and the date field itself, British and American formats, but with no luck. Can anyone help?
resulting date out of range.
I've tried various CONVERT procedures, as I think the problem may have something to do with my sql server using British date formats: I've tried converting the comparison string and the date field itself, British and American formats, but with no luck. Can anyone help?