🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10156

Re: How to import data form a text file

#10156
From: Hans Galema
Date: Thu, 20 May 2004 06:39
30 lines
1829 bytes
Vinci Zhang wrote:

>     I have a telephone record file(telrecord.txt,text file),including call
> records:
>     No,CalledNo,CallTime
>     1,125676886,00:00:13
>     2,786896865,00:05:09
>     3,689787755,00:02:01

Ok the structure is clear. It's a csv file.

>     I want to know how I can transfer text file -->database
> records(InterBase DB):
>     1    125676886    00:00:13
>     2    786896865    00:05:09
>     3    689787755    00:02:01

What does that structure have to do with IB ?

>     API interface,transfer tools or transfer ways!

You are very unclear about where you have an actual problem.

Can't you read in the records/fields from the csv ?

Or don't you know how to insert a record in interbase ?

Why didn't you post this to one of the *.cppbuilder.database.* groups ?

Hans.
Technical Details
Message-ID: <40ac5273$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40ac0f53@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f1276bb6e230a885
X-Google-Attributes: gid10cc67,public
Date: Thu, 20 May 2004 08:39:07 +0200
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031208
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to import data form a text file
References: <40ac0f53@newsgroups.borland.com>
In-Reply-To: <40ac0f53@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <40ac5273$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085035123 129.125.201.248 (19 May 2004 23:38:43 -0700)
Lines: 30
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail