Subject | Re: [firebird-support] Import data from flat files |
---|---|
Author | Milan Babuskov |
Post date | 2003-09-30T15:43:39Z |
Oleg Lebedev wrote:
you tried doing select count(*) from external_table ?
How did you declare your external table? Can you post the DDL here,
please. I suggest that you use only char fields so that you can catch
conversion errors when doing INSERT INTO...
Before dropping the table always make sure you are the only user
connected, and that you have commited all transactions.
have more detail to help you.
--
Milan Babuskov
http://fbexport.sourceforge.net
> It worked, thanks.Yes, it is.
> I guess it's a new feature, because I wasn't able to find it in the
> Language Reference guide.
> Still, I was able to import only about 90% of rows.Probably some rows couldn't be converted becuse of bad formatting? Have
you tried doing select count(*) from external_table ?
How did you declare your external table? Can you post the DDL here,
please. I suggest that you use only char fields so that you can catch
conversion errors when doing INSERT INTO...
> I tried to enable the write-through cache, but now I can't drop myNot really. It sounds more like problem with uncommited transaction.
> existing table, because it says that object ORDERS is in use. Does it
> always happen when write-through is enabled?
Before dropping the table always make sure you are the only user
connected, and that you have commited all transactions.
> After I restarted the FB server, ranPlease post few lines from your file, and your external table DDL so we
>
>>gfix -write sync
>
> and re-imported the data, I was still missing 10% of the rows. Maybe my
> file is messed up, but it worked for other databases.
have more detail to help you.
--
Milan Babuskov
http://fbexport.sourceforge.net