sql server - Datetime error querying sqlserver database via django-mssql -


i using django-mssql query sqlserver database: querying datetime value, 'conversion failed when converting date and/or time character string.'

results = sales.objects.using('eql').filter(saledate__year=2017) len(results) 

where 'saledate' datetime value - has else experienced this? (and have workaround?)


Comments

Popular posts from this blog

4x4 Matrix in Python -

python - String indices must be integers and while issue -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -