Invalid argument to date encode
Invalid argument to date encode
Getting this message "Invalid argument to date encode" when applying updates. Calls a stored procedure that inserts a record and returns the identity field. passes a datetime field that is converted to TSQLTimeStamp format when passed.
Re: Invalid argument to date encode
We couldn't reproduce the problem.
Please send us complete small sample to demonstrate it and include script to create server objects.
Please send us complete small sample to demonstrate it and include script to create server objects.
I'm getting the same error
I get the same error: "Invalid argument to date encode" when I try selecting on date params on a query.
Query for example is
"Select f1,f2,f3....
from A
where A.datetime >= :dtfrom and A.datetime <= :dtTo
"
When I set my dtfrom and dtTo parameters in Delphi 2005 I get this error thrown on the Open call
I've tried setting the Datatype and it hasn't helped.
Anything I can try?
Query for example is
"Select f1,f2,f3....
from A
where A.datetime >= :dtfrom and A.datetime <= :dtTo
"
When I set my dtfrom and dtTo parameters in Delphi 2005 I get this error thrown on the Open call
I've tried setting the Datatype and it hasn't helped.
Anything I can try?