I am trying to add a record to a SQL Servers 2005 table
using:
Patch('[dbo].[SADailyCR2]', Defaults('[dbo].[SADailyCR2]'),{PD: 10 } , {MD: 110 }, {UD: 1110 }, {Date23: dtpD_1.SelectedDate })
and I get an error: The requested operation is invalid. Server Response: Microsoft SQL: Type datetime2 is not a defined system type."
The field Date23 is of a type [datetime],
SQL Server is v. 2005
Any help out there?
Thanks, Yakimo
How can I overcome that error?
If I avoid to add date in Date23, adding a new record if just fine