SQL * Loader does not import data

Hi all -

I have a very basic package which should load data from a file delimited by tabs.  My problem is that when I run my package, no data is loaded. Although the correct number of records is created (based on relaxation of the table).  All records contain no data.

OPTIONS (skip = 1, errors = 10, lines = 10000, direct = True)

DOWNLOAD THE DATA

INFILE "C:\ECOMMERCE\VFT\Marin\inbound\DSGSiteCatalystPassbackKeywords.csv" "str"\n"

BADFILE "C:\ECOMMERCE\MFT\NxtGen_Catalog_Int\ErrorFiles\MARIN_DSG_KEYWORDS.bad."

DISCARDFILE 'C:\ECOMMERCE\MFT\NxtGen_Catalog_Int\ErrorFiles\MARIN_DSG_KEYWORDS.dsc '.

IN THE TABLE "ETL_STAGE". "" MARIN_KEYWORD ".

ADD

EVALUATE CHECK_CONSTRAINTS

"FIELDS TERMINATED BY ' 09 X."

TRAILING NULLCOLS

(

MARIN_KEYWORD_ID,

KEYWORD,

BUSINESS_DATE,

EDITOR,

ACCOUNT,

CAMPAIGN,

AD_GROUP,

TYPE CHAR (100000),

DESTINATION_URL,

UNIQUE_ID,

PUB_ID,

PRINT,

CLICKS,

PUB_COST,

ATTRIBUTED_CONVERSIONS_CONV,

CLICK_PATH_CONV,

LAST_CLICK_CONV,

EMAIL_SIGNUPS_CONV,

SCORECARD_SIGNUPS_CONV,

STORE_LOCATOR_PAGE_CONV

)

My table creation script is:

CREATE THE TABLE ETL_STAGE. MARIN_KEYWORD

(

MARIN_KEYWORD_ID VARCHAR2 (1000 BYTE),

KEYWORD VARCHAR2 (1000 BYTE).

BUSINESS_DATE VARCHAR2 (200 BYTE),

EDITOR VARCHAR2 (1000 BYTE),

ACCOUNT VARCHAR2 (1000 BYTE),

CAMPAIGN VARCHAR2 (1000 BYTE),

AD_GROUP VARCHAR2 (1000 BYTE),

TYPE VARCHAR2 (1000 BYTE),

DESTINATION_URL VARCHAR2 (1000 BYTE),

UNIQUE_ID VARCHAR2 (1000 BYTE),

PUB_ID VARCHAR2 (1000 BYTE),

VARCHAR2 (1000 BYTE) PRINT,

VARCHAR2 (1000 BYTE) CLICKS,

PUB_COST VARCHAR2 (1000 BYTE),

ATTRIBUTED_CONVERSIONS_CONV VARCHAR2 (1000 BYTE),

CLICK_PATH_CONV VARCHAR2 (1000 BYTE),

LAST_CLICK_CONV VARCHAR2 (1000 BYTE),

EMAIL_SIGNUPS_CONV VARCHAR2 (1000 BYTE),

SCORECARD_SIGNUPS_CONV VARCHAR2 (1000 BYTE),

STORE_LOCATOR_PAGE_CONV VARCHAR2 (1000 BYTE),

IMEX_LOG_REFERENCE_ID VARCHAR2 (1000 BYTE),

DATE_ADDED DATE DEFAULT SYSDATE NOT NULL,.

ADDED_BY VARCHAR2 (50 BYTES) BY DEFAULT USER NOT NULL,.

DATE_LAST_MODIFIED DATE DEFAULT SYSDATE NOT NULL,.

MODIFIED_BY VARCHAR2 (50 BYTES) BY DEFAULT USER NOT NULL,.

RECORD_STATUS VARCHAR2 (1 BYTE) DEFAULT 'A' NOT NULL

)

TABLESPACE ECOM_DATA

PCTUSED 0

PCTFREE 10

INITRANS 1

MAXTRANS 255

STORAGE)

64K INITIALS

ACCORDING TO 1 M

MINEXTENTS 1

MAXEXTENTS UNLIMITED

PCTINCREASE 0

DEFAULT USER_TABLES

)

LOGGING

NOCOMPRESS

NOCACHE

NOPARALLEL

MONITORING;

The log displays the following text:

SQL * Loader: release 11.2.0.2.0 - Production on Thu Jun 25 14:31:35 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Control file: C:\ECOMMERCE\MFT\NxtGen_Catalog_Int\SQLLoaderScripts\MARIN_DSG_CREATIVES.ctl

Data file: C:\ECOMMERCE\VFT\Marin\inbound\DSGSiteCatalystPassbackCreatives.csv

Bad leadership: C:\\ECOMMERCE\MFT\NxtGen_Catalog_Int\ErrorFiles\MARIN_DSG_CREATIVES.bad

Delete the file: C:\ECOMMERCE\MFT\NxtGen_Catalog_Int\ErrorFiles\MARIN_DSG_CREATIVES.dsc

(Allow all releases)

Number of loading: ALL

Number of jump: 10

Authorized errors: 50

Link table: 64 lines, maximum of 256000 bytes

Continuation of the debate: none is specified

Path used: classics

Table 'ETL_STAGE '. "" MARIN_CREATIVE ", loaded from every logical record.

Insert the option in effect for this table: APPEND

TRAILING NULLCOLS option in effect

Column Position Len term Encl. Datatype name

------------------------------ ---------- ----- ---- ---- ---------------------

CREATIVE_ID PRIME * WHT O(") CHARACTER

The maximum field length is 100,000

HEADLINE THEN * CHARACTER O(") WHT

BUSINESS_DATE NEXT * CHARACTER O(") WHT

The SQL string for the column: 'TRIM(:BUSINESS_DATE) '.

DESCRIPTION_LINE_1 NEXT * CHARACTER O(") WHT

DESCRIPTION_LINE_2 NEXT * CHARACTER O(") WHT

DISPLAY_URL NEXT * CHARACTER O(") WHT

DESTINATION_URL NEXT * WHT O(") CHARACTER

The maximum field length is 100,000

EDITOR NEXT * CHARACTER O(") WHT

THEN THE CAMPAIGN * CHARACTER O(") WHT

AD_GROUP NEXT * CHARACTER O(") WHT

UNIQUE_ID NEXT * CHARACTER O(") WHT

PUB_ID NEXT * CHARACTER O(") WHT

PRINT NEXT * CHARACTER O(") WHT

The SQL string for the column: "replace (: print, ',',") "."

CLICK ON NEXT * CHARACTER O(") WHT

The SQL string for the column: "replace (: CLICKS, ',',") "."

ATTRIBUTED_CONVERSIONS_CONV NEXT * CHARACTER O(") WHT

CLICK_PATH_CONV NEXT * CHARACTER O(") WHT

LAST_CLICK_CONV NEXT * CHARACTER O(") WHT

EMAIL_SIGNUPS_CONV NEXT * CHARACTER O(") WHT

SCORECARD_SIGNUPS_CONV NEXT * CHARACTER O(") WHT

STORE_LOCATOR_PAGE_HITS_CONV NEXT * CHARACTER O(") WHT

IMEX_LOG_REFERENCE_ID NEXT * CHARACTER O(") WHT

Why WHT, showing when I use tabs?

In addition, why is not display all the data in the files?

NLS_CHARACTERSET WE8ISO8859P1

Tags: Database

Similar Questions

  • SQL Loader - does not

    I have Oracle 11 g R2 running on Windows Server 2008 R2

    When trying to load the data (csv file) with SQL Loader in Enterprise Manager, he told me the work successfully completed, but there is no data in the table. The bat is created as the ctl and sh file. I checked that sqldr is in my directory \bin to $ORACLE_HOME$ and I checked that this 'path' is also in my path environment variable. When I try to run it from the command line that I don't get recognized as builtin or external, an executable program or batch file. I try to run it in SQL Developer, and after his execution, it is said canceled task. Can help you. I expect a record 70 million next week and I want to use SQL Loader.

    Message from Enterprise Manager
    State managed
    Exit code 0
    31327 step ID
    Target leads.global
    Started may 10, 2013 15:55:14 (UTC-07:00)
    Ended May 10, 2013 15:55:22 (UTC-07:00)
    Step 8 seconds
    WIN Service Management - D1CINRVM11K:1158_Management_Service
    Including the job step ADVANCED management service was sent.



    Natural logarithm of output


    User name:
    SQL * Loader: release 11.2.0.1.0 - Production Friday, may 10, 15:55:15 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.


    Loaded - the number of logical records 51.

    I usually run SQL * Loader of SQL * Plus, so that it avoids some of the questions of privilege. I also use a log file, so that I can check later to see what happened and why. For example:

    host sqlldr scott/tiger control = test.ctl log = test.log

    A common question is the lack of privileges for the data file to load. You can change an empty file in SQL * more and copy and paste the data into it, to eliminate such problems or identify them, so that you can check the privileges on the original file.

    To provide a lot of other things, we would need more information, such as a few lines of sample data, your SQL * Loader control file and the structure of your table.

  • "FND_GLOBAL. User_id' in control file SQL Loader does not work

    Hi all
    1.
    Here's a piece of my. File CTL that I registered as simultaneous program and submitting to the SRS window
    LAST_UPDATE_DATE SYSDATE
    LAST_UPDATED_BY 'FND_GLOBAL. USER_ID '.
    CREATION_DATE SYSDATE
    CREATED_BY 'FND_GLOBAL. USER_ID '.
    LAST_UPDATE_LOGIN 'FND_GLOBAL. LOGIN_ID.
    CONSTANT STATUS "NEW".
    EXTRACT_DATETIME SYSDATE
    LOAD_ID 'FND_GLOBAL. CONC_REQUST_ID ".
    When the data is loaded to the columns where I userd fnd_global...
    I get-1 rather than my id user, login id or the id of the request.
    Please let me know if I'm missing something.
    -----------------------------
    2.
    My data file is a sheet Excel which I save like her. CSV file.
    Some of the text data has comma with strings as
    Test data
    so when I load this single value that test becomes responsible and only first record are to take.
    Next recordings were not to take.

    Please let me know the solution.
    Thank you

    Post the details of the version of the application, the database version and the OS.

    You have errors in the concurrent request log file?

    Please see if these documents help.

    SQL * PLUS demand from FND_GLOBAL Incorrect. User_id as -1 [363510.1 ID]
    Package Fnd_Global - Fnd_Global.Resp_Id, Fnd_Global.Form_Id, Resp_Id, $form_id, Form_Appl_Id are equal to-1 [960111.1 ID]

    Thank you
    Hussein

  • Charger data warehouse does not write data

    Hello

    I need to know which products are the most popular, I know the tables to store this information
    and ARF_QUERY ARF_QUESTION. I already have the charger running data warehouse module, if anyone knows
    Why data warehouse loader does not write data in the database, I thank you.

    I thank.

    The planner should treat the logs on a daily basis (by default the calendar begins charge to 22:00 and ends at 6:00). If you want to call the treatment yourself simply call the method loadAllAvailable of the SearchQueryLoader component. You can do this via the dyn/admin.

    -Andrew

  • Why PL/SQL procedures does not allow users to enter data dynamically at run time?

    Dear all,

    I tried to do a procedure that will search for a group of approval in our database that matches.

    (1) the number of levels

    (2) the number of users by each level

    (3) the id of users by level

    entered by the user.

    I tried various methods to receive user input dynamically at run time, but in vain.

    Finally finished my procedure allowing the user to enter the parameters and then executes the procedure, to which these parameters are passed as arguments. (1 variable for the number of levels and 2 userdefinedarrays with the number of users by level and level respectively)

    Why PL/SQL procedures does not allow users to enter data dynamically at run time?

    Thanks in advance,

    Séverine Suresh

    HEY, Sebastian,

    3035408 wrote:

    Hello Sir,

    My question is that if I'm going to say, the number of levels 5, is there any way by which, at runtime, the procedure prompts me to enter at the start of the number of users per level. Now as soon as I get the number of users per level can I do the procedure ask me to enter the nicknames of the members of each level. I mean, something like a invite.

    Thank you

    Séverine Suresh

    There is no way to do it in SQL or PL/SQL, because not SQL PL/SQL is a way to get user input.  User interaction is a job for your front end, like Zlatko tool suggested in response to #5.  If your front end tool is SQL * Plus, you can use the substtitution variables, as Jarkko showed in response #6.

  • my SQL Developer does not work properly! Help

    Hello!!

    My problem here is not like I can't live or work, but it's REALLY annoying, see my SQL Developer does not take any different key of letters and the space bar, I mean, if I use the Enter key, does not alter the line, if I use the return key back isn't clear if I use F5/F9 does not execute the msec! and if the keys don't work!

    any ideas why this is happening? and if yes how do fix this problem?

    There is a well known bug but still not solved, causing this type of behavior, if you are a developer SQL 1.5.X you can work around the problem by loading the accelerators by default:

    Tools-> accelerators-> load Preset-> by default

    If you're on 2.1.X preset may be responsible for

    Tools-> preferences->-> others-> load keyboard accelerators

    2.1 this problem has not been reported so far, so if you are in 1.5.X you can consider upgrading.

  • What happens if system restore does not restore dates using xp family

    What happens if system restore does not restore dates using xp family

    Hi mikeR_582,

    · Were able to run the system restore before?

    · If Yes, do you remember all the recent changes on the computer before the show?

    · What is the service pack installed?

    You can check the link that contains information on the number below: restoration of the system "restore points" are missing or deleted: http://support.microsoft.com/kb/301224

  • The lateset, 2015.5 edition, does not transfer data from the metadata, only the focal length objective. Disappointment when you want to know what that lens you used. (It allows to rename the files but after you create a second copy. "It's an improvement.)

    The last edition, 2015.5, does not transfer data from the metadata, only the focal length objective. Disappointment when you want to know what that lens you used. (It allows to rename the files but after you create a second copy. "It's an improvement.)

    Yes, copied files from Nikon NEF, DNG.

  • ORA-13780: SQL statement does not exist

    Hello
    on the 11g R2, I get the following message:
    SQL> variable stmt_task VARCHAR2(64);
    SQL> EXEC :stmt_task := DBMS_SQLTUNE.CREATE_TUNING_TASK(sql_id => 'gh9p77g1fr0kd');
    BEGIN :stmt_task := DBMS_SQLTUNE.CREATE_TUNING_TASK(sql_id => 'gh9p77g1fr0kd'); END;
    
    *
    ERROR at line 1:
    ORA-13780: SQL statement does not exist.
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.PRVT_SQLADV_INFRA", line 125
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 655
    ORA-06512: at line 1
    Any idea?

    Thank you.

    Sql and the sql_id execution plan has been emptied out of the shared pool, so oracle could not find it.

    -Thank you

  • My pl/sql codes does not in the express edition, which can do?

    pls help me my pl/sql codes does not work in oracle 10g express edition, which can do? pls help me.

    You must open a window for cmd.exe with Windows Start menu, then run, and type: cmd.exe. The rest is in my previous message.

  • USB 3.0 loads but does not transmit data

    Model: Y510p with Windows 7

    Both my USB 3.0 ports in load of the devices, but windows will not recognize them (so I can't do a backup).

    I tried to remove and reinstall the USB drivers but the computer still does not recognize a connected device. Even tried to search the hardware changes.

    Normally I would restore Windows but can not because I have not saved with no USB.

    Any advice would be great,

    Thank you

    try a system restore and see if that helps and if not look for the chipset drivers

  • the pages won't load does not correctly and cannot install add ons

    After installing Firefox on Windows 7, mozilla site and the addons page 29 does not load correctly. Some such problem indicated in https://support.mozilla.org/en-US/questions/992362 and I tried all the steps but still does not work.

    OK Jefferson: did so. For those interested, my response on the other thread was:

    «After stared grumpily the computer screen for a while after you posted my message, I suddenly realized that, although it checked twice, the date was in fact erroneous.» For some reason, the date to yesterday - which is obviously where my mind was still, because when I saw the date I thought Yes, "it is the right date." After that I put today's date, the problem disappeared. Curious that this one small issue should cause such a problem "profound." Anyway, all sorted. »

  • File to archive does not import contacts in El Capitan

    It's very frustrating because I know it should work.  I googled cela and everything I have read says it should work, but for some reason, it does not work for me.

    I'm on a MacBook running 10.11.4.

    I want to be able to import my file Contacts.abbu in my usual user account in Contacts of an another user account on this computer for a backup.  Contacts in my usual account is connected to iCloud.  The 'backup' user account is not connected to iCloud.  I want contacts in this user to reside on my Mac account.  The "vcf" format works but for some reason the "Alice" will not work.  Please tell me just to use the VCard format if it works.  I want to know what I'm doing wrong with the method of the Archive.

    I tried saving the file for sharing, public works, even a flash drive, to get the file to the other account, but nothing.  I was now all day and it's getting frustrating.  Initially, the user account of "backup" would not accept the VCard format.  After several ways to read the file in this account, I deleted and added a new user account "backup."  The VCard file now works but the file to archive still does not work.  He does everything as warning me that all existing contacts will be crushed, but when it's done there are no list of contacts.  Contacts with no contact.  I have close Contacts and re - open but still nothing.  Very frustrating.

    Help, please.

    Archive of Contacts (file .abbu) is a copy of everything in the folder ~/Library/Application Support/AddressBook. On my Mac (local) accounts are stored directly in the address book folder. Online accounts (such as iCloud) store the structure correct and even inside of a source folder that is located in the folder in address book.

    Index of the contacts in the folder of metadata for each account in a database called AddressBook - v22.abcddb. The database for each account is used to display the contacts in the application. If you do not have an online account set up in the accounts Internet prefpane, then Contacts will not look in the Sources of data into account folder.

    When you 'restore' a .abbu, the content completely erases the contents of the folder in address book. So it is probably works fine, but no showing don't not iCloud data because it does not know it is supposed to. You could try to replace the metadata folder which is directly in the folder in address book with the metadata file that is located in the folder iCloud in the Sources. However, it is not named with the name of the account, so you have to dig into each one until you find the appropriate subfolder.

    Once you replace the local metadata, remove files from AddressBook - v22.abcddb that are directly in the address book folder, then open the Contacts. He must recreate the index files and display your iCloud as contacts on my Mac.

  • Why the parent class does not report data for child in LVOOP class?

    Attached is a practical program that I wrote to learn about the legacy with LVOOP.

    I have the impression of OOP is a Parent class describes the type of object.  Then the children inherent description of the parent.  The child may also have additional qualities, but it still contains the description of the parent.  If a child does not have a VI bearing the same name as the parent and the parent VI will be loaded and executed.

    My questions:

    (1) why does the Parent.lvclass:Read.vi not report 'Child' in the channel indicator when the child write VI has been sent?

    2) matches the data of the child, do not at all seen by the parent company even when it has the same definition (that's the String)?  I understand that the Parent do not know anything about the unique child elements, but I think we should know about the common themes which inherited the child.

    Here is my sample code:

    These are two different sets of data. The parent class has a data set containing the string, the class of the child also has a data set containing the string, but both of these channels are separated.

    This can be made apparent, by changing the names of the channels based on their respective categories:

    What you want is for your children, class VI write to access the data of the parent class. You can do this with a simple data VI member access in VI of the child:

  • Computer does not send data to the printer

    I have a HP Pavilion g7-1310us laptop running Windows 7 Home Premium X 64, hung up on a printer Panasonic KX-MB1500. For two years, everything worked perfectly. Suddenly, a few weeks ago, my computer go haywire. Instead to start normally, I got a black screen with an underscore flashing in the upper left corner and a constant beep - not a signal POST, just a regular beep for about two minutes. Then start Windows. A week before, without any effort on my part, my machine started to run normally again, although starting up. However, when he went haywire, she also continued to send data to my printer and still won't. The printer itself is fine. It will scan and it makes copies, it will display its own internal test page. The USB cable is brand new, and it works very well in the opposite direction; everything I scan is in my computer normally. I installed, deleted and reinstalled the printer from my Panasonic CD drivers several times, but it will still not print computer. The printer is inactive on "Energy saving" and don't go to 'Print PC' (when the fuser unit starts to heat upwards), so that the printer is still asleep. Lenovo Thinkpad I borrowed a friend (also Windows 7) and installed my Panasonic drivers on this subject, then connected to my printer. He printed the test page for the devices & Printers immediately, without any problem. Obviously there is something wrong with the software from my computer. In Device Manager, the Lenovo showed two times more than my HP shows USB controllers. (Yes, I tried to uninstall all the USB controllers and leave the machine to reinstall on reboot.) Critical something is missing in my software that prevents all three of my USB to send ports, although they receive (the function of scan and a Logitech wireless mouse) very well. Is it possible that my Windows 7 is corrupted? I ran SFC, and it signals that all is well when it executes the audit program. Obviously, something inside of my box is NOT very well, if the works of Lenovo and my HP does not work. Is it possible to trace and fix this problem?

    Apparently you have isolated the fault with the new information. You may not realize that a new detail was very informative.  She completed a string of the integrity of the material.  A printer driver and PDF995 share a common fault - Printer Manager subsystem, which also includes a spooler.

    Rather strange that a function of the software OS remains faulty.  However, this type of failure must be reported and confirmed in the system event logs.   If this software does not work, then it also does not start in the Services (or by running the \Windows\system32\services.msc program).

    BTW, are you sure that you were to load a 64-bit driver in your CV?  The other was a 32 bit OS?  Doubtful, it is a problem - but stranger things have happened.

    Pdf995 in the meantime and the driver Panasonic the two default share a common factor - the print subsystem that includes also a spooler.

    If the print subsystem is declared problematic in the case of newspapers and in Services, then restore the system on the eve of the blackout is a safe and recommended solution.  But only if this subsystem is clearly problematic.

Maybe you are looking for

  • App (iTunes Store)

    When your application (iTunes Store on iOS devices) does not work just half the time, it REALLY makes me my devotion to Apple about the issue. What you guys are doing about this?

  • Firefox is very slow and lag for most of the sites I visit, cannot figure out how to fix.

    It started about a month or two it y a. almost all Web sites that I visit Firefox lag or stalls pure and simple script error messages, giving me the advice (not responding) to the top of the page or do not respond. I tried all suggestions that I foun

  • CPU fan broke on Satellite A215-S7444

    Hello My Satellite A215-S7444 CPU fan stopped working which causes my CPU become very hot. After 5 minutes of idle my laptop turns off which makes it almost useless to my laptop.After reading a few forums, I decided to disassemble my laptop to check

  • Minimum time to wait in the loop of reading series

    Hello I would like to ask if it is possible to read data from a serial port loop each 17ms? If so, how to read Serial and it management loop set. I'm the Arduino Uno card reading that can run on up to 115200 baud rate of kbs. Arduino sends each integ

  • 9 connections

    When I have more connections then 9 per VISA SERIES, the application crashes with an occupancy of 100% of the CPU. Each VI read a Nport 5110 at a frequency of 1 Hz, baud rate is set to 19200, with tank only to enable the termination, no flow control.