Sql loader does not skip header rows from the second infile

Hi
I am new to Sql Loader and trying to figure out a way to load data into the table from 2 files which have different data in the same format. The files get successfully loaded into the database with just one glitch:
Its skips first 2 rows from the first file however it takes first 2 rows from the 2nd file which I do not want. Can anyone help me with this issue? How can i restrict loader from picking up the 2 header rows from the second file as well?
given below is the content of the control file
OPTIONS ( SKIP=2)
LOAD DATA
INFILE 'C:\loader\contacts\Italy_Wave11_Contacts.csv'
BADFILE 'C:\loader\contacts\Contacts.bad'
DISCARDFILE 'C:\loader\contacts\contacts.dsc'
infile 'C:\loader\contacts\Spain_Wave11_Contacts.csv'
BADFILE 'C:\loader\contacts\Contacts1.bad'
DISCARDFILE 'C:\loader\contacts\contacts1.dsc'
Truncate
into table V_contacts_dump
fields terminated by ',' optionally enclosed by '"'
trailing nullcols
(ASSISTANT_EMAIL_TX,
ASSISTANT_NM,
ASSISTANT_PHONE_TX,
BUSINESS_AREA_CD,
BUSINESS_EMAIL_TX,
BUSINESS_FAX_TX,
BUYER_ROLE_CD,
COMMENTS_TX,
COUNTRY_CD,
COUNTY_STATE_PROVINCE_CD,
DATE_OF_BIRTH_DT,
DO_NOT_CALL_IN,
DO_NOT_EMAIL_IN,
DO_NOT_MAIL_IN,
DOMESTIC_PARTNERS_NM,
FIRST_NM,
FULL_NM,
GENDER_CD,
INTERESTS_CD,
LAST_NM,
MIDDLE_NM,
MOBILE_TX,
OFFICE_PHONE_TX,
OWNER_PARTY_EMAIL,
PREFERRED_CONTACT_LANG_CD,
PREFERRED_CONTACT_CD,
PRIMARY_CONTACT_IN,
REFERRED_BY_TX,
SALUTATION_CD,
STAC_SRC_ID_TX,
STAC_STDS_SRC_ID,
STCN_SRC_ID_TX,
STREET_TX,
STREET2_TX,
STREET3_TX,
SUFFIX_TX,
TITLE_CD,
TOWN_CITY_TX,
ZIP_POSTAL_CD_TX )

It would be possible to call the loader twice with only one input-File at each run.

Similar Messages

  • I have a song that skips on my main mac because its a downloaded copy. But on my other devices(iPad, Apple TV) it does not skip because its in the cloud. How do I make a downloaded song back into the cloud?

    I have a song that skips on my main mac because its a downloaded copy. But on my other devices(iPad, Apple TV) it does not skip because its in the cloud. How do I put a downloaded song back into the cloud?

    Delete the track from the iTunes library, but not from the cloud.

  • WRT54GX2 does not pick up time from the network...

    I have a WRT54GX2 running firmware 1.01.14 and it does not pick up time from the network. I have PacBell (now AT&T) as an ISP and a DSL link. My old Netgear router picks up the time immediately. I am trying to figure out if I have a defective unit or if this is a firmware bug. Without the time, I can not use any of the scheduling functions, nor measure uptime.
    Does anyone have this router with the time working? I have set the appropriate time zone.
    Thanks,
    Martin

    mneiman wrote:
    Thanks for you ideas.
    The backup file appears to be binary. However in searching through it I did see 3 time related text strings, namely: clock.stdtime.gov.tw, time-b.nist.gov and time.nist.gov. I can successfully ping clock.stdtime.gov.tw and time.nist.gov. This reinforces my belief that my ISP (AT&T nee PacBell) is not blocking access.
    however ntp works on TCP port 123. ping works on udp 7 afaik. if your old netgear works i guess this is a router problem.
    have you reset the router yet? afaik press reset button for 10 seconds.
    you will however loose all settings and need to enter them again. it may however fix the issue.Message Edited by linksysinfo on 07-09-2006 03:09 AM
    Regards Simon
    NAS: TS-459 Pro - 3.6.1 Build0302T - 4 x 1TB Samsung HD103SJ : EXT4 - APC ES 700VA UPS
    QPKG: WordPress 3.4, TwonkyMedia 6.0.39 QPKG - Zenphoto1.4.2.1 [7802] - phpMyAdmin v3.3.10
    Network: Netgear DG834G V4.01.40 - DGTeam Rev. 0849 -> Cisco RV220W 1.0.4.13, Cisco SLM2008, Dlink DSM-520, Xbox360

  • My iphone5 does not have any sound from the speakers ringtones or music any suggestions?

    my iphone 5 does not have any sound from the speakers any suggestions on what culd be the problem and hopefully a fix

    Just to add to this I can hear through the small speaker and the headphones it is just the speakers for ringtones and music etc

  • SQL*Loader does not recognise the \ in directory

    Hi there,
    We have version OWB 9.2.0.2.8 and I am trying to run SQL*Loader. I have tried to use an external table and also got "cannot find file" which I suspect could be the same problem. I then tried to load the data with SQL*Loader and saw that the directory specification of the source data file has "mysteriously" lost the \'s.
    Below is a copy of the .log file with data file specified incorrectly. It should be u:\bi\data\ocean_shipment.csv. Any ideas?
    Data File: u:biocean_shipment.csv
    Bad File: /opt/oracle/product/OWB/9.2.0/owb/temp/u:biocean_shipment.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 200 rows, maximum of 50000 bytes
    Continuation: none specified
    Path used: Conventional
    Table "DWHSTG"."S_SHIPMENT_TYPES", loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    Column Name Position Len Term Encl Datatype
    "SHIPMENT_CD" 1 * , O(") CHARACTER
    "SHIPMENT_NAME" NEXT * , O(") CHARACTER
    "LOAD_DATE" SYSDATE
    SQL*Loader-500: Unable to open file (u:biocean_shipment.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.

    Jean-Pierre,
    That was the first thing I checked - even put it in (with \'s on the configuration parameters of the mapping). ALso unregistered and re-registered the location, ensured I put the slashes in, but to no avail. But I do belief there might be a bug outstanding for the location with directory separators - will check on metalink and let you know.

  • Hyperlink does not open new window on the second page

    Hi,
    I have a report which shows list of products. Every product id has hyperlink to show details. When I click on any hyperlink on the first page, it opens in new window and looks good. But the hyperlink from the second page opens in the same window and overwrites main report.
    I am not sh=ure what is happening?
    Does anybody come across such problem and have the solution?
    Thank you.
    Julia

    Hi Julia,
    This is the way to resolve the issue in BO XI 3.1 SP3 :
    Open the existing Crystal Report in the Crystal Reports Designer
    Edit the formula which was created in the above step and replace sWindow=New with "target=_blank" as follows:
    a href="http://<servername>:<port>/OpenDocument/opendoc/openDocument.jsp?sDocName=Drilldown" target="_blank"> MyTest </a>
    Save this formula and save the report as well
    Log onto the BusinessObjects Server box and modify the web.xml file located in C:\Program Files\Business Objects\Tomcat55\webapps\CrystalReports\WEB-INF by adding the following code in it: 
    <context-param>
          <param-name>
                    crystal_encode_html_for_single_line_field_objects
          </param-name>
         <param-value>no</param-value>
    </context-param>
    5. Save this file
    6. Restart the application server (Tomcat)
    7. Now, when you open the report in InfoView and click on the hyperlink, the target report should open in a new window.
    Regards,
    Anchal

  • SQL Query does not have all rows in ResultSet

    I am using JDK 1.4.2 and an MS Access 2000 database where I attempt to retrieve data and I get in the ResultSet a maximum of around 280 rows, but there are more that seem to be ignored. In Access I can see them using the same query.
    The Statement.getMaxRows() returns 0 and I do not understand why I do not get the other ones. The query is issued using Statement.executeQuery(String), but using execute() does not make a difference, There is just one ResultSet returned.
    I would appreciate your help.

    I had this same problem once because in my Java code I was connecting to our alpha database and when I was running the query manually I was connecting to our production database.
    The only other thing I can think of that might cause this is if on the 281st row there is something wrong with the row and maybe the SQLException isn't being processed? Can't really say without seeing your code, but if you don't have a printStackTrace() or some indicator when a SQLExcpetion is thrown it could be breaking without your knowing. If those aren't the problems maybe you could post your code.

  • Incomplete Data on report (report does not show all records from the table)

    Hello,
    I have problem with CR XI, I'm running the same report on the same data with simple select all records from the table (no sorting, no grouping, no filters)
    Sometimes report shows me all records sometimes not. Mostly not all records on the report. When report incomplete sometimes it shows different number of records.
    I'm using CR XI runtime on Windows Server 2003
    Any help appreciated
    Thanks!

    Sorry Alexander. I missed the last line where you clearly say it is runtime.
    A few more questions:
    - Which CR SDK are you using? The Report Designer Component or the CR assemblies for .NET?
    - What is the exact version of CR you are using (from help | about)
    - What CR Service Pack are you on?
    And a troubleshooting suggestion:
    Since this works on some machines, it will be a good idea to compare all the runtime (both CR and non CR) being loaded on a working and non working machines.
    Download the modules utility from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    and follow the steps as described in this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=18424085&messageID=6186767
    The download also includes instructions on how to use modules.
    Ludek

  • I have my first mac. the music folder does not appear in favourites from the finder menu so i cant transfer my itunes library

    I have my first mac. I want to transfer my iTunes library from my pc but the music folder does not appear in favourites when I select finder.

    Choose Home from the Finder's Go menu.
    (117823)

  • Can an iPhoto library that does not exist be recreated from the AlbumData.xml file?

    Our iMac hard drive recently got corrupted and we hadn't backed up. (I know, I know, stupid, stupid, stupid. Won't make that mistake again!) The comptuer folk we took it too were able to recover most of the data on the drive, but my iPhoto library was not one of them.  I don't have the library - the file is gone. But I do have the AlbumData.xml file.  Is there any way to recreate the library from that file alone? I've tried it with iPhoto Library Manager and it wants me to have a default library for which this file is associated. I don't have that.  Is there any way to get this data back?  Some friends had trusted us with their wedding pictures. (I know, I know, stupid, stupid, and again, stupid. They won't make that mistake again!) I'd really, really, love to get them back if it's at all possible from this one file I do have.
    Thanks in advance for any help!

    No
    iPhoto is a SQL database and you can only create the database (the iPhoto library) using a SQL editor - using iPhoto is the best
    The database has many components and all of them must be there with exact names and in an exact structure to work
    The only way you could rereate the library is from the photos (depending on the version of iPhoto you had they would have been in the originals or masters folder)
    And yes - it is unfortuante but you have learned the most simple and basic lesson of computers - If you do not have a good current backup (I have multiple daily backups plus occasional offsite backups) you will eventually lose all of your data including your photos
    LN

  • TS2529 itunes does not let me restore from the last backup of my recently upgraded to 5.1 iphone

    I recently updated from 4.2.1 to 5.1 and now itunes does not show me the "restore from the backup of..." option. It doesn't even let me restore from any backup. I found the backup in the library and made a backup of it just in case. How can I restore from this backup if Itunes doesn't give me the option?
    Please help!

    Welcome to the discussions,
    go to iTunes/Settings and see if "Apps" is selected in General/Show:
    If yes, your App folder should be listed under "library" in the left window in iTunes again.
    There is no extra App folder listed when you click on your device in the device list.
    German version:
    Im Menü iTunes/Einstellungen/Allgemein nachschauen, ob bei "Anzeigen" die Auswahl "Apps" aktiviert ist. Danach sollte der App Ordner unter dem Punkt "Mediathek" wieder auftauchen.
    Wenn das Telefon in der Geräteliste markiert ist, gibt es den App Ordner nur auf der rechten Seite.

  • Mail does not show all mails from the same sender

    Hello,
    I have a problem with Mail - maybe an undiscovered bug? I play lotto on the free online platform www.freelotto.com. Each day freelotto sends me 6 mail receipts for any individual lotto game I took part of. The sender is always the same in each of these mails.
    When I receive these mails on my iphone I got all the six mails I expected. The same on my ipad. But in Mail on my Mac (same settings) I got just four. Two mails are always missing!!! I have no idea why. The are not in the SPAM or any other folder (also not in the recycle bin). They are just missing at all. I also checked my mail provider but those two mails are not longer on the mail server. So Mail must have received them - but does not list them.
    What can I do?
    Regards,
         Meisinotti

    No one who could help?

  • In Flash the sound does not play only started from the beginning. Can anyone please help?

    In Flash, the sound only plays if the file is started from the beginning. The sound doesn't play if starting from anywhere other than the beginning.
    This is very frustrating when trying to sync the animation with the sound as it's not possible to scroll back and forward with the sound playing. The only way the sound works is if it is started from the beginning.
    If anyone can help that would be fantastic.
    Thanks

    Hi Jeromie,
    Many thanks for your help. Here is some additional information, which may shed light on the problem.
    I am using Flash Professional CC  2014.0 release,  Build 14.0.0.110
    The computer I'm using is then iMac running OSX version 10.9.3 Build 13D65 2.7 GHz Intel Core i5
    I am using Flash, not a web-based editor that leverages Flash Player.
    "a direct link to the project or tool would be useful in allowing us to attempt to reproduce the problem" -  Not sure how to do this, how can I add the project to the forum?
    Many thanks once again for your help, let me know if you need more information.
    Cheers
    Michael

  • My new LG exalt does not play my music from the sd micro card. my old phone was a LG wine III. why does it not play from my old lg wine to the new one

    my

        Let's get your music playing, beans3! What happens when you try to play your music from the SD card - Any error messages?  Do the songs show as downloaded to your phone? Please share details so we can help.
    TanishaS1_VZW
    Follow us on Twitter@VZWSupport

  • Blank space in the header part from the second page onwards.

    Hi,
    I am having a 16 pages report where there the header part comes in only first page and the data flows to 16 pages
    from second page onwards i am getting a empty space in the top portion (header part of the first page).
    the property of repeating frames are
    vertical elasticity=Yes
    page protect =no
    Base printing on =enclosing object.
    keep with ancoring object=no.
    please advice.

    I think that you may find that the stuff in the header is set to print on First Page rather than All Pages. Try looking at the items and change.
    Dave

Maybe you are looking for

  • For Refreshing a table display in ALV when data is chngd in maintainance vi

    Hi All, I am displaying the fields of a Ztable in a ALV report. A maintainance view call button is attached to that report through which data of Ztable can be changed.Prolem is that when after changing the data when I return back to report, changes a

  • How to get the best quailty for export to DVD

    I am using Final Cut Pro Studio. I'm editing SD 16:9 anamorphic. What suggestions does anyone have for exporting (settings, rendering, to what (idvd, dvd studio pro) to DVD to be played on a computer or TV? Thanks

  • Verizon FIOS with Windows 8.1

    On my old Windows XP PC I used Outlook Express as my desktop email client, to interface with the Verizon FIOS email server. My new PC runs on Windows 8.1; and I have found no desktop email client program that will work with both Windows 8.1 and the V

  • Capacity catagery

    Hi Friend, In my work center capacity i use two capacity category 001 for machine 1number and 002 labor for 2numbers.but in production order system consider only category 001.system not consider labor category002,In our plant on a perticular machine

  • Invoke-Command Get-Counter

    Hi I'm trying to run some code on remote computers that use get-counter. But the problem is when the data is returned the CounterSamples is not as expected and the data is just: Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSample What a