Well, what the fastest way is depends on the format of your
text file, the structure of your tables, the number records
already in the table, the number of records in the file,
the number of indices on the table, the number of expected
locks during your actions, and of course, the RDBMS itself.
Some databases can read straight from a text file, if it has
the appropriate format. Other can't, or can't with your
format.
There are too many unknown factors to answer your question.
But even if you gave me the factors, I would hesitate to
answer; it sounds too much like you're trying to get people
do your work. What have you done yourself so far?
-- Abigail