Retrieve rows in order as they are feeded

Hello all
My problem is that when i retrieve records from a table the rows are in order in which they are feeded but after joining the table with others the retrieve sequence is changed. I want to get data in the same order in which they are feeded even after joining. further more ordery by clause is also not fruitful

very easy : add a timestamp !
SQL> create table t99(n number);
Table created.
SQL> alter table t99 add (t timestamp default current_timestamp);
Table altered.
SQL> insert into t99(n) values (1);
1 row created.
SQL> insert into t99(n) values (2);
1 row created.
SQL> select n from t99 order by t;
         N
         1
         2if you cannot do that, than you cannot order by!

Similar Messages

  • How can I import photos inro Organiser in the same order as they are in my files?

    How can I import photos into Organiser in the same order as they are in my files?

    You can do a change to your files you want to import so they are in order that your version of PSE uses.
    One of the benefits of PSE is that you are no longer limited to specific order or locations of pictures. If you want a spefic order for display purposes create an album and your order will be maintained in the album. Other than that I keep my display on Newest first(I have PSE 11) and rarely change it.

  • Can iPhoto place my photos in the order that they are flagged and not randomly?

    I have flagged a photos in the order that I would like them to appear. My daughter's first year. Is there a way to import them into the book in the order they are flagged? Automatically and not manually. Thank you.

    With iPhoto 9.5.1 and Mavericks I'm able to manually sort the photos in an album, select them all and create a book with the photos in the order that they were in the album.
    It also works if I only select the album and create the book.
    What version of iPhoto and system are you using?
    OT

  • How to delete Purchase Order if they are open for 3mnts automatically?

    Hi,
    My client wants to delete Purchase orders from database if they are open for over 3mnths automatically & also system has to generate messages for Purchase orders for which an Goods receipt has been posted & if no invoice has been paid for a GR after 30 days system has to trigger message automatically asking to pay the vendor. How can this be done?
    Regards
    Chandan

    Hi
    pls refer the following link
    Re: Automatic Close PO Outstanding

  • HT4236 My photos in the individual folders aren't syncing back to my ipad in the same order that they are on computer even if I rename them sequentially. It's a photo album so need same order

    Help

    On iOS 6 the photos are copied over (from here) in date modified order. So you will either need to amend the photo's on your computer so that their modified dates are in your required order, or there are third-party photo management apps such as Photo Manager Pro which allow you to change an album's sort order within the app e.g. by date, size, or by dragging them into your own sort order.

  • Having downloaded and installed the latest Maverick Ios I now have a problem with mail.All my mailboxes were in alphabetical order now they are arrange randomly under my mail account, sync does not rearrange them whilst the order in the ISP account is in

    I have downloaded Maverick 10.9 and installed , now my mailboxes in mail are randomly arranged as opossed to being in alphebetical order from A at the top to Z at the bottom how do you rearrenge the mailboxes in an alphbetical order.
    Sync with my provider Gmail does not rearrange them on my Imac

    Thanks for that .
    My actual problem I may not have made very clear - sorry.
    i.e.
    [email protected]
    AA insurance
    Xero
    apple
    building
    insurance
    etc.
    Shows the way the mailboxes are listed in the mail program under any particular provider, in my case I have three mail provider accounts with mail moved from the inbox to the appropraite mailbox eg [email protected] , Xero - where the incomeing mail is filed.
    My problem is to arrange these mailboxes/folders in an alphabetical order under the [email protected] account

  • My iPod classic will not play my podcasts in order.  they are in order in iTunes, i don't have the suffle on.

    I'm getting pretty tired Apple Products, having to fix problems after every upgrade,  my Ipod will not play some of my podcasts in order. 

    All songs play on the laptop windows 8. The second Ipod touch we have - all songs synch to it and play.
    But the first Ipod touch we bought - only half (or so) of the songs synch. So I assume there is an issue with the newer Ipod touch. The songs not synching are songs I added to the library from CD's.

  • How do you keep photos in order that they are in on PC?

    Ho do I make sure the order of my photos on my iPad match the same order in my PC folders ?
    Ipad -  ios 6.1.3
    PC - Windows 7
    iPad, 4th Generation

    The iPad defaults to putting things in 'event order'....as in date order.
    The only way I know of would be to get a program that edits the properties of your files and edit the 'save' date to either put them in order, or one thing I did was make all the  files the exact same date and time, then it defaulted to name order.
    Or look for a different photos app that has better functionality than the built in one.

  • Crystal Report stops retrieving rows against SAP BW query

    We're running Crystal Reports againist SAP BW and coming up a strange issue. We run the report and the BW query returns rows as normal. However, when the rowset reaches 50K (exactly) the report stops retrieving records. There is no error message - the report simply stops retrieving rows. We know there are additional rows that can be returned by the query. Anyone seen this before?

    Hi,
    what are the versions / patches used on the SAP Side and on the SAP BusinessObjects side ?
    Ingo

  • Keep photos in the same order that they appear in an iPhoto album?

    I am uploading photos from an iPhoto album to Google+.  I want to keep the photos in the same order that they are appear in the album, but the order is rearranged.  ANy idea on how to keep photos in the same order?
    Thanks.

    If the photos are sorted by file name by Google+ you'll need to rename them in iPhoto via the Photos ➙ Batch Rename ➙ Title to Text menu with the checkbox checked to add a sequential number to the end of the file name:
    Export them to a folder on the Desktop via the File ➙ Export ➙ File Export menu with File Name = Use Title:
    OT

  • I am using iCloud email and my emails are randomly disappearing before I can read them. They are not in any folders on my iPhone and I am having to call apple to have the last 7 days of email sent to me in order to retrieve what is being lost.

    I am using an apple email account and my emails are randomly disappearing before I get a chance to read them. They are not anywhere on my device, not trash, junk etc. The only solution from apple has been to resend me the past 7 days of email in order for me to retrieve the missing emails. This has taken me hours on the phone with apple support with no solution. I just don't know what to do. They have gone over the settings with me and nothing has solved the problem. I don't know where to start since it is happening on all my devices.

    Control-click on the background of the view all pages window and select "Preview Calendar" from the contextual menu.
    You can also save the pdf as a file to compare to the printed calendar.  If the two names are visible in the pdf file then the printed copy should show them.  Contact Apple for a refund.  Apple Print Products - Apple Store (U.S.)

  • Retrieving row numbers in order

    how are rows retrieved in jdbc?
    i want my query to retrieve the row numbers and not the record number.
    if i do this
         ResultSet rs = stmt.executeQuery("SELECT LMNAME FROM T_LINKMANAGER where rownum >= 1 and rownum <=18 and LMFLAG='false' order by lmid asc");it selects 18 rows but the record numbers are 1,2,3,4,36,37,38,58.etc
    i want it to select rows 1-18 and the record numbers should be 1-18 or 1-19, if 18 gets deleted.

    well, i did say that in my post, dint i ? here's it again - Please note:: a condition of rownum >= (any number other than 1) will never work
    here's the reason - rownums are dynamically constructed data - they arent stored anywhere. So lets say you have a query, it selects say 10 rows. now when you add the clause rownum > 1, it picks up the first row. The first row's rownum is 1 and since you have mentioned >1, it discards it. Next it picks up the second row which's rownum is 1 again (since the first one has been discarded). And now the second row gets discarded for the same reason. It would return zero rows which's exactly how it behaved for you. You have to either write it in a sql script or do it via java.
    cheers,
    ram.

  • Retrieving rows in reverse order

    Hi all,
    I wish to retrieve row data in reverse order. Iam not retrieving the data in any particular sorting order, i just want a simple reversal of rows returned for eg.
    say initially data returned is
    Name Age
    abc 20
    bbb 25
    ccc 19
    ddd 22
    I want it as
    Name Age
    ddd 22
    ccc 19
    bbb 25
    abc 20

    The order of rows isn't random, but it is arbitrary. While it is probable that "select * from emp" will return rows in the same order today as it did yesterday, Oracle is certainly under no obligation to do so. If there are any changes to the table-- new rows, deleted rows, modified rows, table reorganization, etc.-- if there are changes to the statistics for the tables, or if there are changes to the database, the order rows will be returned in will change. Changes to the Oracle version might change the order rows are returned in as well.
    While it is unlikely to happen in practice, it would be prefectly legal for Oracle to return rows in exactly the same order for both of Laurent's queries. In practice, they are reasonably likely to return rows in the opposite order most of the time.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Photos. They are on my macBook, backed up on time machine. Copied them (hours and hours) to external hard drive. They are now in alphabetical order (19,000  of them) NOT IN THEIR EVENTS or date order-and have been taken with different cameras- help!!!!!!

    Photos.
    They are on my macBook, backed up on time machine. There are 19,000+ of them, some rescued from a pc crash- which I used the nifty iPhoto to put back into date order.    
    I want to take them all off my laptop, now............as I need to use it for WORK!!
    Copied them (hours and hours) to another external hard drive.
    They are now in alphabetical order (all 19,000+ of them) NOT IN THEIR EVENTS or date order. (-They have also been taken with different cameras over the years and some of the generic camera numbering remains.)
    I have tried to copy them (only a few as an experiment)  one event at a time, but that again "opens up" the Event "folder" and tips them out as individuals and therefore just lists image letters and numbers alphabetically.
    How can I copy
    the whole library still in  "Events" to an external hard drive?
    the folders/albums I have already made on to this hard drive?
    and how can I add to this back up monthly, again keeping events and folders separate and updated?
    Mac is so user friendly - there must be a way.........
    Thanks

    UPDATE : I have re-installed from disk, various apps that were no longer functioning such as iLife, iWork etc. So, I now can access my photos again.
    Also, I had to re-install all the software for my printer ( Stylus Pro 4880 ) and reset it so the printer is working again.
    Photoshop CS4 won't open. I think I will have to get in touch with Adobe as basically, I guess they have a built-in "blocker" which prevents me from opening the app as the license is for only 1 user and having re-installed the OS, there are now, in effect, 2 users ( Me and Me 1, I think ).
    So, having added on a new external HD, Time Machine has made a copy of most of the files, folders, apps etc onto the external HD. The internal HD is still nearly full ( 220 GBs out of 232 GBs ).
    I am guessing the way to go now in order to free up space on the internal HD is to delete/trash older photos from my iPhoto library and hope that if needed, I will be able to access them on the external HD.
    Am I correct ? Please advise before I do something I will regret.
    Thanks, Sean.

  • IPad 2 deleted all of my contacts, when I run the Dr. Fone software it shows they are still on my iPad 2 but it costs 60-70 dollars. Is there another way to retrieve them? They were not backed up on Itunes like I thought they were. Please help!!

    When I run the Dr. Fone software it shows they are still on my iPad 2 but it costs 60-70 dollars. Is there another way to retrieve them? They were not backed up on Itunes like I thought they were. Please help!!

    Recover software as you have described is pretty much your only option - keep in mind that if wait, some of the currently recoverable data may well be over-written and lost.

Maybe you are looking for

  • Get Sap User Id

    Hi I am developing WD4A app and I was wondering what code to use in order to get the SAP USER ID from the portal? In java I use the code: WDClientUser.getcurrentUser().getSapUser(); Any help is appreciated Regardfs yuval

  • Strange behavior of FILE-Adapter in PROD-System

    Hello experts, well we have a File2IDoc Scenario which is running fine in DEV. Sender is a Business Service with FTP-Access and Receiver is a Business System with IDoc-CC. The Service has 2 FTP-CC which are pointing in the same folder, one is reading

  • Printing to PDF in Digital Editions breaks out the file

    I don't like that if you allow printing of a PDF in your DRM permissions that a user of Digital Editions can print to a PDF and essentially "break" the DRM by creating a new DRM-free PDF. Is there a way to prevent this? Thanks for the help. (I'm not

  • Reducing Rendering time with JTable

    Hi, Currently I have an application which builds a JTable from a fetched database resultset. The resultset contains a date field, which is shown in the JTable as well. I roughly have 100,000 records which are placed in the JTable. Now for the problem

  • Screen Capture:  Changing Files Naming

    Hi folks! I was wondering whether there would be some way for changing the default name for files created from the Capture aplicattion. I´d rather having just date and time for it. If possible, how could I do that? And perhaps that´s not possible? Th