Subject | Re: [firebird-support] Re: Timestamp variable with fractional seconds |
---|---|
Author | Olivier Mascia |
Post date | 2005-02-08T18:22:59Z |
Le 08-févr.-05 à 18:54, dave@... a écrit :
what is the exact SQL description returned by the engine to the client
code for your timestamp parameter when the statement is looking like:
the returned XSQLDA structure...
--
Olivier Mascia
> The reason for this thread is that I was wondering if there was a wayI will have to check (or you could step the code too to verify this)
> to use the native Firebird timestamp data type, and some API other
> than CAST, to store and retrieve the fractional seconds. IBPP doesn't
> allow me to "Set()" a timestamp column using a string variable in a
> prepared statement, even though the exact statement works correctly in
> ISQL or FlameRobin; it's a data type conflict. Otherwise IBPP has
> done what I've needed quite well.
what is the exact SQL description returned by the engine to the client
code for your timestamp parameter when the statement is looking like:
> INSERT INTO CACHEDNS (REMOTEIP, REMOTEHOST, LASTUPDATED, ROWID)I wonder if the third '?' is described as a string or as a timestamp in
> VALUES (?, ?, CAST('?' AS TIMESTAMP), ?)
the returned XSQLDA structure...
--
Olivier Mascia