Steve added the comment:

Hi,
This issue is causing my organization problems. We are using python 2.7.9 with 
pyodbc 3.0.7
The application DB is SQL Server and they have started using Datetime2 (see: 
https://msdn.microsoft.com/en-us/library/bb677335.aspx?f=255&MSPPError=-2147217396)

They did this to ensure that transactions timestamps are more unique, specially 
when data is bulk uploaded into the DB.

Datetime2 supports to seven places. Our application is now getting timestamps 
that are truncated to 6 places, making them useless when comparing a timestamp 
>= to others in the db.

This is a real world issue and we really need a fix. We are not able to migrate 
at the moment to python 3 due to other constraints.
Any chance someone can take Matthieu's patch and retro fit it to 2.7.9 (if that 
makes sense)?

----------
nosy: +scoobydoo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15443>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to