Code: Select all
create table table_ts
(
--many fields....
a_timestamp timestamp(0) with time zone
--....
);
Code: Select all
select * from table_ts
In the following form, I cannot select OraTimeStamp type. SQLTimestamp is wrong, since at runtime I get "field a_timestamp is of wrong type"
So I open the dfm and change the type from TSQLTimestampField to TOraTimestampField (the same on the .pas or .h) but this is not enough
"field a_timestamp is of wrong type. Got TOraTimestampField, expected TOraTimestampField"
weird.
Go back to dfm. Force DataType
Code: Select all
object Qrya_timestamp: TOraTimeStampField
FieldName = 'a_timestamp'
DataType = 105
end