Search found 4 matches

by jpg
Wed 19 Jan 2011 11:01
Forum: SQL Server Data Access Components
Topic: SDAC SQL2008 DateTime2
Replies: 4
Views: 1746

Also noticing it only seems to happen on a 64bit machine
by jpg
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
by jpg
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?
by jpg
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