Having problem using "rownum" to retrieve only a particular number of rows

Hi,
I have a table of some 18 rows filled with certain values and when I do this,
select * from t where rownum<10; it's working fine. and is giving 9 rows as the result but when I do this,
select * from t where rownum>1; it's giving me no rows selected as answer. Also, when I do this,
select * from t where rownum=1; it's working fine but when I do this,
select * from t where rownum=2; it's not working. This is all strange am I doing wrong somewhere?
Thanks.

select * from t where rownum>1; it's giving me no rows selected as answer. We should not use > operator directly with rownum.
This is because the first row fetched is assigned a rownum 1 and makes the codition false. The second row to be fetched is now the first row and is also assigned a ROWNUM of 1 and makes the condition false. All rows subsequently fail to satisfy the condition, so no rows are returned.

Similar Messages

  • I am having problems using mov files imported into a project. I get the message "Not rendered" in the Canvas and clip won't play. Can anyone help?

    I am having problems using mov files imported into a project. I get the message "Not rendered" in the Canvas and clip won't play. Can anyone help?

    When clips won't play without rendering in the Timeline, it usually means that the clip's specs don't match the Sequence settings.
    A .mov file could be made from any number of codecs; the QuickTime Movie designation is merely a container for video files of all kinds.  Since FCE only works with the QuickTime DV codec and the Apple Intermediate Codec (AIC) natively, if your mov files aren't one of those two, you need to convert them PRIOR to importing into your FCE project.
    -DH

  • I have recently been having problems using Firefox: it continually gives a "Not Responding" message.

    I have been having problems using Firefox for the past few months:
    Whenever I log on, I get a "Not Responding" message, and Firefox "freezes." I then have to "click" my mouse several times to again be able to use Firefox - but only for a few minutes. Firefox then freezes again and shows another "Not Responding" message.
    Because of this repeated "crashing," I have been using I.E. as my browser, because it does NOT have any such problems.
    How can I FIX this problem with Firefox?

    Many site issues can be caused by corrupt cookies or cache.<BR><BR>
    Clear the Cache<BR>
    '''''Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"'''''
    <BR><BR>and<BR><BR>
    Remove Cookies<BR>'''''Firefox/Tools > Options > Privacy.'''''<BR>
    Under '''History''', select Firefox will '''Use Custom Settings'''.<BR>
    There is a button on the right side called '''Show Cookies'''.<BR><BR>
    If there is still a problem,
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    <BR>While you are in safe mode; '''''Firefox Options > Advanced > General'''''.<BR>
    Look for and turn off '''Use Hardware Acceleration'''.<BR>
    Poke around safe web sites and see if there is still a problem. Then restart.

  • Having problems using ion tape express with itunes cannot find the song on hard drive

    Having problems using ION tape express with itunes.  The song is on hard drive as temp1 not the name of the song.  And I have problems playing it in itunes
    because it says it cannot locate the song'

    Then correct the name of the song or point iTunes to the new file.
    Issues with restoring should be directed to the manufacturer of the backup software/device... this is not an Apple or iTunes issue.

  • I am having problems using my Apple TV. I get a message saying incorrect user id or password, but I am able to sign in everywhere else. Any suggestions? Thanks.

    I am having problems using my Apple tv with home sharing. I continuously get a message that my user name or password is incorrect, but it works on other devices. Any help would be greatly appreciated.

    Unpower it.  If it still  happens on a restart give it time - Apple's servers sometimes have glitches.

  • I am having problems using my iphone4 during calls. When any part of my facial skin touches the screen, it would either go mute, hold, speaker or whatever part my skin accidentally touches the screen.The other caller then cant hear me

    I am having problems using my iphone4 during calls. The screen does not automatically lock to prevent any part of my skin or face from touching it. When my skin touches the screen it would either go mute, hold, divert to speaker phone or calls another in my contact list. The person i'm talking to then cannot hear me suddenly when in mute or hold. Is there any application for my iphone4 like a "screen lock" when it is being used on calls?

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • I am having problems using Firefox with Ebay in the last 10 days. The advanced search link is dropping off the page and there is no way to access it now.

    I have been using Firefox and Ebay for at least 12 years with no problems whatsoever. But in the last 10 days I have been having trouble with the Advanced Search link disappearing from the page on Ebay. If I do a search from the Ebay home page it will show the results, but the Advanced Search link (in blue letters) which always used to appear to the right of the Search button is gone. If I click Search again at this point I can see the Advanced Search link appear for a millisecond, but then disappear just as quickly. Also, if I refresh the page the same thing happens. I tried to duplicate this problem with Internment Explorer and it didn't occur, so it appears to be Firefox that is causing this issue. Of course when I contacted Ebay they told me my problem was that I wasn't using Internment Explorer! I love Firefox and do not want to switch!

    You can try to clear the cache and cookies to see if that makes a difference:
    <h3>Clearing Cache</h3>
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    <h3>Clearing Cookies</h3>
    #Go to Firefox > Tools > Privacy > Remove Individual Cookies
    #Find the site (ebay.com) that's having problems and clear all cookies.
    #Restart Firefox
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.

  • Is anyone having problems using AAMEE to create CS5.5 deploy packages?

    I am able to create a deploy package without an issue. SN gets verfied so I know its not that eventhough it's getting the pre-chrome license error in the log files.  I looked at the directions that Adobe gives for the pre-chrome error and the only way I can do a silent install is by enabling the built-in Administrator account, logging to that account and running silent command from there.  Thats really not a fix when you have 10,000 computer to deploy to.  Anyone have the workaround for this?

    Thank you! But I've tried that already and still I'm having problems, Apple support has been looking into it, but so far nothing. Thanks again

  • Having problem using internet via wifi

    i m facing a problem using wifi... whenever i connect 2 any wifi network and start the browser it always shows" no internet connection".... can anybody help me regarding the issue????

    Hi sunny786pandit
    Welcome to BlackBerry Support Forums
    Please go through those Article :
     How to connect to a Wi-Fi network using a BlackBerry smartphone       and 
    KB13368 : Services that are available over a Wi-Fi connection
    I hope it helps.
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Having problems using facetime for ipods. When i sign in and click next it goes back to the sign in screen ? what do i need to do

    Having problems with facetime on the ipod. When i sign id and click next it goes back to the sign in screen. Any ideas ??

    Have ou tried here:
    iOS: Troubleshooting FaceTime
    Also try resetting the iPod. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • Having problems using my printers when using the OS Lion

    Hi, can anyone assist me as I am having problems with the Lion OS, somehow I can't print on my Epson nor in my office on the Canon printer. I have updated the system with the latest printer drivers as well.
    Cheers

    Have you tried deleting and re-adding the printers?
    What happens when you try to print? How are the printers connected? Please provide more information about the problems you're having with each driver.

  • Anyone having problems using non-apple mains charger with Classic?

    I have 2g nano which works fine with my generic ipod charger. I'm about to upgrade to an 80gb Classic. Anyone have any problems using these?

    xavierlopez wrote:
    I found this "recipe" in a another forum and it worked!
    a) Disconnect all your devices from icloud (ipod, iphone, mac, etc.)
    b) Reset and CHANGE your Apple ID password
    c) Reconnect all devices
    and Voila!
    Voila what?
    Unless you put the new password in all devices they won't reconnect.

  • Problem using af:inputfile when only file name is given without path.URGENT

    Hai Friends,
    I am using input file type and <h:commandLink to upload a file. But when I type only the file name without the path like(hello.jpg) and try to submit then a javascript error occured "Access is denied". But my requirement is when i type without the path, that is only the file name i need to do some validations, like appending a global path with this file name and upload the file... the following is the code am having...
    <af:form id="address" usesUpload="true" >
    <af:inputFile id="id" value="#{BKb.batchFile}"/>
    <h:commandLink action="#{.uploadFile}">
    <h:outputText value="Upload" styleClass="buttonNoDecoration"/>
    </h:commandLink>
    <h:commandLink action="#{BKb.clearFile}">
    </h:commandLink>
    </af:form>
    can u help me in this issue...
    Thanks in advance,
    Ciya

    I figured out the problem, and it was caused by JHeadstart. I placed a default display value in JHeadstart for the download link. This caused a default values bean to be created by jheadstart and that bean was what was causing my problem. The download link had a display value, but not a valid path. I removed the default value, re-generated the screen and it is totally fixed. I have pretty much decided that it is never a good idea to use a default value in Jheadstart.
    Thanks for your help,
    Michelle

  • Is anyone having problems using pages app with iPad mini?

    I have to use a template report for my job- which other people with normal sized iPads also use- I use pages to convert the word doc - which contains writing and boxes - I complete the report and send it back to work, when they open it all the writing can't be seen down the right hand side, so I'm having to write three words per line in each box so they can read it when they open it, this is not ideal and wondered if its the iPad mini that can't cope ? Wondering weather to get the standard size iPad although I don't really want to do that.
    I also need a way of password protecting my work can anyone help ?
    Thanks

    I have an HP Scanjet 8390 with the same problem ($1600 new when I bought it). Using the "HP Scan.app", I am able to scan but not save - something about a read only file.
    The HP Scanjet 8390 is a business class **DUPLEX document scanner built like a tank, critical to my business (and personal). ie. I scan 100's of duplex pages a day for the last 6 years with no problems. It has a 14" glass for legal documents, 48-bit, +programmable hard buttons to scan and copy, or scan and print, OCR...
    I called 1-800-633-3600.. HP told me they do not support legacy products, have no intention of updating the drivers for legacy products and suggested I buy a new scanner (even though my old scanner works perfectly and is faster and not ).
    What is considered a legacy product? 1 year? 2 years? Am I to buy a new ($1000) scanner every 1-2 years?  What benefit do I get from a new equivalent scanner?

  • Is anyone having problems using an HP ScanJet 4890 with Mavericks?

    When using my MacBook Air with Mavericks OS X, I can scan documents using HP Scan v2.4.4, but am unable to save them properly. I get a plaid pattern in my saved PDF documents. HP hasn't yet posted new software for Mavericks on their web site. Is anyone else having similar problems, and if so, how did you resolve them?

    I have an HP Scanjet 8390 with the same problem ($1600 new when I bought it). Using the "HP Scan.app", I am able to scan but not save - something about a read only file.
    The HP Scanjet 8390 is a business class **DUPLEX document scanner built like a tank, critical to my business (and personal). ie. I scan 100's of duplex pages a day for the last 6 years with no problems. It has a 14" glass for legal documents, 48-bit, +programmable hard buttons to scan and copy, or scan and print, OCR...
    I called 1-800-633-3600.. HP told me they do not support legacy products, have no intention of updating the drivers for legacy products and suggested I buy a new scanner (even though my old scanner works perfectly and is faster and not ).
    What is considered a legacy product? 1 year? 2 years? Am I to buy a new ($1000) scanner every 1-2 years?  What benefit do I get from a new equivalent scanner?

Maybe you are looking for