I have a ddl script to create some tables but the data is in .ctl files and I never use it before. I did some researches but I didn't quite understand how to use SQLLDR. How it works? Can I use some other way to execute the .ctl file? I'm just using PL/SQL and Oracle 10G
SQLLDR and .ctl files
1k Views Asked by Reinaldo Peres At
1
There are 1 best solutions below
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in PLSQL
- PLSQL Need REFCURSOR DATE + TIME
- PL SQL After Delete Trigger Not Inserting Record
- Oracle stored procedure wrapping compile error with inline comments
- How to compare multiple columns under same row in a table?
- How to find out which procedures and functions are using a table?
- How to display image in oracle form
- Oracle 11g : staging table
- 04098. "trigger '%s.%s' is invalid and failed re-validation"
- PL/SQL Check if SYSDATE is between two DATETIMES "HH24:mi"
- UTL_file: continue reading even if it encounters blank rows
- add time (char(8)) to date column
- if x not in(select y from table) in oracle
- Generate random ROWID
- Get same day of the same week last year
- Call procedure using anonymous block in pl/sql?
Related Questions in ORACLE10G
- Insert Into SP in Oracle Sql Developer
- use select under case statement
- How to execute a oracle procedure having out parameter inside a unix script
- How to check if there exist only one record for a certain Id
- Full Join on Group
- org.hibernate.HibernateException: Dialect class not found when using custom Dialect
- How to limit dynamic queries to only accept select statements?
- iText on a 10G database (1.4 JVM) generates a stacktrace
- How do you implement auto incremented sequence values in Oracle PL/SQL?
- Why I can't compare dates?
- ORA-12700: invalid NLS parameter value. (nls_numeric_characters)
- How to select record which are not between two time-Seconds range in ORACLE
- sequence already created but error showing RA-02289: sequence does not exist
- Oracle sql: Convert column to row
- PL/SQL - Update multiple rows in the target table from one row in the source table
Related Questions in SQL-LOADER
- SQL*Loader-704 and ORA-12154
- how to check a directory exist and can write file
- Data filtering performance:sqlldr+triggers or sqlldr+stored procedure?
- sqlldr direct load=true with referential partition options
- Keyword error with SQL*Loader and generated control file
- SQL*Loader Control File Custom Date Format
- Calling os_command.exec from an Oracle stored procedure
- SQL*Loader cannnot load a CSV file that contains multiple lines in one field
- Do SQL Loader discards input data file after load completes
- sqlldr - how to use if/then logic on a field?
- Oracle 12c - SQL Loader Invalid month Error
- SQL Loader input file more columns than table
- Oracle 12c - SQL * Loader conditional load
- How do I replace a value with another value in sql loader?
- field in data file exceeds maximum length in sql loader. I am using in linux. we are getting the data from sybase and using it for oracle
Related Questions in CTL
- constructing valid CTL or LTL expression (in NuSMV)
- NuSMV at least 5 time steps to win
- sql loader load into multiple tables from single CSV file
- Replace $ char with zero for data field using SQLLoader
- CTL Equivalence checking
- How to express the fact that one property occurs in one path before another property in CTL?
- Certificates and Trust in Windows - Updates or Installs the the complete CTL?
- SQLLDR and .ctl files
- error when importing with a ctl file sqlldr oracle
- Oracle SQL*Loader WHEN Clause Raising Error 2
- Load CSV with SQLLDR (Rejected)
- sql loader case statement- how to populate a column based on another table and column values
- How can I request a client certificate only from a particular CA
- How do you read a set of atomic propositions?
- How to fix Skin that changes when you click 'Edit' on third party DNN modules?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The way you put it, it would go like this:
using DDL script, create all those tables
if CTL files contain data, I presume it is within the
BEGINDATAsection. Fine, couldn't be better because - as soon as you run the loader, it'll know where to find data to be loaded (it also means that control file usesinfile *, right?)you have to have access to SQL*Loader
once you have it (the
sqlldr.exe), make sure its directory is contained with thePATHenvironment variable, or - if not - invoke it by specifying the whole path to itopen command prompt of your operating system
navigate to directory that contains
CTLfilesrun the loader as
If everything is OK, data will be loaded. Check log files!