🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11195

Re: copying BLOB fields between databases

#11195
From: Stefano Giannini
Date: Tue, 10 Dec 2002 10:56
51 lines
2618 bytes
Hello,
why don't you use the IbDataPump utility?

you can download a free version from this site:
http://www.clevercomponents.com/downloads/index.asp

Interbase DataPump v 3.4 standalone application.



That's the guide to how to use the programm:
http://www.clevercomponents.com/products/datapump/dp-tour.asp#21

I used it to divide a 1.7Gbyte database into 6 others using blob fields too.

Bye,
Stefano Giannini



"Bj�rge S�ther" <bjorge@hahaha_itte.no> ha scritto nel messaggio
news:3df5c5eb$1@newsgroups.borland.com...
> "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: <3df5c982$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!proxad.net!gatel-ffm!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3df54f99$1@newsgroups.borland.com> <3df5c5eb$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 03:09:54 PST
From: "Stefano Giannini" <stefanog@ciedspa.it>
Newsgroups: borland.public.interbase.sql
References: <3df54f99$1@newsgroups.borland.com> <3df5c5eb$1@newsgroups.borland.com>
Subject: Re: copying BLOB fields between databases
Date: Tue, 10 Dec 2002 11:56:59 +0100
Lines: 53
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 217.56.91.68
Message-ID: <3df5c982$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1039518082 217.56.91.68 (10 Dec 2002 03:01:22 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!proxad.net!gatel-ffm!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail