Collections:
Run Queries on External Tables in Oracle
How To Run Queries on External Tables in Oracle?
✍: FYIcenter.com
If you have an external table defined as a text file with the ORACLE_LOADER driver, you can add data to the text file, and query the text file through the external table. By default, data fields in the text file should be terminated by ','. The tutorial exercise below shows you how add data to the external table defined in the previous exercise:
>edit /oraclexe/test/ext_fyi_links.txt
1101,dba.fyicenter,Link #1,88,07-MAY-06
1110,dev.fyicenter,Link #2,88,07-MAY-06
>sqlplus /nolog
SQL> connect HR/fyicenter
SQL> SELECT * FROM ext_fyi_links;
ID URL NOTES COUNTS CREATED
--------- ---------------- ----------- -------- ---------
1101 dba.fyicenter Link #1 88 07-MAY-06
1110 dev.fyicenter Link #2 88 07-MAY-06
⇒ Load Data from External Tables in Oracle
⇐ Define External Table in a Text File in Oracle
2016-10-15, 2682🔥, 0💬
Popular Posts:
What Happens to Your Transactions When ERROR 1205 Occurred in MySQL? If your transaction receives th...
What Are the Basic Features of a Trigger in SQL Server? Since a SQL Server trigger is a really an ev...
How To View Data Files in the Current Database in Oracle? If you want to get a list of all tablespac...
How To Start the Command-Line SQL*Plus in Oracle? If you Oracle server or client installed on your w...
How to convert a JSON (JavaScript Object Notation) quoted string into a regular character string usi...