darkwood001 / odbc

Automatically exported from code.google.com/p/odbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

golang time.Now() mapping to mssql datetime field error SQLExecute: {22008}Datetime field overflow #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
could be cut time.Now():2014-06-24 15:12:12.123456789 cut to 2014-06-24 
15:12:12.123
when table field is datetime 

Original issue reported on code.google.com by iwul...@gmail.com on 24 Jun 2014 at 9:14

GoogleCodeExporter commented 9 years ago
I think your issue is similar to

https://code.google.com/p/odbc/issues/detail?id=28

and

https://code.google.com/p/odbc/issues/detail?id=36

I have explained what to do there. Please let me know, if you need more help.

Alex

Original comment by alex.bra...@gmail.com on 25 Jun 2014 at 4:12