Keep the order in a file to sql transfert

Hi
Is there any mean to have records in a target table in the same order as they appear in a source flat file ?
the file contains only one data per line
thanks

Yes you can do that,
1.Create a data model in file techno and create a data store in that, point your source file
2.Duplicate the File Datamodel, change the techo as Oracle ( or else what ever you have in target)
3.Create a interface, drag and drop the file datastrore in your source. Drag and drop your oracle techno in target, say automatic mapping to Yes.
4.Choose LKM as LKM File to Oracle (SQLLDR),IKM as Oracle Control Append.
5.In the Option of IKM Select CREATE TARGET TABLE AS YES.
It will create a table in Oracle with the same structure and data as in source file.
Thanks,
Guru

Similar Messages

  • Batch rename won't keep the extension on some files only

    I have all my shrunk (resized to smaller for web) files in a sub folder. I got the idea here somewhere to rename such files by adding " _sm " this way being able to distinguish from the two when doing a search. In batch renaming something strange happened:some files did not keep their extension. How could this be and why? There was also no undo (Why?) so i decided to rename them once again this time replacing the "_sm" with ".jpg" in order to fool Bridge and place the files back to their original names and extensions.
    Anyhow is there a reason why it would not keep the extension on some files while keep it on others? Since it's doing this in batch, therefore processing many files at once there's gotta be a reason why it would not treat all files as equals and I'm thinking that perhaps it has something to do with how I name my files.
    Thank you

    If you select the opion to preserve the previous file name when batch renaming in Bridge then it's easy to revert… The old name will be stored in the files meta data…
    If you have renamed the files again then I think this will have been overwritten… I think the property is name string and NOT array of name strings…

  • How to organize the orders of audio files in ipod?

    Hey guys, I'm having a problem in organizing the audio files on my ipod, I wish you could help me out. I transferred some language lessons to my ipod, however they are not in order. If they are just songs it's OK, but for language lessons you really want them to be in order. Anybody can teach me how to arrange the order of audio files on ipod? Thanks a lot!
    ipod video 30GB

    Thanks for the reply, Chris. Are you talking about how to change the file name on itune or on ipod? I couldn't find the way to edit any info of the audio files on itune. And the file names were already in order (i.e. French001,French002...) but they appear on itune & ipod in different order.
    Thanks again.

  • How do you keep the order using SELECT WHERE IN()?

    Hi,
    Is there a way to keep the order when using SELECT WHERE IN()? For example, using the following query:
    SELECT id FROM data_table WHERE id IN('56','55','54','1','7');
    The results will come back using the default order by id. 1,7,54,55,56
    When I want to keep the order used in the IN: 56,55,54,1,7
    Is there a quick way to do this in mySQL or will I be forced to order it after in code.
    Thanks

    797836 wrote:
    Hi,
    Is there a way to keep the order when using SELECT WHERE IN()? For example, using the following query:
    SELECT id FROM data_table WHERE id IN('56','55','54','1','7');
    The results will come back using the default order by id. 1,7,54,55,56In case the order by docs and comments weren't clear on this point, there is no default order and they may come back in a different order. Usually after you've tested it to exhaustion to prove otherwise, then put it in production.
    >
    When I want to keep the order used in the IN: 56,55,54,1,7
    Is there a quick way to do this in mySQL or will I be forced to order it after in code.
    ThanksUsing the in list allows oracle to have other possible data access paths than simply running the query 5 times. If for whatever reason you don't want to order the results after they come back, it may be worth your while to just run the five queries serially in the order you want, using bind variables and so having identical queries. That may seem silly on its face, but then again, we don't know the real requirements, what else is going on, if this is simplified from the real code or whether there will always be 5.

  • HT4889 Hi there, I just get a new Imac, so, I would like to syncronize with my macbook, and keep the same musik, apps, files. what can I do to do that? Thanks

    Hi there, I just get a new Imac, so, I would like to syncronize with my macbook, and keep the same musik, apps, files. what can I do to do that? Thanks

    Hello there, LeoFerrer.
    The following Knowledge Base article provides some great information and steps for migrating your information to your new iMac:
    OS X: How to migrate data from another Mac using Mavericks
    http://support.apple.com/kb/HT5872
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How do I reverse the order in which files appear in Icon View option?

    I took a lot of pictures on a trip recently, which I have uploaded to a folder in Finder. When I click on View Options and then Keep Arranged by Date Created, they get rearranged so that the most recent appears at the top, and the first ones taken are at the bottom. How can I reverse this order, so that they appear in chronological order?
    Thanks,
    Richard

    There might be another way.
    There are utilities which can batch-rename files, including options that sort by date, begin all the resulting filenames with a common prefix, and then add a sequential "padded" filename suffix. If you then display the resulting collection of files in alphabetical order (as in Finder's Arrange by Name in icon view), they should be sorted chronologically.
    I haven't tried any of these, but the site for [A Better Finder Rename|http://www.publicspace.net/ABetterFinderRename/index.html], shareware, states:
    "A Better Finder Rename knows how to extract EXIF shooting date and time information from digital camera images and exploit them in creating sequence numbers or adding time and date information to the file name. "
    There may be suitable freeware alternatives -search for *file renamer* in [Version Tracker|http://www.versiontracker.com/macosx>.

  • How do I keep the order of sequentially named images from randomizing on import?

    I have several thousand images that I've named sequentially and I'd like to add them to my book, so that each image takes up a single page and the images display sequentially. The issue I've been having is that the order becomes jumbled when the images are imported.
    I've been importing images a hundred or so at a time using different methods. When I go to INSERT, CHOOSE and then select my files they land on the page initially in the correct order. When I change their placement to INLINE their order randomizes.
    I've also tried this process with only five images and it doesn't seem to make a difference.
    As a way of trying to work around this, I found that if I make a pages document with the correct order and then insert it as a new chapter, the order seems to improve. But still the image order becomes jumbled badly in some areas. There does seem to be some improvement though.
    Does anyone have any ideas of how to deal with this? Any advice would be greatly appreciated. Thanks!
    One more thing: The images themselves are very similar to one another and so the only way I've been able to tell which is which for sure is by selecting it and reading it's name in the inspector. Is it possible that this is actually some kind of lag between what I've selected and the image name updating? I am working with a bunch of images, but then again, I was having the same issue with only a few images so maybe not.

    The script that I used in my action is here: http://blogs.adobe.com/jkost/2010/09/add-file-name-as-text-layer.html
    The files that I've been working with were originally exported automatically from a PDF and then renamed and resized using Automator. The names are sequential 00001  - 15000.gif but for some reason they only import in the correct order after I've run them through my PS action... Which is slow going unfortunately. I agree that it's unlikely that their appearance has anything to do with the issue. Not sure what was causing the problem, but I'd like to if anyone willing to make an educated guess happens to be reading.
    The method I use to make a multipage iBook without placing each image individually is to edit my chapter template so that it's just full-page, linked, text boxes. Then I make a new chapter, grab up to 200 images in the finder and drag them on to the page while holding command. This places the images in the text box and adds pages automatically to fit everything I'm inserting.

  • How can I keep the order of photos in an album when I upload it to Flickr?

    When I share an iPhoto album on Flickr, the order of the photos in my album is lost. Apparently Flickr uses the photo date, but that defeats all the manual arranging I have done in my album. How can I preseve the photo order on upload?
    Also, the description of each uploaded photo appears in small print and not in the main Flickr label box. This means the description cannot be seen if a photo is viewed in full screen mode. How can I automatically transfer the iPhoto descriptions to the main Flickr label boxes?
    Is there a better way to share iPhoto albums on the Web (Picasso)?

    I'm glad you found a solution
    For for others and you in the future it is important to understand
    Albums are a way to VIEW photos in your desired order within iPhoto - the photos do not have any order (in fact they are in files scattered essentially randomly accross your hard drive)
    When you move the out of iPhotoand view them in another program that program determines teh order they are viewed in
    An easy to see an example is the finder - files exported from iPhoto and viewed via the finder can be viewed in many different sort orders including name, date created, date modified, size, kind and label - none of these have any relation to the order the photos were in the album UNLESS you cause that to happen (like by exporting using sequential file names so teh finder name sort matched the album order) - the order you see photos in is totally determined by the program you are using to view them - if you understand how it views them then you may be able to export them so that the destination program view martches the iPhoto view
    To make suggestions to Apple re exporting to Flickr (or any other outsidside service) -  iPhoto menu ==> provide iPhoto feedback - and to make suggestiont to thrid party suppliers like the Picasa export plugin contact the developer of that plugin
    LN

  • How do I keep the order of a playlist when I synch to my 1st gen. shuffle?

    Hi,
    I have a 1st generation Shuffle and am trying to synch a playlist to it. I am able to drag and synch the playlist, but once it gets on my Shuffle, all the songs are alphabetized. I want to keep them in the order of my playlist. How do I do this? I am SO frustrated! Thanks, Melissa

    Melissa, once you go to the contents page of your device, you will see panels that say: Name, Time, Artist, etc. By clicking on one of these panels, you can change the order according to these criteria. I had this same problem for 2 weeks, couldn't figure it out. My wife solved it in 2 minutes. Try this and good luck.

  • Importing data for tuple changes the order from source file - please help

    Hi all:
    I am using MDM 7.1 with the new tuple functionality. I have to import some product texts in a specific order. Tuples is working fine, the only issue is that it changes the order of the rows when importing from Excel.  Let's say I have product number
    A123, Text 1
    A123, Text 2
    A123, Text 3
    When importing in MDM I get:
    A123, Text 2
    A123, text 3
    A123, Text 1
    It is changing the order in which records are from source Excel file. Any ideas on how to force it to import in the same order as source file?
    Thanks,
    -Arturo Blasi.

    import java.util.*;
    import java.io.*;
    Student Name: Qiang Wu
    Student Number: 205722913
    public class Check05C
         public static void main(String[] args) throws IOException
              Scanner input = new Scanner(System.in);
              PrintStream output = System.out;
              output.print("Please enter filename...");
              File MarkFile = new File(input.nextLine());
              Scanner fileinput = new Scanner(MarkFile);
              double average;
              int maxmark = 0;
              int minmark = 100;
              int sum = 0;
              for (int score = fileinput.nextInt(); fileinput.hasNextInt(); score = fileinput.nextInt())
                   sum = sum + score;
                   if (score >= maxmark)
                        maxmark = score;
                   else if (score <= minmark)
                        minmark = score;
              average = (maxmark + minmark) / 2;
              output.println("Class Average is: " + average);
              output.println("Maximum mark is: " + maxmark);
              output.println("Minimum mark is: " + minmark);
              fileinput.close();
    }: ) I still cant figure out how to modify.

  • The order of execution (of PL/SQL function calls) changes...why??

    select e.EMPID empid,
    e.name name,
    aatest.SETVALUES(2) z,
    aatest.TEST1() b,
    aatest.TEST2() x,
    aatest.TEST3() y
    from emp e
    where e.empid = 101
    order by e.name;
    when I execute this select statement...the order of function calls is as follows:
    setvalues 1st (call no:1)
    test1 (call no:2)
    test2 (call no:3)
    test3 (call no:4)
    Now...I introduce a join between the two tacles as mentioned in the query
    select e.EMPID empid,
    e.name name,
    e2.deptno deptid,
    aatest.SETVALUES(2) z,
    aatest.TEST1() b,
    aatest.TEST2() x,
    aatest.TEST3() y
    from emp e, emp2 e2
    where e.empid = e2.empid
    order by e.name;
    The order of execution of function calls changes to
    (I observed this using DBMS_OUTPUT.PUT_LINE)
    test3 (call no:1)
    setvalues 1st (call no:2)
    test1 (call no:3)
    test2 (call no:4) (the first and last calls swap!)
    i.e: it calls the last function in the select statement at the beginning
    instead of calling it at the last. Is it the normal behaviour? or whats going on
    here?
    Can somebody explain me, please....
    Details:
    the following four functions are defined in a package called 'aatest' and compiled.
    aatest.SETVALUES(2)
    aatest.TEST1()
    aatest.TEST2()
    aatest.TEST3()
    the Tables EMP and EMP2 are two tables defined in the same schema.

    Your "thinking" is wrong here. You can not use the column order to model your program flow. As SQL is set/tupel based, there is no given sequence of the execution order. Otoh you want to have a specific order in wich your functions must be executed otherwise the result will be wrong (or undefined). Thus here you need a procedural approach. This can be done by using PL/SQL for example.
    You would code your functions in that way, that they are working correctly independent from the place where they are called ie if function1 needs the setvalues function, this function must be called inside the function1 then.
    Are you sure you need all these functions in this procedural approach inside the sql-statement? This is mostly not needed and can be accomplished by using pure SQL. If not, may be your design is broken.

  • Will Vector keep the order of elements?

    I would like to quickly add lines of a file into a vector to get the size. I then create an array using that declaring that number of elements, then read each vector element into the array. I thought I read somewhere that a Vector may swap the order of the elements?

    I thought I read
    somewhere that a Vector may swap the order of the
    elements?Well, if you did read that somewhere it might be true. If you write some serious code you cannot buy what people just say. You have to look into it for yourself and ESTABLISH what goes with your chosen data-structure.
    PS. My advice to everybody is to look into this stuff and convince yourself you're doing the right thing.

  • How can I keep the order of my photos when I synch them with my iPad

    Prior to transferring my photos to my iPad, I arrange the photos in a specific order.  Once the transfer to my iPad is complete, the sequence/ordering of the photos from the Album/Event never stays in tact.  I am using iTunes to manage the transfer process.  Is there a trick to making the photos all transfer in the order they were originally placed? 

    Thanks for the quick response.  Sorry about the lack of info.  I am using iPhoto to compile and arrange my photos.  I am using IOS 8.1.3  on my iPad.  I went as far as to include the sequence number for each photo in hopes it would sort by sequence.  But if it is by capture date etc... then I guess that won't help.  I wasn't aware that you could rearrange the order of your photos once they had transferred to the iPad.  I guess I could also create a slideshow of the photos and synch it with the iPad..  That should maintain the order...  Thanks again..

  • In PS 9, can I backup to disc and keep the pix separated by file name?

    In the past, my backups to disc just result in a mass of pictures that are not separated by file name and haven't retained their numerical designation.
    It would be much more useful if this could be done.
    Is there a way of doing this in PS 9?

    Then you might want to post in the appropriate Forum.
    http://forums.adobe.com/community/photoshop_elements

  • How to keep the old jdbc log file

    Hi,
    whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
    previous log to debug anymore, how can i config to make write to a new file like
    wls log. Thanks

    Hi Jen!
    This is bug in 8.1ga and sp1 and it is fixed ib 81sp2.
    When you specify jdbc log name with ".log" suffix, jdbc logging doesn't
    rotate as expected. So, the prior log file would be overwrited by new jdbc
    log when you restart WLS.
    Workaround
    Remove ".log" from the file name. It would be added by WLS automatically.
    Thanks,
    Mitesh
    Jen wrote:
    Hi,
    whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
    previous log to debug anymore, how can i config to make write to a new file like
    wls log. Thanks

Maybe you are looking for

  • Office 2013 - Something went wrong (no kidding)

    New x64 machine running Office Home & Business 2013 x86 OEM. Originally, everything was running fine. Installed fine, set up fine, and ran fine. Inexplicibally, user calls stating when running ANY office app, it states "Something went wrong" and woul

  • Compilation error while generating the form in linux

    Hello everyone, I am using Oracle Designer ver10.1.2.4 in windows to generate the forms with standard object library ofgwebol.olb and template form ofgwebt.fmb. form (with both .fmb and .fmx files) are generated without errors. Also when I open the f

  • Playing music in iTunes from an external HD

    I moved 600gbs of music to an external HD to save HD space and run iTunes from the external. After the transfer, I told or pointed to  iTunes where the 'new' music is on the external HD but iTunes will not read the music - it is asking me to find eac

  • SRM - Offline approval of shopping baskets (avoid automatic email)

    Dear colleagues, We are implementing SRM 5.0 and one of the key functionalities is the so-called "offline approval": the authorizer receives an email with the information of the basket he/she has to approve or reject. This email actually contains 3 l

  • Transfer photos from computer to flash drive

    I would like to transfer photos from computer to flash drive so I can view them on Smart TV. Only option on computer is to burn to CD or DVD. This question was solved. View Solution.