Skip to Main Content

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question, Suryanarayana.

Asked: October 08, 2012 - 10:10 pm UTC

Last updated: October 09, 2012 - 4:10 pm UTC

Version: 11g

Viewed 1000+ times

You Asked

Which is faster ?

By writing SQLPlus query and redirected to a simple text file or achieving the same using a procedure language like procobol/proC or PL/SQL ? Which is faster and How ?

and Tom said...

sqlplus is probably faster than fast enough - it would take some work to be significantly faster.

http://asktom.oracle.com/Misc/httpasktomoraclecomtkyteflat.html

plsql would probably be the slowest

sqlplus would be a lot faster

and if you wrote some C or maybe even some Java that did just the dumping of data - it might be a little faster than the generic program that is sqlplus

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library