Lpad use with dense_rank question

Hi, I looked up lpad/rpad in the 10g Complete refernce but can't seem to figure if I can use it in conjunction with dense_rank.
When I run "DENSE_RANK () OVER (PARTITION BY 'batch_doc_total' ORDER BY ae.emp_code) AS "batch_skey"," I get numbers starting with 1 however i want it to start with 0001. I have tried about 50 different ways of using the lpad but have had no succes in this case. Can anyone offer a suggestion or does anyone know if there is a limitation with using the 2 functions together?
Cheers, Peter

SQL> select empno,lpad(dense_rank() over(order by sal),5,'0') rnk
  2  from emp;
     EMPNO RNK
      7369 00001
      7900 00002
      7876 00003
      7521 00004
      7654 00004
      7934 00005                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    Good work, thanks for the report.

  • I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.

    I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.
    Ernest

    Not sure if I'm following you. I have 4 hard drives installed on my Mac Pro. I had a RAID 5 configured and functional for about 5 months. My battery died on the RAID card. I replaced the battery, seated the RAID card back in the slot I removed it from. When I booted to the USB drive to look in the RAID utility, I could see the battery is charged but my volumes are not showing.
    The drives don't show in disk Utility. I built the RAID with the RAID Utility and they did show there. I have a early 2008 Mac Pro, Mavricks OS running Mac Server

  • HT3964 I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    Jerricayoung,
    you have a 13-inch Mid 2012 MacBook Pro. It’s modern enough that it supports booting into Recovery mode. To do so, hold down a Command key and the R key as you start up. It should eventually show a Mac OS X Utilities menu. Select Disk Utility from that menu; when the Disk Utility window appears, select the bootable volume from the left-hand side of the window. (It’s typically called “Macintosh HD”.) When the volume is selected, some buttons will appear on the right-hand side. If it’s not greyed out, press the Verify Disk button; if it is greyed out, or if it reports on errors that it found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu; that will restart your MacBook Pro in its normal mode. With luck, that will be enough to get you to your normal login screen, rather than the white screen.

  • Firefox won't access the internet but [as now with this question] IE does - this has happened before where I used IE to fix firefox

    firefox won't access the internet but [as now with this question] IE does - this has happened before where I used IE to fix firefox

    See if this helps you - [[Cannot connect after upgrading Firefox]]

  • Imovie 11 using with isight, frame rate question

    I am working in iMovie 11 and just tried the isight camera to record voice over. My project is 24 fps, but the isight camera seems to have recorded the clip at 30fps. Is there a way to retain 24fps project setting for isight camera use? In other words, can I set the camera for 24 fps, the way I do my cam corder?

    Were you shooting on the Panasonic HVX-200 onto P2 cards in 720pn mode?
    Yes, that's correct.
    you should still make a DVD and watch the movie on a TV
    I will do that; thanks for the advice.
    if you are having these problems on your computer, there's always a chance that your client will have problems showing the file on the unknown computers
    That has been a big part of my cause for concern. My friend (the one I'm working with on this project, who owns the equipment we're using) would prefer to burn it to a Blu-ray disc, but unfortunately we don't have access to a Blu-ray burner. So I'm thinking we should provide it as both a DVD and as a QuickTime file, to cover as many bases as possible.
    Thanks again for your patience with novice questions. I've looked for books on these kinds of things, but everything I've found seems to either be written at the extreme beginner level ("this is how you upload video onto your computer"), or the extreme advanced level. Perhaps I haven't been looking in the right places; if you can suggest some good reading materials on this kind of thing, that would be great.

  • Using blue yeti microphone with skype question

    Hi,
    I just bought a blue yeti mic to use with skype. The other person can hear me fine
    but I cant hear him. All tests checked out fine on both ends. Then I saw the headphone jack on the bottom of the yeti mic. Question: do I have to have headphones on and plugged into the yeti headphone jack in order to hear someone, or is there a way to use the yeti and hear the other party without using headphones?
    Thanks for any replies!

    I briefly googled your issue and came up with this: http://the-gadgeteer.com/2010/08/11/blue_yeti_mic/
    It may be worth a read, as it sounds like you may need headphones unless you're willing to mess around with your computer's audio functions.

  • Hello, can someone help me: my eMac G4 700 MHz. I can not boot it. If he starts appears on the screen, only a small "folder with a question mark." The Mac was not used 1 year. Question 1: Problem = hard drive? Question 2: Problem = PRAM battery? the What

    Hello, can someone help me: my eMac G4 700 MHz. I can not boot it. If he starts appears on the screen, only a small "folder with a question mark." The Mac was not used 1 year.
    Question 1: Problem = hard drive?
    Question 2: Problem = PRAM battery?
    the
    What can I do to boot?

    Restart with the Option key held down.
    If the internal drive shows up, it's the PRAM battery.
    If it doesn't, insert a compatible Mac OS 9 or X install disk, click the button with the circular arrow, and either repair the internal drive or install a new OS on it. If it doesn't show up in Disk First Aid(9) or the Disk Utility(X), it's either not plugged in or needs to be replaced.
    (97530)

  • Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    I have friends all over Europe, does it matter what number they use to call me? Nope! All incoming calls are free for me.
    The only time you ever have to worry about which number is if you get charged for incoming domestic/international calls.
    You can tag their number (work/home/iphone) and that may show on the CallerID accordingly.
    It should show, John Doe
    underneath,    work/home/mobile
    For example:
    http://shawnblanc.net/images/img-0009-1.png

  • I was just using macbook normally when it  got hanged. Nothing worked so i restarted. A white screen then came up with a 'question mark in a folder' sign blinking. Nothing's working. Please help!!

    I was just using macbook normally when it  got hanged. Nothing worked so i restarted. A white screen then came up with a 'question mark in a folder' sign blinking repeatedly. Nothing's working. Please help!!

    Look for a solution here:
    https://discussions.apple.com/docs/DOC-5281
    Ciao.

  • Just bought AV cables to use with iPhone... question

    I bought the Apple brand AV cables to use with my iPhone. It will only work when I plug the cables directly into the phone. Is it not possible to run it through the dock that came with the phone? Is there a way to remotely control the phone while it is plugged in?

    No, to watch movies you take your iPhone out of the dock and hook the sold separately AV component cable dock connector to your iPhone.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wo/StoreReentry. wo?productLearnMore=MB128LL/A#overview
    Message was edited by: Mitch 751

  • Why do i get a blue square with a question mark inside using yahoo mail in safari

    why am i getting blue squares with a question mark instead an image

    Safari Preferences/Appearance - have you checked the box 'Display images when the page opens'?

  • I got a flashing folder with a question mark. I got a new hard drive and upgraded to 4 gigs and can't open anything or reload the operating system? Help?

    I got a flashing folder with a question mark. I got a new hard drive and upgraded to 4 gigs and can't open anything or reload the operating system? Help? FYI: I have been using boot camp with windows 7 and started getting a kernal_data_Page_error and it would reboot windows, i was trying to do a chkdsk on the next reboot, but thats when i started getting this issue. I have put in a new hard drive and went from 2 gigs to 4. I can not get the computer to do anything, even the monitor does not show anything now????

    Prep your new drive:
    Drive Preparation
    1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs,) then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    After formatting has completed quit DU and return to the installer. Install OS X.

  • White Macbook has folder with a question mark inside when powered on.

    My brother has a white macbook given to him from a friend and when it is powered on it shows a folder icon with a question mark in the inside flashing and it doesn't boot. He has sent me on a quest to get a power adapter and a new hard drive, He thinks the hard drive is fried. Does anyone know for sure if thats the case, I just don't want to buy all that stuff to figure out that the logic board is dead or something else irreplaceable. There is no backup disks, all I have is a replacement leopard disk from apple used for my mac mini.

    If it is a retail Leopard disc--black with a giant purple X on it--then yes, you could use them, with a couple of caveats. One, it would technically be a violation of the license to use that install of Leopard on more than one computer, and terms of use on this forum forbid me from encouraging such an action. And two, depending on how old this used MacBook is, your install of Leopard may pre-date manufacture of the MacBook and, as a result, not be able to boot the MacBook anyway. However, judging by the info in your signature, that is probably not a problem.
    If the disc for your Mini is gray and shipped with or was meant to ship with the Mini, then no, the disc will not work.
    I still encourage you to get the system discs that came with the MacBook originally, as they have the Apple Hardware Test included, and, as I suggested above, running any OS (or other Apple software) on a Mac without the discs means technically it's an unlicensed copy.

  • When I boot up my I get a grey screen with a flashing folder with a question mark

    I was trying to set up a bootable Linux flash drive for another computer using UNetbootin and I accidentally selected an empty partition on my hard drive instead of the USB I was trying to use. It went through the install process, and I didn't realize it was on my computer rather than the USB. The computer worked fine, so I thought nothing of it.
    Today, I go to mess with my computer and it is frozen at the login screen. I restart it, and now I just get a blinking folder with a question mark. I try to go into recovery, but it isn't there. Internet Recovery works fine, but when I go to use Disk Utility or to reinstall the OS it cannot find the internal Hard Disk.
    What am I supposed to do here? I don't want to lose all my data.

    greenbil1
    You can contact AppleCare to buy a replacement set of the oringinal Install discs for a nominal cost. You will need the serial number and a credit card to place the order.

Maybe you are looking for

  • Is there a way to have tooltips for every column in a TableView?

    Hi there! I found in documentation that any node and control can show a tooltip ( http://docs.oracle.com/javafx/2/api/javafx/scene/control/Tooltip.html ) but I can't get tooltips to work for TableColumn (a column from TableView). Do you have any idea

  • I updated my iphoto now it wont open....

    i updated my iphoto scince then when i try and open it a tab pops up saying "You can't use this version of the application iphoto with this version of Mac OS X" it says i have the mac OS X 10.7.4 and the application requires 10.7.5 i updated my lapto

  • No Check Information generated.........?????

    Hi Friends Got a doubt in APP. we hav 2 house banks: IDBI - A/c ID-1234 and SCB- A/c ID- 2222. For both banks Cheque Lot 1 has been created with 100 cheques in each lot. Now while running APP i want to print checks. But the problem is that when we ru

  • Please help!  i tunes won't display song list or artist ??

    have 2 identical new computers and have installed itunes on both. One computer will open the cd automatically but does not display the artist and songs. The other computer automatically opens the cd and displays both the titles and artist. I must hav

  • "Unexpected File Format" Save corruption

    I was working on a project and hit save when Flash freezes and I receive an error message saying "Adobe Flash CS5 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution