Sqlloader and Alpah Numeric Sequence Generation

hi,
I am able to generate alpha Numeric sequence number,but problem arises when i have some data in CSV file i am getting error.
i.e if the datafile contains for eg
aaa GK0001
bbb GK0002
ccc GK0003
dd GK0004
ff GK0005
first column in Table is "Region" and Second is "Region_Id" i am getting error,but Just with Table Region_id i am able to load data with alphanumeric.
Please anybody can help in correct code of control file of sqlloader.
Regards

Can you post the table definition, the contents of the control file you're using and the error you're getting?

Similar Messages

  • How to generate and non-numeric sequence

    I am sure this is a dumb question. I haven't done development for years but I actually like the ApEx tool and hope to use it for several small projects.
    I have a change request need and the users want to have a user friendly sequence number that is the fical year + four digit sequence number (e.g FY06-0001). The users will actually be able to submit the request online and the number will be assigned to them when they "save" the basic CR data.
    I tried to put this in the default and source pl/sql boxes
    'FY06-'||TO_CHAR(cr_fy06_seq.nextval)
    I also tried to do just a select cr_fy06_seq.nextval from dual;
    no luck. I get some weird errors.
    1. default; pl/sql expression
    error: ORA-06550: line 1, column 56: PLS-00357: Table,View Or Sequence reference 'CR_FY06_SEQ.NEXTVAL' not allowed in this context ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    2. Default: pl/sql function body
    error: ORA-06550: line 1, column 52: PLS-00103: Encountered the symbol "|" when expecting one of the following: := . ( @ % ; ORA-06550: line 1, column 84: PLS-00103: Encountered the symbol "RETURN"
    I am not a sql developer, but I have a fairly extensive background in dev so any help would be appreciated.
    Sam

    1 minute demo:
    SQL pluse demo...
    lup2006@XE> var x number;
    lup2006@XE> exec select q_SEQ.nextval into :x from dual;
    PL/SQL procedure successfully completed.
    lup2006@XE> select 'FY06-'||to_char(lpad(to_char(:x),
      2               (SELECT 4-LENGTH(to_char(:x)) FROM DUAL),
      3               '0'
      4              )
      5         ) YOUR_ANSWER
      6  from dual;
    YOUR_ANSWER
    FY06-0009
    lup2006@XE> as PLSQL:
    declare
      x number;
      result varchar2(32 char);
    begin
      select q_SEQ.nextval into x from dual;
      select 'FY06-'||to_char(lpad(to_char(x),
                                  (SELECT 4-LENGTH(to_char(x)) FROM DUAL),
                                  '0'
        INTO result
        from dual;
      return result;
    end;Message was edited by:
    Funky

  • Pictures importing out of numerical sequence

    Anyone experiencing pictures importing out of numerical sequence in Aperture 3.0.1..??
    Solutions...?? Bug..??
    Gerry....

    Thanks for your reply DLS,
    I had tried that, I have 'date' and 'ascending' selected. Its only happened on one project and its not really any bother to re-arrange them, but I was curious why...?
    It's a project I imported from my MBP, it's in the correct sequence on my MBP...
    Any idea's...
    Regards
    Gerry.....

  • Changing file name: Numerical sequence not good!

    Im doing imports where I assign a new name to images with numerical sequence after it.
    Problem is LR only lets me start from 1 and not 001.
    Therefor when the files get into the hundreds, the files wont display correctly in Bridge.
    Can you make LR do the sequence starting with 001?

    Absolutely, it can do this.
    In the import dialog's filename box, pull down the list and choose "Edit" to edit your filename preset. You will then be able to create a custom preset with a three digit sequence number.
    I've done exactly this myself.

  • I cannot access the iTunes store from any of my computers.  When I updated to v. 10.7 it made my laptop unable to access. I have installed and uninstalled numerous times.

    I cannot access the iTunes store from any of my computers.  When I updated to v. 10.7 it made my laptop unable to access just like with my two desktops. I have installed and uninstalled numerous times.

    Nothing happens.  iTunes just hangs up every time, saying "Accessing iTunes Store."  It does that for a very, very long time, then nothing.  Here is what happens when I run diagnostics.
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    LENOVO Lenovo H420
    iTunes 10.7.0.21
    QuickTime not available
    FairPlay 2.2.19
    Apple Application Support 2.2.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.0.59
    Apple Mobile Device Driver 1.62.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0015AF9C035D73D0
    Current user is not an administrator.
    The current local date and time is 2012-09-15 18:28:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name: {EF6BBA91-21E3-44BD-828F-794CBBBFC89D}
    Description: Intel(R) 82579V Gigabit Network Connection
    IP Address: 192.168.1.10
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.1.1
    Lease Obtained: Sat Sep 15 17:52:30 2012
    Lease Expires: Sun Sep 16 17:52:30 2012
    DNS Servers: 192.168.1.1
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    Firewall Information
    Windows Firewall is off.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Basic connection to the store failed.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    The network connection timed out.
    Last successful iTunes Store access was 2012-04-29 17:37:19.
    **** Device Connectivity Tests ****
    iPodService 10.7.0.21 (x64) is currently running.
    iTunesHelper 10.7.0.21 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26. Device is working properly.
    Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C2D. Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    Brooke, iPod touch (2nd generation) running firmware version 4.2.1
    Serial Number: 9E******75J
    Most Recent Devices Not Currently Connected:
    iPod nano (6th Generation) running firmware version 1.2
    Serial Number: DC*******DVY
    iPhone 4S running firmware version 5.1.1
    Serial Number: C8*******TF9
    iPad 2 running firmware version 5.1.1
    Serial Number: DK*******FHW
    **** Device Sync Tests ****
    Sync tests completed successfully.
    <Edited by Host>

  • How to validate alpaha Numeric String

    Hi
    How to to validate alpaha Numeric String. If String is contain A to F,a to f and 0 to 9. This is true.
    other wise specialchar and other leter is false.
    how to check String is a alphanumeric?

    import java.util.regex.*;
    public class Test
      public static void main (String[] args)
        String[] strings = {"abCD9f2", "ab9\nZZZ3", "abcS"};
        String regex = "\\A[a-fA-F0-9]+\\z";
        Pattern myPattern = Pattern.compile(regex);
        Matcher myMatcher = null;
        for(String str: strings)
          myMatcher = myPattern.matcher(str);
          if(myMatcher.find())
            System.out.println("accepted: " + str);
          else   
            System.out.println("rejected: " + str);
    --output:--
    accepted: abCD9f2
    rejected: ab9
    ZZZ3
    rejected: abcS

  • Single image sequence generation. ?

    Hello, ..
    Essentially, I'm looking to find the best solution, to the idea of building sequences where and with using - importing, different sequencial, single images.
    — To be clearer perhaps, I'm a Weather student / enthusiast, and this would be toward generating a sequence / different sequences .. of hourly weather-satellite obtained images.
    To this point, or up until very recently, and in fact for several years previous, I have - in fact, been able to do this fairly simply, with using an older version of QuickTime (older logo, I think that main version offered still, through "Tiger".) and, with once I've dropped a first or more initial image more in particular, into the application, then merely dragging and dropping whichever others into its main viewer-window, checking save, and naming the file.
    — Perhaps, unorthodox. But, it's worked just fine for the idea.
    — And, of course, this idea can't be used with the newer version/s of QuickTime.
    "very recently": .... Today, and with having been using this method of "simple sequence" generation, together with older version of QuickTime, on my relatively new "iMac", and running Snow Leopard, Mac OS X v. 10.6.8 - all up to date, ....
    .. I've found that I'm no longer able to access the older version of the application.  (I think this advent, might be related to a "MacKeeper" clean-up that I did recently. ....)
    — In fact, the main reason that I can't say more exactly, which version it is - or was, in fact.
    Beyond this question more general, I'm thinking — (Something, I think that I'd read at one point in the past.) — that I can in fact do what I've suggested above, with / within QuickTime Pro.
    Hope this is clear - at all.
    Any help. ?
    Appreciate your response and time.

    Opening an "image sequence" (folder of sequentially named same dimension files) is a feature found only in QuickTime Player Pro.
    Beginning with Snow Leopard the OS includes QuickTime Player X (in Lion it is 10.1) in the Applications folder and QuickTime 7.6.6 is moved to the Utilities folder.
    QuickTime X has its own feature set but can't be upgraded to "Pro".

  • Sequence generation(urgent)

    Hi
    im new to jdev..I would like to set sequence generation for table fields.Im using JSp as my client and populating fields in the jsp screen.pls let me know is there any thing to set on wizard or any help in tutorial..thnks..

    I'm assuming that you've added your code segment to EmpImpl.java.
    The first parameter to SequenceImpl() should be the name of a database sequence, not the name of a table column.
    Once you've changed that, if you still get the same error, you need to check whether EmpImpl.java has a method called setId(), since this is what your error is complaining about. Your entity should contain accessor (getter and setter) methods by default. If your entity doesn't have these methods, then edit the entity, select the Java tab in the Entity Object Wizard, and check "accessor methods" for the entity object class.
    Lastly, I recommend testing your business components in the business component browser (aka the tester). This is a way of making sure your business logic works before you try to run your client.
    Blaise

  • Wifi problems ipad 3rd and Time capsule 4th generation since iOS 8 upgrade

    Does anyone have the same issue?... I have wifi problems betwen ipad 3rd generation and Time capsule 4th generation since iOS 8 upgrade. Solution: I must switch on/off airplane mode in order to start using Wifi...
    I have the latest updates for all equipment and I don't have similar problems with my iphone, macbook or mini-ipad.

    It works ... removing and reestablish the wifi connection works. Thanks ...

  • I am trying to download adobe reader for my macbook air but it keeps stopping at 44%. I have downloaded the latest updates for my mac and retried numerous times. Please advise. Thank you

    I am trying to download adobe reader for my macbook air but it keeps stopping at 44%. I have downloaded the latest updates for my mac and retried numerous times. Please advise. Thank you

    As posted about a dozen times every day, try the offline installer from http://get.adobe.com/reader/enterprise/

  • Itunes won't open on my Vista Ultimate OS-error message is "ITunes won't open w/o Apple applications support, uninstalled and installed numerous time, QuickTime too?

    Itunes will not boot on Vista Ultimate-  error message is Itunes cannot opperate w/o Apple Application Support
    ITunes has been uninstalled and reinstalled numerous times, program files and Window files have been checked and deleted.
    All I want to do is update my I4 IPhone

    Quicktime doesn't open either and sends same error message

  • How do I start, stop and restart a sequence with a periodic input?

    Hi,
    I have written some code that will monitor my com port (rs-232) continuously for an ASCII character (in this case a 'P'). When the P is received, I want a sequence structure to start working. The P will only appear once for a short while, but the sequence should carry on running until it finishes all the frames. On the next time a P appears on my monitor, I want to either stop the sequence structure regardless of which frame its in and restart the sequence from the beginning again or to run the sequence from the start again if it has already completed all the frames.
    What sort of structure do I need to do this, are there any examples?
    James

    James,
    Indiana is correct, my take on this is similiar.
    If you have a 3 element sequence structure for example which runs if 'P' is returned from your COMs thread, you will need to query a variable in each element of the sequence in order to suspend execution of the next/remaining elements in the sequence if this event occurs. You can do this by reading the variable that your COMs thread sets using a case structure in each element of your sequence. In order to re-run your sequence if 'P' is returned during the execution you can simply set the suspend variable and ensure the code is in a while loop to recall the code.
    See the attached example code/screen shot:
    This is however not an elegant solution and the best way would probably be using the events structure and a user event to queue the P events. This is available in 6.1 but I believe its the professional package. See also my implementation using this method, again attached below:
    Hope this helps,
    Kind Regards
    Steven Bird
    Applications Engineer
    National Instruments
    Attachments:
    Example.JPG ‏194 KB

  • I updated iTunes and now my 6th generation nano can't be properly recognized now.

    I recently updated my iTunes after holding off for a bit and now my 6th generation Nano wn't be recognized in iTunes but is recognized on the computer.
    The message I get is this "An iPod has been detected, but it could not be identified properly. Please disconnect and reconnect the iPod, then try again."
    I did this and still get the same message.
    I found this article on the apple website http://support.apple.com/kb/TS3218 which specifically deals with this problem. I went through all the steps including uininstalling and installing iTunes and still nothing.
    I called apple but they told me I need to buy some 20 dollar phone help plan in order to even talk to anyone since I bought it back in 2010. I won't be doing this.
    Can someone plase help me!!

    Try resetting the Nano with it still connected to a high powered USB 2.0 port on your PC. To reset the iPod, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear.
    B-rock

  • HT201302 When i open up itunes on my computer, it says that i have 2 videos but when i sync it and check my ipod touch, it says i have no videos so it only shows up on my computer but not on my iPod touch and its a 4th Generation.

    When i open up itunes on my computer, it says that i have 2 videos but when i sync it and check my ipod touch, it says i have no videos so it only shows up on my computer but not on my iPod touch and its a 4th Generation.

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • Creation of new output type and its access sequence

    Hello Experts,
    Issue:-How to create a new o/p type and assigning it to access sequence.I also want to know if this is purely functional requirement or does it needs ABAP involvement aswell.This will take how much time will it be more then 1 man day.
    Regards,
    Dharmesh

    Hi friend,
    You can create a new output type using the path
    IMG->SALES AND DISTRIBTION->BASIC FUNCTIONS->OUTPUT CONTROL->OUTPUT DETERMINATION->OUTPUT DETERMINATION USING CONDITION TECHNIQUE->MAINTAIN OUTPUT FOR SALES DOCUMENTS--->
    There you can define the condition types and the access sequence
    Or else directly goto the transaction code NACE where you can define all at once , even the condition records.
    please refer this link for further clarificaion
    http://www.cogentibs.com/pdf/cogsap08/OCSD.pdf
    regards,
    santosh

Maybe you are looking for

  • Vendor data - intial download from SAP R/3

    Dear All , Im facing an issue during download of Vendor data from SAP R/3 to SAP CRM 5.0 system. Now we have done all settings in R/3 and CRM as per Note 883162 , but we are seeing that "NO Bdocs" are generated during initila download of Vendor data 

  • Need to find the memory address of a buffer or string

    Two basic questions: -How does LabVIEW treat the concept of a "buffer"?  Isn't it just a string wired from one block to another? -How can I find the address of a memory location or buffer location? I am using the Call Shared Library Node to call two

  • Sample Data Used in Personnel Subarea and Employee Subgroup

    Hi HR Guru, Can anyone give me some sample values you used in Personnel Subarea and employee Subgroup?  Our company is looking into HR implementation.  We just wondered how other SAP customer's configuration for this field.  Thanks! RL

  • Setting Up Tethered Bluetooth Cellular Connection?

    Can anyone point me to a resource for setting up a tethered bluetooth net connection using my cell phone? I have a Sony W580i which has bluetooth, AT&T's data service, and a brand new MacBook Pro (15"). I have not been able to find anything conclusiv

  • HT1918 my games won't open on my ipod how do i fix this?

    Hello i cannot get my games to open on my grand daughters ipod they just blink when you click on them but don;t open how can i fix this?