Whats the alternative to sqlldr because I want to add (update) not insert..

mornin gurus..
As title asks, Ive just sussed that SQLLDR just inserts into an empty table, but I need to update AND Insert..
I'll be running the code/command from a UNIX script. But just to get me started - how do I do this..?
I'll be calling a file, then asking each record in the data file specified to either update or insert into an ORACLE table..
If you need any more info just let me know..
cheers
E

ahh! Append -great stuff thanks..
Don't suppose I could be cheeky as to ask why its now failing though ()Its been soo long since Ive used ctl files....
error message I'm getting is..
Record 1: Rejected - Error on table SU_EMP_AUDIT.
ORA-00001: unique constraint (APPS.SYS_C00555887) violated
Record 2: Rejected - Error on table SU_EMP_AUDIT.
ORA-00001: unique constraint (APPS.SYS_C00555887) violated..I'm guesing its something I need to add to the ctl file that allos the datafile to have either '0's or null values..
data file looks like..
0022150,Young,Valerie,Valerie,0,0,20100913,,FAC202,Domestic Assistant,27.03,FACI,FACR,SUPP,T4,0,0,0,0,0,0,0,0,,Mrs,PT,PT,New
0022151,Keen,Roxanne,Roxanne,0,0,20100913,,FAC202,Domestic Assistant,27.03,FACI,FACR,SUPP,T4,0,0,0,0,0,0,0,0,,Miss,PT,PT,New..and ctl file looks like..
-- Load data control file. External data file, variable length, delimited.
LOAD DATA
APPEND
INTO TABLE SU_EMP_AUDIT
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
   staff_member
,surname
,forename
,preferred_name
,email_id
,email_address
,start_date DATE "YYYYMMDD" NULLIF (start_date=BLANKS)
,end_date  DATE  "YYYYMMDD" NULLIF (end_date=BLANKS)
,posishun
,job_title
,FTE
,fac_service
,area 
,gruup 
,LOCATIONs 
,mpoposit 
,mpopstart 
,mpopend 
,mpo_fte 
,mpo_fac 
,mpo_dept 
,mpo_group 
,mpo_loc 
,termin_date  DATE  "YYYYMMDD" NULLIF (end_date=BLANKS)
,title  
,ft_pt 
,cp_mode 
,new_status   
{code}
{code}
   Column Name                  Position   Len  Term Encl Datatype
STAFF_MEMBER                        FIRST     *   ,  O(") CHARACTER
SURNAME                              NEXT     *   ,  O(") CHARACTER
FORENAME                             NEXT     *   ,  O(") CHARACTER
PREFERRED_NAME                       NEXT     *   ,  O(") CHARACTER
EMAIL_ID                             NEXT     *   ,  O(") CHARACTER
EMAIL_ADDRESS                        NEXT     *   ,  O(") CHARACTER
START_DATE                           NEXT     *   ,  O(") DATE YYYYMMDD
END_DATE                             NEXT     *   ,  O(") DATE YYYYMMDD
POSISHUN                             NEXT     *   ,  O(") CHARACTER
JOB_TITLE                            NEXT     *   ,  O(") CHARACTER
FTE                                  NEXT     *   ,  O(") CHARACTER
FAC_SERVICE                          NEXT     *   ,  O(") CHARACTER
AREA                                 NEXT     *   ,  O(") CHARACTER
GRUUP                                NEXT     *   ,  O(") CHARACTER
LOCATIONS                            NEXT     *   ,  O(") CHARACTER
MPOPOSIT                             NEXT     *   ,  O(") CHARACTER
MPOPSTART                            NEXT     *   ,  O(") CHARACTER
MPOPEND                              NEXT     *   ,  O(") CHARACTER
MPO_FTE                              NEXT     *   ,  O(") CHARACTER
MPO_FAC                              NEXT     *   ,  O(") CHARACTER
MPO_DEPT                             NEXT     *   ,  O(") CHARACTER
MPO_GROUP                            NEXT     *   ,  O(") CHARACTER
MPO_LOC                              NEXT     *   ,  O(") CHARACTER
TERMIN_DATE                          NEXT     *   ,  O(") DATE YYYYMMDD
TITLE                                NEXT     *   ,  O(") CHARACTER
FT_PT                                NEXT     *   ,  O(") CHARACTER
CP_MODE                              NEXT     *   ,  O(") CHARACTER
NEW_STATUS                           NEXT     *   ,  O(") CHARACTER
Column START_DATE is NULL if START_DATE = BLANKS
Column END_DATE is NULL if END_DATE = BLANKS
Column TERMIN_DATE is NULL if END_DATE = BLANKS
{code}
Thanks for looking..
E                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • HT1338 i am sick and tired of mac's safari and firefox window popping up when i want to open my mail. what the **** is going on, because no matter where i look i cannot see any 'download' "thing/button" to do so.  STUPID, STUPID STUPID!

    i am sick and tired of mac's safari and firefox window popping up when i want to open my mail. what the **** is going on, because no matter where i look i cannot see any 'download' "thing/button" to do so.  STUPID, STUPID STUPID!
    How can i get rid of this iidiotic pop-up. allple is changing for the worst. you have to buy a new macpro in order to upgrade to a higher system, sounds like obamacare.

    You have probably clicked on a mailto: web link which directs links to send e-mail messages to wherever the webmaster chooses.    Go to the View menu -> Show Statusbar if it available, and then make sure the bottom of your screen is visible.  When you hover over a link, if it says: mailto: it will open in your default e-mail reading application set by your browser or your e-mail program preferences.
    Apple menu -> System Preferences -> Software Update lets you change how often you see the software update window.
    G5s are not Intels.

  • Hello I've forgotten my security questions and also forget what the alternative e-mail, please Create

    Hello I've forgotten my security questions and also forget what the alternative e-mail, please Create

    account security
    Please call apple @ 1-800-694-7466
    ask for the account security team
    you may want to add a credit card to your iTunes account  before calling; so they will have a way to verify your identity.
    Peace, Clyde

  • Whats the size of ios7 if i want to update it from itunes?and what's better OTA or itunes?

    whats the size of ios7 if i want to update it from itunes?and what's better OTA or itunes?

    Whatsapp should work fine.
    Doing the upgrade over iTunes will give you the opportunity to make a full backup of your phone first, and will most likely provide for a faster and smoother upgrade.   I'd do it that way, and will once I get home later tongith.

  • I have an 3rd generation iTouch with IOS 5.1 and a new ipad LTE with a definitely higher IOS.  I didn't plug the new one yet because I want to know...can I keep my apps, email, photos on both devices?

    I have a 3rd generation iTouch with IOS 5.1 (won't update any higher) and a new iPad LTE with a definitely higher IOS.  I didn't plug the new one yet because I want to know...can I keep my apps, email, photos on both devices?  And also can I update my apps on the iPad without causing problems (some apps won't update on my iTouch because the IOS is not 6.0).  Thank you.

    Do this:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • Whats the alternative to 'returning into'

    1) i need to perform an update using merge and from those updated rows i need to select a cloumn for later work.
    if i am not using merge and perform the regular update i can use 'returning into' clause, but can i use it in merge. if i can't can u seggest me another way to select column from updated rows. i am doing this in pl/sql
    2) after i selected the column i need to use it to match another table to update using a 3rd table for which i am using merge(calling the selected column in 1st question in a merge statement)
    Please answer 1st question even if u dont understand 2nd

    if i can't can u seggest me another way to select column from updated rows. i am doing this in pl/sqlUnless you have very specific reasons to keep using MERGE, why not just:
    Quit using MERGE and just use the good ol' UPDATE's/INSERT's so you can make use of the RETURNING INTO-clause if that enhances/facilitates coding your further requirements.

  • Verizon What the HE!@ did you do with this DI2 Update?

    I've had the latest update since it was released.  Between the problems I'm having now and this darn data rate change - I'm ready to become ANYONE's cell user other than Verizon.
    WHAT the HE@# did you do to the darn phone. It's basically unusable. I had hoped maybe my screen protector was starting to wear out - so I put a new one on, and then after a week removed it.   The darn thing has a mind of it's own. I drag on the screen one time and it will unlock, drag it 2 minutes later, and even though the pattern is correct - it won't accept it.
    Then i go to just scroll the screen and it decides that some reason I selected phone -a nd then goes ahead and calls the last number i dialed. When I hit end call, it ends - but then goes right back and dials again.
    I'm TRYING to do a backup - but even though i just touched it once - it goes and keeps clicking Sync, then hit's cancel itself - then sync again - and keeps repeating over and over again..
    OH _ and I called Verzion - guess what - HARD RESET - COME ON!   The tech says it's a "known issue" - and we are "working on it" - good - how about you WORK ON giving me a full credit to my bill because I have a phone I can't use because of YOUR INCOMPITENCE!
    OH - and now you want to raise my bill even higher - FOR WHAT - to get even worse!  This is not a money issue - this is a poor management issue.
    I'm going to any other cell provider i can - thank you for giving me an unusable phone - because it shows me just how much i DO NOT need you!

    BDA - thanks for the feedback. And like you when the contract is up - I'll probably go to Apple - and I'm also going to do whatever I can to get out of Verzion thanks to this Family share.
    Yes the update 'comes' from HTC - but from my understanding they are supposed to be tested and validated by Verizon - after all - if it was ONLY HTC - then I should be able to remove all the Verizon applications plus the other junk that they automatically throw on my phone.   I've had the phone for over a year now and was trying to hold out. Guess I'm just at my whits end with this terrible Family Share that we are pretty much being forced into.
    And - if my TV's software was provided to me by Verizon - YES, I'd be on their back about it not working.  I'm paying QUITE ENOUGH for Verizon for the very little that they provide in return.   Don't get me started on how many cable boxes I've had swapped out, and I am pretty much on a 9 month rotation of the most cable diagnostics they provide now is swapping out the splitter, or replacing the modem with one "already in their truck".
    As a SERVICE provider - I expect them to provide the service I am paying what appears to be even more for.
    As I said, not much to fear - at least Apple has enough to push back and control the software 100%.  So when I get an update from Apple on their iPhone - I know to blame Apple.   Sorry - but you also find out that there is a new android version - and then mysteriously - everyone has their own release date - again - an Android beef.  When Apple releases an update - you either are compatible and can get it - or not.    This update to my HTC2 was FORCED - I had the option of OK to select the update.

  • My wireless mouse and KB are in discovery mode, but I can't get past the "enter password" screen because my Mouse and KB will not work...batteries have been changed.

    My Wireless KB and mouse are stuck in discovery mode, but I can't get past the "user password" screen because It won't allow me to enter characters.

    Should work if you enter the code and hit the return key.  Here is a step by step article.
    http://support.apple.com/kb/HT1809?viewlocale=en_US
    Captfred

  • WHAT THE MEANING OF THIS LINE Sorry, your browser/program is not supported by Web Dynpro

    Sorry, your browser/program is not supported by Web Dynpro pls tell me whats the meaning of above line

    You might try spoofing '''IE7''' User Agent strings to make a wepage or web-based application "think" you're running IE7.
    * https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/

  • HT1339 I was looking for info on restoring an iPod Touch 4th Gen. But iTunes presents the same Restore button, which when pressed, offers to update, not restore, to iOS 6.0.1. Why?

    I found this article when searching for info on restoring (to factory conditions) an iPod Touch 4th Generation. Now I thought this shipped with iOS 5.x (x unknown). But as mentioned too briefly in the header, when I click 'Restore' in iTunes, it offers not to restore, but to update. That is not what I want. I need to use this iPod Touch with Xcode 4.2 under Snow Leopard.
    So the question is: what is really going on here and why? Is it really true that 4th G iPod Touches ship with 6.0.1 instead of 5.x? If not, how can I get it to really go back to the original? Why is iTunes failing to offer a restore when I press 'Restore'? If I guessed wrong about which of my several machines running iTunes (some under Windows7, one under Snow Leopard)I used when I upgraded to iOS 6.0.1, would that explain iTune's failure to offer a true Restore?

    Restore will not replace an old iOS level. It will update the iOS level to the latest level. If you have to restore youre iPod that is what will happen. The iOS is not a part of a backup.

  • I installed a version of Firefox 6.0. in the Russian program, the social network for sending a short message, I can not insert a file in the message field.

    I installed a version of 6.0. In the Russian program of social network My World by sending a short message, I can not insert a file in the message or photo. How do I solve this key problems?

    I need to access Network Solutions website builder too. It isn't compatible with Internet Explorer v9, Chrome v13, or Firefox v5! I believe Firefox v6 is out now. This is a Network Solution's problem. What's involved in rolling back? Can you still get add-ons, plugins, and extensions for such an older version? You can't save your personal preferences can you?

  • Since uploading Firefox 4 I get error messages saying it can't update and I should be sure I am using the latest version. I am, so why will updates not load?

    The question is in the title. I have had no updates to Firefox 4, just error messages saying they can't be loaded and I should check that I am using the latest version. I have downloaded Firefox 4 again to be sure my copy is up to date but it makes no difference. I still get the error message.

    Remove the files in the updates and updates\0 folder.<br />
    You may need to delete active-update.xml and updates.xml as well if present.
    C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    (%LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox)
    * http://kb.mozillazine.org/Software_Update (Software Update not working properly)

  • I want to buy app from iTunes.I live in India.I do not have a credit card,can i use debit card? If not then whats the alternative??

    How can I buy from itunes? If I dont have credit card??!! HELPP!!!

    Accepted forms of payment  >  http://support.apple.com/kb/HT5552
    Rajen85 wrote:
    How can I buy from itunes?
    Purchase and Redeem an iTunes Gift Card.
    How to Redeem a Code  >  http://support.apple.com/kb/ht1574
    Note:  iTunes Gift Cards are only Valid in Country of Issue.

  • Muse Project can´t be opened because muse wants to be updated (bus is the newest v7.2.232 version!)

    Hi,
    when I want to open a template i´ve bought in muse (v7.2.232) it sais: "for this file a newer version of adobe muse is needed".
    I am not able to update because I have already the newest version

    Something's interferring with the successful completion of the install.
    If you don't have a "Scroll Effects" entry in your Windows menu, then you don't have Muse 7. We have seen cases where an update would silently fail to complete successfully and would have updated the version number of the app but not in fact the app itself. It sounds like you're hitting this case, though I can't fathom how if there is no copy of Muse anywhere on your computer when you start the install.
    After using the Windows Control Panel to remove Muse, if you search for Muse are there any hits on your computer?

  • HT1725 hey guys u charged me for this rental movie and couldn't see it ,because was a mistake when i was downloading what i need to do because i want my money back  thakns:Ivan

    i was rentin the movie men of black 3 and i couln't watch it because was a mistake on  the downloading

    These are user-to-user forums, you are not talking to Apple here.
    Try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account (Store > View My Apple ID on iTunes 11) and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that rental and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, 24 to 48 hours).

Maybe you are looking for

  • Exchange 2013 SP1 readiness check failing

    Trying to install our first Exchange 2013 SP1 server on Windows 2012 R2 in our datacentre, the readiness check fails with: Error: The Active Directory schema isn't up-to-date, and this user account isn't a member of the 'Schema Admins' and/or 'Enterp

  • RE: how can i send my pictures back from my macbook to my iphone?

    I needed to reformat my macbook so I decided to back up my photos that was on my iphotos through my iphone which was successful. But when I want to put it back to my macbook, everytime i connect my iphone it's only allowing me to transfer the photos

  • Sending Message from Topic1 to Topic2 using OSB proxy service

    Hi all, I have created a proxy service which listens to a topic and a business service which writes to a topic. In proxy service, in stage i have used publish action to call the business service. Through Test console if i test and able to write the m

  • Open office crashes 1st time it is opened when I try to scroll

    The 1st time I open one of my spredsheets documents & try to scroll across the way, horizontally, it makes open office unresponsive & I end up having to force quit. When I reopen & scroll the xcel document for the 2and time, it is ok, but it always s

  • Anchor-Foreign Configuration

    Dear All, I have a doubt on SSID Security configuration in Anchor-Foreign solution. Is it required to configure the web authentication server details and redirection details in foriegn controller WLAN also..?  Or Only on Anchor configured for web aut