A bteq will will only be faster if the desired data exists on existing tables (it will be significantly slower if an error is encountered mid-process).
A bteq will go row by row, a fastload can go by blocks. If you have a large file (relative to your system) you want to load it via fastload. If you have a small file (<65k at my site) use bteq.
Fastload only makes sense if you actually have a file that you need loaded (versus a table created whose data is comprised of existing information).
Fastload is the fastest way if you load data in an empty table, Select/Insert is also a faster way,
bteq can not compared with select/insert, they are different level, SQL can run in betq, select/insert is a SQL.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.