Hi @Henk Wisselink ,
Thank you so much for posting here.
- Why is the Oledb-dataadapter configurator generating DBTimeStamps on datetime-colums?
There are only three datetime related OledbTypes: DBDate,DBTime and DBTimeStamp.
You could only use DBDate and DBTimeStamp which map to datetime.
Reference: OleDbType Enum
- Why is a dataadapter insert/update with DBTimeStamp erroneous for dates beyond June 6, 2079?
There are three date types in SQL Server mapping to DBTYPE_DBTIMESTAMP : datetime,smalldatetime and datetime2.
But the date range of smalldatetime is from 1900-01-01 through 2079-06-06. So 2079-06-06 would be the maxinum value of DBTYPE_DBTIMESTAMP.
Reference:SQL Server Native Client Data Type Support for OLE DB Date and Time Improvements
Best regards
Melissa
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues November--What can I do if my transaction log is full?
Hot issues November--How to convert Profiler trace into a SQL Server table