set arraysize 200 set load batch_rows 200 UNLOAD TABLE SCOTT.EMP DIR /datadisk1/exportDo not use semicolon after the end of the command!
Minimalistic Oracle contains a collection of practical examples from my encounters with Oracle technologies. When relevant, I also write about other technologies, like Linux or PostgreSQL. Many of the posts starts with "how to" since they derive directly from my own personal experience. My goal is to provide simple examples, so that they can be easily adapted to other situations.
Showing posts with label unload. Show all posts
Showing posts with label unload. Show all posts
Thursday, November 20, 2025
How to unload rows in an Oracle database to disk using sqlcl
In sqlcl, execute these lines to unload SCOTT.EMP to disk:
Subscribe to:
Comments (Atom)