Search found 4 matches
- Wed 19 Jan 2011 11:01
- Forum: SQL Server Data Access Components
- Topic: SDAC SQL2008 DateTime2
- Replies: 4
- Views: 1746
- Wed 19 Jan 2011 10:44
- Forum: SQL Server Data Access Components
- Topic: SDAC SQL2008 DateTime2
- Replies: 4
- Views: 1746
If I give you an example:
UPDATE myTable SET myDateField = :MyDateParameter
using this in RemObjects with SDAC creates you a parameter of
MyDateParameter and by default set to type Unknown
When you come to use this update statement, the code sets the date input parameter and executes the update statement.
I have no control over the field type used as its managed by (far as I can see) by SDAC
UPDATE myTable SET myDateField = :MyDateParameter
using this in RemObjects with SDAC creates you a parameter of
MyDateParameter and by default set to type Unknown
When you come to use this update statement, the code sets the date input parameter and executes the update statement.
I have no control over the field type used as its managed by (far as I can see) by SDAC
- Tue 18 Jan 2011 08:54
- Forum: SQL Server Data Access Components
- Topic: SDAC SQL2008 DateTime2
- Replies: 4
- Views: 1746
SDAC SQL2008 DateTime2
Hi,
Using RemObjects/SDAC to insert some data into a SQL2008 system (64bit), I’m occasionally seeing the message,
Operand type clash: datetime2 is incompatible with int(#0)
When one of the parameters is a DateTime field.
Any ideas?
Using RemObjects/SDAC to insert some data into a SQL2008 system (64bit), I’m occasionally seeing the message,
Operand type clash: datetime2 is incompatible with int(#0)
When one of the parameters is a DateTime field.
Any ideas?
- Tue 02 Nov 2010 16:37
- Forum: SQL Server Data Access Components
- Topic: SDAC does not fully support SQL 2008 datetime2
- Replies: 2
- Views: 2309
Delphi/DateTime2
Hi,
So really there's no simple solution other than to explicitly state it's a datetime field or use cast/convert
So really there's no simple solution other than to explicitly state it's a datetime field or use cast/convert