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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|