At 16:32 3/4/2006, you wrote:

(Deleted text)

BTW, I will try to implement reading BLOB fields within a few weeks. There only is a small problem with that at the moment: I need to implement in TODBCConnection the function

 function CreateBlobStream(Field:TField; Mode:TBlobStreamMode):TStream;

However, I need the TSQLHandle here (for the ODBC API call), not the TSQLConnection, where it is a method of. I think the Handle should be passed as an additional parameter. Or is there some way to (correctly) get the TSQLHandle from the Field parameter?

Based on my experience and lot of years "in the field" I'd dare to say that TIMESTAMP is most used than BLOB and GRAPHICS. At least if we are speaking about business applications(like banks, credit card operators, etc)


Another thought on the problems Arí has with update queries and TODBCConnection: as I need only read access, I never implemented UpdateIndexDefs; might that be required?

UpdateIndexDefs? What is the function of such method? Since data base manager ever keep the index(es) up-to-date and it has the index(es) description in its areas, I can't imagine...

I would like to remember that it's so important that DB2 keep the TIMESTAMP in the format with 6 digits of fraction of second. BTW I thing and insist that a return of string [26] will be more easy(I think) and clear. People can do the conversions in the application program.

But I have no skill to discuss this with the Lazarus/FPC developers.

Best regards

Arí
_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to