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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.