Background:
[i][i]We are moving a suite of tools from D7 to D2010 and changing from dbexpress connections to unidac-based connections.
With the same software we support IB, FB, MSSQL & Oracle.
The bear is dealing with all the datatype oddities.[/i][/i]
Previously, using dbexpress queries we consistently used
params[i].assqltimestamp:= xxxxx;
With tuniquery, the following gives an error with Interbase:
uniquery.sql.add('update ap_master set check_date=:xdatetime');
uniquery.parambyname('xdatetime').assqltimestamp:= datetimetosqltimestamp(now);
interbase yields:
"EConvertError with message Unknown Datatype"
sql server works
oracle works
Looking for similar code to work across db types.
sincerely,
tonyM
Filling Params with datetime (IB error)
-
AndreyZ