Jade's weblog Archive

Oracle external tables [orafaq.com]

Oracle has a built-in facility for accessing text files as if they were tables in the database.

This is a screaming fast way of loading data into a table, and it is easier than SQLLDR, plus you can keep your foreign key constraints etc..

I used this at United eWay to replace some pages that were taking several hours to load data from a CSV file. The new script took a second or two instead of more than 18+ hours to run (and it actually never completed).

Combined with the MERGE SQL command, this is pretty powerful stuff.

03:43 PM, 17 Sep 2007 by Jade Rubick Permalink | Comments (0)

Insert multiple rows per insert with Oracle

insert all into foo (a, b) values ('1','2') into foo (a,b) values ('1','2') select sysdate from dual;

05:58 PM, 04 Sep 2007 by Jade Rubick Permalink | Comments (0)

Sasha on YouTube

05:03 PM, 04 Sep 2007 by Jade Rubick Permalink | Comments (0)

XML

Notifications

You may request notification for Jade's weblog.

Syndication Feed

XML

Recent Comments

  1. Jade Rubick: And... yes and no
  2. Jade Rubick: Using hoptoad
  3. Jade Rubick: Much better
  4. Bodo Tasche: Link changed :)
  5. Bodo Tasche: Better commt emails. Now with color :)
  6. Jade Rubick: Filed a ticket
  7. Vinod Kurup: Wow
  8. Jade Rubick: Then what
  9. Paul Post: Percentages
  10. Paul Post: I might be an ENFJ?