Need 100.555 should be depicted as 000000100555000   ----9(09)V9(06) format

Hi All,
I am writing query. For One column, I am getting some interger value. I need the interger in this format 9(09)V9(06) format.
Ex: if Interger =100.555 , then in my query, it needs to shown as 000000100555000.
Please help me on this.

Sure :)
alter session set NLS_NUMERIC_CHARACTERS = ',.';
with data as (select 110.555 my_num from dual union all
              select 1123.0999 from dual)
select lpad(regexp_replace(my_num,'^([^.]*)[,.](.*)$','\1'),9,'0')
       || rpad(regexp_replace(my_num,'^([^.]*)[,.](.*)$','\2'),6,'0') result
from data
RESULT
000000110555000
000001123099900Or
alter session set NLS_NUMERIC_CHARACTERS = ',.';
with data as (select 110.555 my_num from dual union all
              select 1123.0999 from dual)
select lpad(regexp_replace(my_num,'^([0-9]*)[^0-9](.*)$','\1'),9,'0')
       || rpad(regexp_replace(my_num,'^([0-9]*)[^0-9](.*)$','\2'),6,'0') result
from data
;Edited by: AlanWms on Feb 24, 2011 3:48 PM

Similar Messages

  • I have a macbook air and need additional storage should i consider a time capsule or a simple external hard drive?

    I have a macbook air and need additional storage should i consider a time capsule or a simple external hard drive?

    If you move live files (files you don't want to lose) to an external drive, you need to back them up.  Any files not backed up are at risk of loss.  Hard drives and SSDs can fail at any time.  It is hard to backup a Time Capsule so a TC should be used only as a backup device.
    Do you have a Time Machine backup now?  If so, and if it is large enough, you can backup your internal and external disk to it using Time Machine.  If not, you all need to purchase an external drive or TC as your backup device.  (I recommend an external hard drive for backup instead of a TC.)  Ideally the backup drive should be twice the size of what you are backing up but 50% larger will work so if you have an external 1 TB disk and an internal 250 GB SSD then a 2 TB backup disk will work well.
    By default, Time Machine will not backup the external disk.  You need to remove it from the exclusions list:
    To have Time Machine backup your system disk and your external offload disk up onto your Time Machine disk:
     > System Preferences > Time Machine > Options… > Remove the offload HD name from the exclusions list.

  • Need By Date Should be equal or after the effective start date- error in po_requisitions_interface_all

    Hi All,
    We have created a manual planned order for one buy item in ASCP workbench for some qty and released it.
    But, we are not able to get its requisition created in source.
    When we check the PO_Interface _Errors table, we found that it is errored out with error as --
    Need By Date Should be equal or after the effective start date .
    Can anyone please help me out to find the cause of this issue. Any help/pointer in this regard will be highly appreciated.
    Thanks,
    Avinash

    Hi Abhishek,
    We found the root cause of the issue.
    Its BPA was not having any Effective start date mentioned in its terms. So we put it as BPA creation date and ran the data collection and plan run.
    After that we were able to see its BPA release created without any error.
    Thanks,
    Avinash

  • Heey guys whats up listen i have a problem i lost my iphone and it has all my pic's and some information that i really really need it what should i do .... is there any way that i can get back the i phone ??? please help me

    heey guys whats up listen i have a problem i lost my iphone and it has all my pic's and some information that i really really need it what should i do .... is there any way that i can get back the i phone ??? please help me

    You can look for it.
    If you find it, you will have it back.
    If you had find my iphone activated on the iphone BEFORE it was lost, then you may be able to track it.

  • Hello. I ve got a question. I accidentally bought membership but it doesnt have Adobe Muse that I need. What should I do? Can I extend my membership for the right one, or should I first get the money back. What kind of membership do I need to have Adobe M

    Hello. I ve got a question. I accidentally bought membership but it doesnt have Adobe Muse that I need. What should I do? Can I extend my membership for the right one, or should I first get the money back. What kind of membership do I need to have Adobe Muse software?

    Plans are listed at Creative Cloud pricing and membership plans | Adobe Creative Cloud
    The drop down at individual plans does show that you may subscribe to only Muse
    You probably need to cancel what you have... You need Adobe support to cancel a subscription
    -start here https://forums.adobe.com/thread/1703848
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    --and two links which may provide more details, if the above links don't help you
    -http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html

  • My iphone all the time has a restore needed sign, what should I do?

    my iphone all the time has a restore needed sign, what should I do? I tried the support steps & it didn't work =(

    Unable to Update or Restore..?
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps..
         Take your time... Pay particular attention to Steps 3 and 4.
    Some users have reported as many as 8 or 9 attempts were necessary before success.
         If the issue persists...
    Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
         Be sure to make an appointment first..

  • Stop sending me emails I do not need 100 clogging my email I have change my info to stop email notification 3times

    Stop sending me emails Ido not need 100 emails a day clogging up me email. I hav change me message to stop receivinge mails and I am still getting them.  STOP STOP

    You are NOT talking to Apple here and remember that every time that you post again and someone responds to try to help you, the emails will continue to pour in from those people that are trying to help.
    Read these instructions from another discussion and make sure that you are doing everything exactly as stated below.
    Anyway first click on your name to get to your homepage/profile. At the top there are three tabs one of which is Notifications, that's number one,. Next look at the right side of the page at the box Actions in there click Manage Email Notifications. Finally click  Edit Preferences in the action box and click on Email Notification Preferences.
    And make sure that you click on Stop Email notifications in the Actions Box in the upper right corner of this page.
    Here is the discussion that I copied the instructions from.
    https://discussions.apple.com/thread/3343849

  • Footer should be print on last page in multiple page format

    Hi expert,
    I designed form for invoice print ,in that for multiple pages footer should be print on last page only and hight of the main window should be increase (means if footer will display on last page then space of footer should be used for main window in multiple
    page format) 
    for eg .if i have 12 item so 5 items displyed on each page but i want to print 10 item on first page and remaing on second and after that i want to print footer.
    Regards,
    Jyotsna

    Hi,
    Has you tried to create a "new page" copy of FIRST, and make it the LAST_PAGE... On it you are going to create the desired footer.
    The Page Secuence will be something like this:
    If you are trying to print 12 items, then PAGE 1 (10 items) -> LAST_PAGE (2 remaining items).
    Hope it helps you...
    Alexis Sanchez N.
    SAP ABAP Development Consultant
    Molen Services and Consulting, C.A.

  • Hi, i need ur help. i got my ipad from my school and they formatted it so that many things would not work, one of those things was iCloud, could any of you please help me undo that?

    hi, i need ur help. i got my ipad from my school and they formatted it so that many things would not work, one of those things was iCloud, could any of you please help me undo that?

    Check the settings on your iPad:
    1. "Settings > General > Restrictions"
    and also
    2.  "Settings > General > Accessibility" here Learning/Guided Access

  • Hello.  I have 3 ipads, one being the most recent ipadair. I want to deresigter the old 2 so then i can give these 2 away. so I need to know how to deresigter them from my apple id and format my ipads

    Hello.  I have 3 ipads, one being the most recent ipadair. I want to deresigter the old 2 so then i can give these 2 away. so I need to know how to deresigter them from my apple id and format my ipads

    Settings > General > Reset > Erase all content and settings
    If you have iCloud set up do this first then the above
    SEttings > iCloud > Find my iPad > Slide to turn it off.

  • Do I need Flash?  Should I install it?

    It was weird, but when I got my Mac it had Snow Lepard I upgraded it to Lion and never thought about Flash; i just assumed it was there. After upgrading to Mountain Lion, Cnet videos told me that I need to upgrade/install Flash.
    I have never been comfortable with that, I know Flash is widely exploited. Do you guys have it installed on your systems? Do you think I really NEED it? A lot of people say the don't install it.  I know I could use Google Chrome, but I don't really like it, plus it forces my descriete graphics and cuts my battery life in half (if you have any suggestions with that issue feel free to leave comments :] )
    So, how many of you have Flash?
    Also, should I uncheck "Java" in Safari 6? I know Java Script is separate, and needed, but I've heard that Java is rarely used and widely abused, is this true?
    Sorry for all of the quesions, I am a Security freak.
    Thank you for my piece of mind.

    I had that problem myself and was forced to download the installer for "other browsers" using Internet Explorer at http://get.adobe.com/flashplayer/otherversions/ . After I did that it installed correctly. You can also try downloading the FULL installers for flash at http://www.adobe.com/products/flashplayer/fp_distribution3.html . Just make sure that all browser windows are closed before you run either of these.

  • My rail will not give me the option to send do I need sim or should it work on wifi

    I cannot get my mail to work it will receive but not send? at present I am only on wifi. is this the problem or should it work?

    Connect in recovery mode and restore, you'll get the option to reset the passcode during this process:
    iOS: Unable to update or restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.

  • Need 100% value in my reslt.

    Hi BI experts,
    Need your valuable feedback.
    Actally I have one field C in my query designer, which gets value from A and B . C is calculated as  A * B. If one of my value of A or B is euals to 0(zero), I suppose to change the value as 1 and my result of C shold get 100% guranteed value.
    Please reply me if anyother option is suitable for 100% result.
    Regards,
    Kalpana.

    Hi Kalpana,
    Try this formula at the front end
    (((A <is not eqal to> 0) * A) + ((A == 0) * 1)) * (((B <is not eqal to> 0) * B) + ((B == 0) * 1))
    Hope it works for you.
    Regards,
    Satyam
    Edited by: satyam bhardwaj on May 16, 2011 11:42 AM

  • TS1277 i cant remember my 2 authorization questions  answers and when when i click send to email it sends to an email adress thats not mine and now i cant use my $100 what should i do?

    i cant remember my authorization questions answers and when i click send to email it sends to a random email thats not even created but hotmail.
    what should i do???!

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (126538)

  • I have gecko default plugin and don't know what it is. Do I need this or should I disable it?

    I was looking at my add ins and wanting to check something called Public Fox, when I saw that I have a gecko default plugin and don't know what that is. I guess it happend with the most recent security update. So I want to know what it is and do I need it.

    We are fellow users here on these forums, you're not talking to iTunes Support nor Apple.
    You can view the purchase history on your account : if you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases (the most recent is above the list).
    If you don't recognise the charge (and nobody else has access to your account or devices and may have made it) then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • Failed to establish Screen Sharing

    Hi, I'm in India on my home wifi network. Following is the setting of my macbook. OS 10.5.8 iChat 4.0.8(619) Firewall: Allow all incoming connections Screen Sharing: On for all users (Any one can request screen sharing is checked) My bro is is VA, US

  • Adobe taking over my computer

    Hello, I have to have Adobe in order to apply for jobs in my area. I do not like using it, but had to update to the 9.0 so I could post my resume and other documents. The problem is that I can't open any of my word documents because the Adobe interfe

  • How to run TCP/IP Tx in cRIO vi only when value changes?

    My design uses NI's TPC-2006 as the user interface for a cRIO-based product.  I use TCP/IP to exchange data between the TPC-2006 and cRIO.  My code causes the TPC to lock up after a variable number of minutes, typically about 10.  The OS is completel

  • SQL/Plus screen buffer width

    How do I set the screen buffer width in SQL/Plus other than going to Options->Environment->Screen Buffer->Buffer Width? I want to be able to change this programatically within a script but I can't figure it out.

  • Pages editing tools not showing define

    I am having an issue with the Pages editing feature on my iPad2.  When I double click on a word, I get the edit bar showing Cut, Copy, Replace but not Define. This appears to have started after I upgraded to iOS6.  I upgraded Pages to version 1.6.2 b