Re: Load from file using asterisk as field delimiter
- From: "Dan Rock" <danno492_NOSPAM@xxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 09:26:25 -0400
Sorry Guillem,
I currently only have the smiImport component. (got p****ed the other night
and deleted the import code).
There are by the way a total of 247,938 records that I am importing
"Guillem" <guillemvicens-nospam@xxxxxxxxxxxxxxxxxx> wrote in message
news:4315ac9d$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> Dan Rock wrote:
>
>> Hi All,
>> I have been trying to get a solution for 2 months now, but maybe
>> no-one has ever done this??? I have come over from MS Access/VB6
>> environment and am still rather new to Delphi. I need to import a
>> text file, field delimiter is an asterisk, into an Advantage Database
>> table.
>
> that should not be such a great problem. I've done it with another
> field delimiter, though
>
>> This process, in MS Access, take about 10 seconds to get the
>> data into a temp table. This process, in Delph, takes about 30
>> MINUTES. I have indeed used smiImport, same results. I have indeed
>> tried appending, and posting one record at a time,....same results.
>
> 30 minutes??? How many zillions of records do you have? <g>
>
> Seriously, could we see the code you use to import it? Where does the
> delay lay? In the importing or in the posting?
>
> There must be something wrong in it to take such a large time to do it
> with smiImport. I recall my procedure importing about 3000 records with
> 13 fields, some of which needed special conversion, in about 2 to 4
> minutes, don't remember exactly. It used ADO+ODBC to access a MySQL
> database (goddamn combination...) And i already thought it was veeery
> slow :)
>
>> If I am in the wrong newsgroup, can someone point me to the right
>> direction?
>
> You say you use Advantage database. Are you using ADO to connect to it?
> If yes, you're in the right newsgroup. If not, you could try
> b.p.d.database.general
>
> --
> Best regards :)
>
> Guillem Vicens
> Dep. Informática Green Service S.A.
> www.clubgreenoasis.com
> --
> in order to contact me remove the -nospam
.
- Follow-Ups:
- Re: Load from file using asterisk as field delimiter
- From: Mike Shkolnik
- Re: Load from file using asterisk as field delimiter
- References:
- Load from file using asterisk as field delimiter
- From: Dan Rock
- Re: Load from file using asterisk as field delimiter
- From: Guillem
- Load from file using asterisk as field delimiter
- Prev by Date: Re: Load from file using asterisk as field delimiter
- Next by Date: Re: Load from file using asterisk as field delimiter
- Previous by thread: Re: Load from file using asterisk as field delimiter
- Next by thread: Re: Load from file using asterisk as field delimiter
- Index(es):
Relevant Pages
|