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, 2167🔥, 0💬
Popular Posts:
How To Enter Unicode Character String Literals in SQL Server Transact-SQL? Unicode characters are mu...
How To Use SQL*Plus Built-in Timers in Oracle? If you don't have a stopwatch/timer and want to measu...
What Is SQL*Plus in Oracle? SQL*Plus is an interactive and batch query tool that is installed with e...
How To Get the Definition of a User Defined Function Back in SQL Server Transact-SQL? If you want ge...
How to download and install Microsoft .NET Framework Version 2.0 in SQL Server? .NET Framework Versi...