Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
74 views

I´m trying to load an existent XML file into an existent table in oracle. My XML file as the structure: enter image description here <Invoice> <InvoiceNo>FS TML0001/003123501</...
Nelson Soares's user avatar
0 votes
0 answers
104 views

I am working with an Oracle database that uses the US7ASCII character set. When inserting Unicode characters using a Java JDBC program, the values are stored correctly, but when inserting the same ...
Muskaan's user avatar
0 votes
0 answers
74 views

I used mysqldump to dump the data from a MySQL 8.0 database, which I am moving into my 19c adb. I am doing this on Oracle Linux. When I use the file command on the .txt file generated by mysqldump, I ...
draikes's user avatar
  • 43
-1 votes
1 answer
99 views

As stated, I want to load the data from CSV to a DB. I have prepared the cluster file for this. Here is the sample CSV data Record_Type,Cluster_ID,Forecast_ID,Selling_class,Origin,Destination,...
user29106165's user avatar
0 votes
2 answers
121 views

I have this control file: Load data into table ODIN_ALERTS_TEST APPEND fields terminated by "~" TRAILING NULLCOLS ( REGION, POD, SEVERITY, TARGET_NAME, TARGET_TYPE, ...
Christian Bongiorno's user avatar
0 votes
1 answer
61 views

I have a table that is populated from 2 sources, and the records in the table are differentiated by a column_type (1 and 2) let s say that column_Type =1 is for data coming from a file And column_type ...
Gisele's user avatar
  • 1
0 votes
3 answers
148 views

So, in the Control-M for Database, as far as I know. It purely run queries/statements that is valid as SQL statement. However, the one that I am using which is SQLLDR is an independent cli tool for ...
alhambra's user avatar
1 vote
0 answers
1k views

I have a huge file (CSV) to load into Oracle approx,15gb, containing 50 million rows. Below is the error when I try to run sqlldr Path used: Direct SQLLoader-510: Physical record in data file (...
DISPLAY's user avatar
  • 11
0 votes
1 answer
316 views

Currently I am using oracleSQL Loader utility to load the data into the database. My CTL file is shown below. Here the column "LM_CAUTION_NOTE" data type is CLOB in the table. When I execute ...
Karthick88it's user avatar
-1 votes
1 answer
95 views

OPTIONS (SKIP=1) LOAD DATA INFILE * APPEND INTO TABLE test_table FIELDS TERMINATED BY ',' TRAILING NULLCOLS ( CAPITAL FLOAT "replace(:CAPITAL, ',', '')" ) i tried to insert the data in ...
Jai Shiddharth's user avatar
-2 votes
1 answer
107 views

I have a table in Oracle that has 6 columns and a comma-delimited text file that has 5 "columns" I need to put the year in the first column of each row. The year is not in the text file. It ...
Nicole's user avatar
  • 3
0 votes
1 answer
211 views

While creating external table with SQL loader to load data, I used "FILLER" keyword specified as in oracle docs as below. A filler field, specified by BOUNDFILLER or FILLER is a data file ...
Erik's user avatar
  • 396
0 votes
1 answer
68 views

Team, how can we add header to the .bad file being created by SQLLDR. I have header in the input file and the same header we would like to add it to .bad file. Tried skip=1 on the command line but it'...
teepu's user avatar
  • 286
0 votes
0 answers
220 views

I have to provide a text file for an application that uses SQL loader to import data. Therefore I require both a ctl file and a ldr file. I am just wondering if there is an easy way to generate a ctl ...
Eseosa Omoregie's user avatar
1 vote
1 answer
48 views

I'm trying to load around 289150 records through SQL loader, out of which 1 record is failing to insert and I'm getting the below error. Pasting the record for which it is failing and the error which ...
rahul1234a's user avatar
0 votes
1 answer
248 views

I am trying to unpack a binary file (file.dat) but it is just unpacking one single row while it has more than 800, also when I print the result of struct.unpack(), the string field is giving me lots ...
Marco Somoza's user avatar
1 vote
0 answers
313 views

Note: this is a revised version of an earlier question I have a text file that is to be imported into an Oracle table with SQL Loader. However, some rows have a CR/LF in their first column, enclosed ...
Don Del Grande's user avatar
0 votes
1 answer
55 views

Hoping that someone may help me out. Oracle Version: 19.3.0 CREATE TABLE test ( DATE_STAMP DATE, TIMESTAMP TIMESTAMP(6) ) Sample data in csv format is as follows cat test.csv ...
user13708337's user avatar
0 votes
1 answer
350 views

I have the following table in my Oracle database (19c): CREATE TABLE debtors ( bankruptID NUMBER NOT NULL, category VARCHAR2(50) NOT NULL, lastname VARCHAR2(100), firstname VARCHAR2(80)...
bernie's user avatar
  • 3
0 votes
1 answer
151 views

I want to import a .csv file into an oracle database table below, but its not working and the log file is empty without no output. my shell script is below: and also the logfile is always empty below ...
Godwin's user avatar
  • 13
0 votes
1 answer
106 views

LOAD DATA REPLACE INTO TABLE Tab_A Fields terminated by "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS ( ITEM "trim(:ITEM)", ...
Megala's user avatar
  • 1
0 votes
1 answer
97 views

I'm very unfamiliar the Perl programming language and was given the task of populating an Oracle SQL table with the running total and sum of columns DEBIT and CREDIT. When I try loading in the test ...
ns102030's user avatar
0 votes
1 answer
67 views

I'm trying to load a CSV file that includes three columns: DEBIT, CREDIT, and PREVIOUS_BALANCE_AMOUNT. The columns are formatted in custom format: #,##0.##. When I tried loading the columns in using ...
ns102030's user avatar
0 votes
1 answer
188 views

I am trying to load data from a csv to oracle table but it doesn't seem to work correctly. I am having issue in data mapping with columns. Data is getting into the wrong columns in the table and due ...
aditya442's user avatar
0 votes
0 answers
47 views

I have a flat file that contains a list of people's name. I need to split the last name into a new column when executing sql loader. Here's the tricky part. I need to split out the surename if it's ...
John Al's user avatar
  • 159
0 votes
1 answer
616 views

I have a table TABLE1 with columns R_ROW_ID, NAME, MARKS, TIME, NUMBER,LAST_UPD_TIME,USER_ID... All column values are not null. TABLE1 has unique index on column R_ROW_ID. I have a file which has only ...
Johnbsdk10's user avatar
0 votes
2 answers
542 views

I have a requirement where I need to load data from datafile into table using SQL loader. However the data will be provided in a single line for similar channels. ROW_ID is the primary key and is ...
Cool_Oracle's user avatar
0 votes
1 answer
716 views

with the aim of importing data automatically into an Oracle database, I created a CTL file using the SQL*Loader. I would like to add some clause to this file that allows me to block the file upload ...
Daniele Quattrone's user avatar
0 votes
2 answers
383 views

I am trying to load XML data exactly according to the Oracle documentation: [https://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb25loa.htm#ADXDB5731] But the only result is the error: SQL*Loader:...
Pavel_'s user avatar
  • 1
1 vote
1 answer
252 views

I'm running into an error while trying to load an oracle 12c table from .CSV file in Linux environment. Control File: load data infile '/opt/Infor/Marketing/10.1.0.0/custom/...
Soph Cherrak's user avatar
1 vote
0 answers
1k views

I'm a Window user and I have a problem with Oracle SQLLDR. Whenever I run SQLLDR in CMD, it shows Errors: The code execution cannot proceed because xxx.dll was not found. It pops up several times for ...
Viet Anh Nguyen's user avatar
2 votes
1 answer
63 views

I would like to load a CSV file using sqlloader without having to edit the CSV file each time. When the file is sent to me, the data in the first column is only included in a header above the rest of ...
Todd's user avatar
  • 41
0 votes
1 answer
387 views

I am using below CTL file to load data into table Load data Append Into table abc Fields terminated by ',' optionally enclosed by '"' Trailing nullcols ( R_date date 'mm/dd/yyyy hh:mm:ss' ) Csv ...
user3873251's user avatar
0 votes
1 answer
763 views

This is a Q&A sharing of something I learned how to do that has been reported for years to not be possible. How to get SQL*Loader to load temporary tables (global temporary tables, or GTTs). ...
Paul W's user avatar
  • 12.8k
1 vote
0 answers
293 views

I have a situation where my Oracle sql loader has to support 4 character sets. The loader script is common and loads files from multiple country sources, hence the requirement. At the moment, the ...
Raj 's user avatar
  • 11
-1 votes
2 answers
61 views

LOAD DATA INFILE "C:\\Users\\lenovo T480\\Desktop\\all_2012.csv" DISCARDFILE "C:\\Users\\lenovo T480\\Desktop\\BANKING_DATA_DISCARDED.txt" TRUNCATE INTO TABLE BANKDTLS FIELDS ...
Jnanendra Y's user avatar
3 votes
2 answers
837 views

I am using SQL Loader to import data from CSV file to a database table, and it works fine. Each time I run the command sqlldr, the log file is overridden with new infos. Is there a way to add a ...
SWEEPY's user avatar
  • 639
0 votes
0 answers
230 views

I have a table DimTime. Its schema is as follows: CREATE TABLE DimTime ( SK_TimeID NUMBER(11,0) PRIMARY KEY, TimeValue DATE Not NULL, HourID NUMBER(2) ...
Sayyor Y's user avatar
  • 1,404
0 votes
2 answers
623 views

I am trying to load a '|' delimited file, but it fails because some columns have crlf values. I converted the text files to xlsx and imported them successfully using SQL Developer. I noticed that SQL ...
Darrell's user avatar
  • 665
0 votes
1 answer
519 views

I have a control file that loads text to oracle but i am trying to populate field C_TIPO_PRATICA with a case statement, please see below control file and the error I receive. what should be the syntax?...
agium's user avatar
  • 1
0 votes
1 answer
1k views

I'm currently inserting data some columns from a CSV file into a table by using SQL loader and that data is validated and the remaining columns are filled automatically based on the inserted data. But ...
Charan 's user avatar
1 vote
1 answer
239 views

I'm using a command of sql loader but I get an error I think due to the space in the path, I tried to put double quotes (") or single quotes (') but I got Syntax error on command-line:
Daniele Scalco's user avatar
0 votes
1 answer
468 views

Every time I try to run the following sqlldr command on a terminal only oracle 19c system: sqlldr username/password@$HOSTNAME/$ORACLE_SID control=rules.ctl log=backup_error_logs.txt data=output.csv ...
SpaceCoder's user avatar
0 votes
1 answer
535 views

I have a simple table CREATE TABLE MYTABLE ( MYDATE DATE, ID NUMBER ) MYDATE is of default format 'dd-MON-yy' With matching date format insert works without any problem INSERT ...
Baker's user avatar
  • 515
0 votes
1 answer
508 views

Below is the control file we used to load the data in table. The scenario is like, if COLUMN6 is NULL then use/insert COLUMN4 value while load the data into the table. Is it feasible through SQL*...
Venkatesh R's user avatar
0 votes
1 answer
377 views

I have to use sqlldr to load from a flat file based on position. Suppose I have a control file like; LOAD DATA INFILE 'sample.txt' REPLACE INTO TABLE t1 (col1 POSITION(1:5), col2 POSITION(6:10), ...
Albin's user avatar
  • 3
0 votes
1 answer
313 views

I am trying to load the data into the Oracle by using the sqlloader and want to give a specific date while loading. Here is my control file. LOAD DATA --TRUNCATE APPEND INTO TABLE mcm.TEMP_2 FIELDS ...
Abdullah's user avatar
0 votes
1 answer
705 views

LOAD DATA INFILE 'Sample2.dat' APPEND INTO TABLE EMP_LEAVE WHEN REQUEST_DATE > SYSDATE --The problem lies here FIELDS TERMINATED BY "," (REQUEST_NO, EMPNO, REQUEST_DATE DATE "...
John Joy's user avatar
0 votes
0 answers
349 views

This here is my data file Sample1.dat 10013010-05-202212-05-202217-05-2022Not WellS5 A 10113111-04-202112-04-202112-04-2022Fever A365P 10213201-07-202203-07-202206-07-2022VacationC5 R 10313301-03-...
John Joy's user avatar
-2 votes
1 answer
39 views

The input is -> -747585959 And being loaded as -747585959 I just want it to be loaded as 747585959. Used sql*loader for the data loading process. The “ - “ is the first column and it has “ - “ for ...
Kartik's user avatar
  • 9

1
2 3 4 5
21