is there anyway to store text files like
.txt, .sql as a part of oracle.
i want to put all my oracle sql code there.
thanx a lot.
Web Site : www.geocites.com/gautamzone
Yes, you can by using LOB data types in table and then using sqlloader to import data in table.
Download Oracle application developer's guide from http://otn.oracle.com.
Database Management Applications.
You can upload the data from the text file into the Oracle Table through SQL Loader Utilityof the Oracle. In the text file you have to define the each column with some delimiter like space or comma etc..
You have to use two more file, One is as Control and Another is as Log file.
You have to define column name of the table in the control file. And log file shows the status of the loading of the data. How much data loaded and how much data not loaded due to some error.
Only through SQL Loader you can migrate the data from one application to oracle.
DBA - Reliance
Excuse me, I might have understood wrong, but you want to export or import a script?
" i want to put all my oracle sql code there. "
if you want to put all your sql code into a .txt or .sql file use SQL*Plus spool command.
// script code
Click Here to Expand Forum to Full Width