Event with odbc syntax it fails like this:
>>> import datetime
>>> now = datetime.datetime(2013, 3, 13, 15, 2, 9)
>>> db.auth_event.insert(client_ip='bogus', time_stamp=now)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "D:\web2py\gluon\dal.py", line 8443, in insert
ret = self._db._adapter.insert(self, self._listify(fields))
File "D:\web2py\gluon\dal.py", line 1201, in insert
raise e
DataError: ('22007', '[22007] [Microsoft][SQL Server Native Client
10.0][SQL Server]Bei der Konvertierung eines char-Datentyps in einen
datetime-Datentyp liegtder datetime-Wert au\xdferhalb des g\xfcltigen
Bereichs. (242) (SQLExecDirectW); [01000] [Microsoft][SQL Server Native
Client 10.0][SQL Server]Die Anweisung wurde beendet. (3621)')
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.