Article View: borland.public.interbase.sql
Article #11194Re: copying BLOB fields between databases
From: Bj�rge S�ther
Date: Tue, 10 Dec 2002 10:50
Date: Tue, 10 Dec 2002 10:50
27 lines
2017 bytes
2017 bytes
"James Ponder" <jhponder@mindspring.com> skrev i melding news:3df54f99$1@newsgroups.borland.com... > I need to copy selected BLOB fields from one database to another. > > Suppose: > > db1.gdb and db2.gdb are the databases. > > tbl1 is a table in db1.gdb which contains a BLOB field. > > tbl2 is a table in db2.gdb which also contains a BLOB field. > > I need to select specific records from tbl1 and copy them to tbl2. > > I am using Delphi 6 Pro and Interbase 6. I have played with > TIBBlobStream but can't get it to work. Any help would be appreciated. > Answers to my email (jhponder@mindspring.com) would also be > appreciated as I have difficulty accessing the newsgroup on any regular > basis. Thank you. have you set Stram.Position *after* read but *before* write ? ...see, after the srtram has read all data, it's located at end of stream, and it will appear to have "no data left". -- Bj�rge S�ther bjorge@hahaha_itte.no
Technical Details
Message-ID:
<3df5c5eb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!telocity-west!DIRECTV!203.109.225.2!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3df54f99$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114a0e,4d808d7339ef4747 X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-12-10 02:57:24 PST From: "Bj�rge S�ther" <bjorge@hahaha_itte.no> Newsgroups: borland.public.interbase.sql References: <3df54f99$1@newsgroups.borland.com> Subject: Re: copying BLOB fields between databases Date: Tue, 10 Dec 2002 11:50:48 +0100 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 130.67.215.219 Message-ID: <3df5c5eb$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1039517163 130.67.215.219 (10 Dec 2002 02:46:03 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!telocity-west!DIRECTV!203.109.225.2!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail