Oracle already provides useful tools for loading a text file in the database (SQL Loader or External Tables). Just from the standpoint of programming overhead, using either one of those two tools would be more efficient.
If your text file will follow a fixed, specific format, then go with External table as schwertner
If you have a dynamic format, that's when a programmatic approach would work better, perhaps.
Main Topics
Browse All Topics





by: schwertnerPosted on 2009-09-17 at 07:59:39ID: 25356990
The best way is to use External Oracle tables.
Because it is internally in Oracle, no connections needed.
Select allOpen in new window