Order in which the rows are returned from an external table

Hello
Anyone know if I can count on the rows returned in the order with a selection of Ext_table.
For example:

SELECT * FROM MY_EXT_TAB

Where MY_EXT_TAB is a file read
1
2
3

The query will return to the top of the file down, that is to say 1-3.

Thank you very much.

Hello

To get the number of the record since the beginning of the file, you can use the MASS_ADDITION_ID parameter in the external Table definition:

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/ldr_field_list.htm#sthref1264

You define a column:

 RECNUM

Then, in your application, you can use the operator order of this column.

In this way, you ensure that you always comply with the registration order in the file.

Hope this helps.
Best regards
Jean Valentine

Tags: Database

Similar Questions

  • Refresh the Materialized View constructed from an external table commit?

    Is it possible to create a materialized with Refresh view on commit built from an external table?

    I think the answer is "no, because there is no way for the outer table report to the view materialized it has been changed," but I would like to be sure before I tell my client who has requested the opportunity to do this (or, Alternatively, to learn how Oracle hoops I have to cross in order to operate).

    I can create a Refresh on demand, it is not a question of not having the necessary permissions to create the materialized view itself.

    No, you can't. The outer table is not modified in a transactional way and there no materialized view logs, so there is no event to hang in and no delta to apply.

    However, you can use dbms_scheduler observer file that will ask for the presence of a file and load the data in a table or refresh a materialized view based on the external table.

    Justin

  • Control the order in which the tools are displayed

    Hello

    I have developed a number of folder level JavaScripts.  Each JavaScript displays a button to launch under the "additional tools".

    I was hoping that someone could tell me how I can control the order in which these buttons will be displayed.

    Buttons are displayed in alphabetical order according to the 'cLabel '?  If they are listed according to the date and time the file was created or modified?

    Is there an optional parameter to set the order?

    Thank you

    Linda

    Hello

    Actually, I figured out how to control the order in which appear the buttons below "additional tools".

    There is an optional parameter for app.addToolButton called NPO: which can be used.  I think that the lower the number used, the highest on the list, the button will appear.  This kind of work.  The list of buttons re - arrange themselves, but not exactly the way I wanted to.

    Another thing I did was to rename the JavaScript files. I went before the first file name with a '1 '.   The second file directly under the first I preceded it's name with a number '2' and so on.  That seemed to do the trick...

    All I had to do was probably to rename the JS files with the '1' and '13' numbers and buttons with appear correctly.

    Thank you

    Linda

  • ORDER IN WHICH THE PICTURES ARE DISPLAYED IN FOLDERS

    Is there a way to display photos in a folder in the order they were taken, rather than by alphabetical order (for names)?

    Right-click on an empty space - arrange icons by - modified.

  • I would like to change the order in which the items are displayed in context menus (right click).

    I just got 38.2.0 of Thunderbird and I want to be able to customize, as indicated in the subject of this question. I can find how to proceed for the toolbars, but, not for the context menus. Thanks for your help.

    BTW - I think I will like the new implementation of calendar. Thank you!

    Kind regards
    Jim

    Try this add-on.
    https://addons.Mozilla.org/en-us/Thunderbird/addon/s3menu-Wizard/

  • When I burn CD for my use on the computer, sometimes the order of the songs are returned, starting with the last song first.

    * Original title: Windows Media player

    When I burn CD for my use on the computer, sometimes the order of the songs are returned, starting with the last song first.  This is the CD, or I do something wrong?  This isn't an ongoing problem... most of the time it's ok.  Can I change the order manually. If Yes, where and how.

    Thank you

    Lee

    Lee - there are a number of possibilities. First of all, it depends whether you burn audio disks or data - if they are audio discs, you can check and rearrange the order of songs in the burn list - if necessary - before you start burning. If you drag multiple files to the burn list quite often the last track you clicked on will go upward, so I wonder if it is what can happen. Back with a little more detail if I not quite correctly interpreted the problem. Best regards, Ric.

  • How can I change the directory in which the analyses are placed on my computer?

    How can I change the directory in which the analyses are placed on my computer?

    GAS - 121 wrote:

    How can I change the directory in which the analyses are placed on my computer?

    Select HP Scan.  Select Advanced settings.  Select the Destination tab.  Select the save location.

  • A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001.

    Hello

    I just bought an HP computer, Windows 8 Pro, x64bit. I worked OK for a week and then started to freeze. It freezes all the time. I'll send the error message in the event log. I'd appreciate your help because I've had enough of this gel and I turn it works all the time.

    Log name: System
    Source: Schannel
    Date: 12/07/2013-12:55:12
    Event ID: 36870
    Task category: no
    Level: error
    Keywords:
    User: SYSTEM
    Computer: Aleksey
    Description:
    A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001.
    The event XML:
    http://schemas.Microsoft.com/win/2004/08/events/event">
     
       
        36870
        0
        2
        0
        0
        0 x 8000000000000000
       
        7179
       
       
        System
        Aleksey
       
     

     
        Server
        0x8009030d
        10001
     

    Thank you

    Hi Aleksey,

    I appreciate the efforts that you put to publish the query on this forum.

    Please help me with the following information about this issue:

    (1) is the computer that is connected to a domain network?

    (2) when exactly you receive the error message? It is by accessing any application?

    If the computer is connected to a domain network, I suggest you send the request on 8 Windows IT Pro. Check out the link:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w8itpro

    Please let us know if the computer is not in a domain. We will be happy to help you come.

  • I have a form in which the text area can be developed to accept more text, but the text does not appear on the printed copy.  How can I get the text to print?

    I have a form in which the text area can be developed to accept more text, but the text does not appear on the printed copy.  How can I get the text to print?

    Hi robinm6200,

    Make sure that you have selected 'Document and annotations' under 'Comments and forms' when printing.

    Kind regards

    Nicos

  • entered in the row area or webb research is all backwards, i.e. from right to left

    1. by clicking on tools causes all tabs in the row to come and go across the screen.
    2 entry online research or the web to be backward, address line that is from right to left.
    apparently caused by some malware or Trojan virus. Can't seem to remove it.
    He came on my other computer because I do not see back.
    John

    You may have hit the SHIFT key by accident while cutting text via Ctrl + X.
    You can reverse the direction of the bidi from right to left text left to right with 'Shift + Ctrl + X.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Firefox will not load a Web site if the assets are missing from the page

    Some sites Web page can try to include a CSS or JS asset that is missing. In this case, Firefox 30 seems to hang and the page never loads. This happens even in Safe Mode. Other browsers have no problem loading these pages.

    I can give you two example URL, as well as the missing assets which causes the problem, but I don't know if I'm supposed to post links or not.

    Please do not take into account. After returning from safe mode, it offers to reset everything and import my data. Once the browser has been reset, well not loaded loading pages.

  • BlackBerry smartphones impossible to update the applications after returning from deployment

    I really send an SOS to you all, but right now I need help.  I've just returned from a seven-month deployment and was not able to use my new 2 "BOLD" for the duration of my output.  I forgot my answer to the question on my security question and impossible to reset my password.  Who should I contact to get a discount to re-set for my account?

    Hi and welcome to the forums!

    If you are referring to the security password to unlock your device, you will not be able to recover it or changed it. You will have 10 attempts to open it and then our device will perform a security wipe.

    If you are referring to your selection of the site password BIS forgotten password. You will receive a PIN message with your password.

    If your device does not work, use the attached link to get all the necessary information and then call your operator.

    Thank you

    Bifocals

    KB10385 Several attempts to enter a password prompt a warning that data will be erased from the BlackBerry smartphone

    KB04665 NSE, MEID, ICCID, IMEI, IMSI, PIN and SIM

  • Default configuration of the windows updates. returning from changes. do not turn off your computer. (Infinite loop)

    Problem:

    • Computer: Lenovo N580
    • Windows 8
    • Reset my computer to factory reset
    • All my files uploaded to the computer
    • Launched about 120 windows updates
    • Now, the computer is stuck on the blue screen with the message that seems to never go "failed windows update Setup. returning from changes. do not turn off your computer"I can't access the login screen or any screen to disable the windows update.
    • I tried the solutions posted by other users with the same problem but without success.
    • Please help me with a solution where I don't have a factory reset because I don't have another copy of all my files!
    • Also, is there a way to access a safe mode on Windows 8? I tried F8 or SHIFT + F8 after starting, but nothing happens. I read a post online where Windows 8 have removed this feature. Is there another way?
    • Help, please! I AM ETERNALLY GRATEFUL!
    • THANKS IN ADVANCE!

    See: http://support2.microsoft.com/kb/949358/en-us (run a system restore)

    Perform the system restore from the recovery of Windows and check.

    (a) once you start your computer by using the Windows DVD or disc repair system, a black screen is displayed with the gray text "press any key to start from the CD or DVD. Press a button on any.

    (b) select the correct time and type keyboard.

    (c) click on repair your computer in the lower left corner.

    (d) select Troubleshooting in choose an option screen.

    (e) click Advanced options in the form of resolution of the problems.

    (f) select System Restore.

    Important: System Restore will return all system files not as documents, email, music, etc., to a previous state. These files of types are completely affected by the restoration of the system. If it was your intention with this tool to recover a deleted file to non-system, try using a file instead of system restore recovery program.

    Reference link:

    How to refresh, reset or restore your PC.
    http://Windows.Microsoft.com/en-in/Windows-8/restore-refresh-reset-PC

    If you don't have disc to install Windows or the system repair disc, contact the manufacturer of the computer.

    You can also refer to:

    How to create the installation media for a PC refresh or reset:
    http://Windows.Microsoft.com/en-us/Windows-8/create-reset-refresh-media

  • "failed to set up the windows updates. returning from changes. do not turn off your computer.

    Hello

    I get this error "failed to configure windows updates. returning from changes. do not turn off your computer. The computer is a Samsung Ativ tab 5 and I got it for a little over a week.
    I have updated with the SW update
    The results of the troubleshooting online are:
    Problems encountered:
    Recent updates - not fixed installation problems
    Search for missing or corrupted - files detected
    Some security settings are missing or have been modified - fixed
    Registration for the service is missing or corrupt - fixed
    Windows Update error 0 x 80070490 (2014-02-10-t-11_25_11A) - fixed

    I have been through ALL the steps as described in http://support.microsoft.com/kb/949358. I have had no success.
    One thing that bothers me, is in the configuration of the system, I have a service called true vector Internet Monitor (Zone Alarm) and when the value disable as in http://support.microsoft.com/kb/929135, it is the only service still running when you perform a clean restart. I don't know if this affects the Automatic Updates/configuration or not.

    Hello

    Thanks for trying to help. Now my computer seems to be up-to-date.
    I followed your steps but MicrosoftFixit50202.msi did not like "my OS is incompatible. I use windows 8.  I couldn't run this in default or aggressive.
    I did go in Control Panel and disable antivirus and firewall Zone Alarm and reset Windows defender by default.
    I did IE default web browser I have prob changed when I got to the computer.
    I then returned to set up a clean boot and this time I managed to disable the true vector Internet Monitor (Zone Alarm) to run.
    I ran the reset troubleshooting of Windows with the same result as before is to say:
    Recent updates - not fixed installation problems
    Search for missing or corrupted - files detected
    I think I have restarted my computer at this stage and then tried to update again.
    It has not yet, but with the error, I got an error code and a link to help. I don't have not noticed this before. I followed the help and ran about 5 command prompts that have to do with the renaming of files I think.
    Then I tried updating again and this time 38 45 updates succeeded. I then ran the update again and it seemed to work on the other 7 updates.
    Although Windows Update said I was now updated, I was skeptical as when this whole thing started is started when I got the "windows installs updates" and then "failed to configure updates. Returning... etc"then I restarted my computer. At the start, there was no message on try to configure the updates, then, how do I know they are configured and working as it should?
    Thank you.
  • Control the order in which the images will be displayed in the Lightbox

    I have an album with a selection of images. All the images are numbered in a specific order. Thumbnails when selected is displayed correctly the final image and I discovered that their sequential numbering is affected by whether they are sent to the front or the rear. So I have them displaying their correct automatic sequential number in allows Muse say 1-3, 2-3 and 3-3, in which case 1-3 is sent to the rear and 3-3 is sent forward. However, when it is displayed in preview or a browser the first image is 3 - 3, then the order is 1-3 and then 2-3. Is there a good way to make sure the image 1-3 is the first picture shown?

    If you have only a few images, why use the auto meter? Why not use the title of the image to fill the desired numbers manually?

Maybe you are looking for