Format 999.999

Hi,
on 10g R2 how to display the numbers (and not to have #### instead) :
SQL> set lines 120 trimspool on
SQL> col event head "Waited for" format a30
SQL> col total_waits head "Total|Waits" format 999.999
SQL> col tw_ms head "Waited|for (ms)" format 999.999.99
SP2-0246: cha¯ne de FORMAT non autorisÚe "999.999.99"
SQL> col aw_ms head "Average|Wait (ms)" format 999.999.99
SP2-0246: cha¯ne de FORMAT non autorisÚe "999.999.99"
SQL> col mw_ms head "Max|Wait (ms)" format 999.999.99
SP2-0246: cha¯ne de FORMAT non autorisÚe "999.999.99"
SQL> select event, total_waits, time_waited*10 tw_ms,
  2         average_wait*10 aw_ms, max_wait*10 mw_ms
  3  from v$session_event
  4  where sid =152;
                                  Total      Waited     Average         Max
Waited for                        Waits    for (ms)   Wait (ms)   Wait (ms)
class slave wait                  1.000         .00         .10         .00
Streams AQ: waiting for time m ######## ########### ########### ###########
anagement or cleanup tasks
events in waitclass Other         1.000         .00         .00         .00Thank you

Hi,
format is not correct:
You should set it in this way if you want 2 decimals and thousands separator
format 999,999.99And when it is #### means that number is too large to fit in:
set lines 120 trimspool on
col event head "Waited for" format a30
col total_waits head "Total|Waits" format 999,999
col tw_ms head "Waited|for (ms)" format 999,999.99
col aw_ms head "Average|Wait (ms)" format 999,999.99
col mw_ms head "Max|Wait (ms)" format 999,999.99
select event, total_waits, time_waited*10 tw_ms,
       average_wait*10 aw_ms, max_wait*10 mw_ms
from v$session_event
where sid =152;
                                  Total      Waited     Average         Max
Waited for                        Waits    for (ms)   Wait (ms)   Wait (ms)
class slave wait                      1        0.00         .10        0.00
Streams AQ: waiting for time m       43  ##########  ##########  ##########
anagement or cleanup tasks                                                
set lines 120 trimspool on
col event head "Waited for" format a30
col total_waits head "Total|Waits" format 999,999,999
col tw_ms head "Waited|for (ms)" format 999,999,999.99
col aw_ms head "Average|Wait (ms)" format 999,999,999.99
col mw_ms head "Max|Wait (ms)" format 999,999,999.99
select event, total_waits, time_waited*10 tw_ms,
       average_wait*10 aw_ms, max_wait*10 mw_ms
from v$session_event
where sid =152;
                                      Total          Waited         Average             Max
Waited for                            Waits        for (ms)       Wait (ms)       Wait (ms)
class slave wait                          1            0.00             .10            0.00
Streams AQ: waiting for time m           43   79,054,860.00    1,838,485.10    3,596,180.00
anagement or cleanup tasks        Regards.
Al
Edited by: Alberto Faenza on Nov 23, 2012 1:33 PM

Similar Messages

  • Need to update the FSG currency format at form 999,999,999,99.99(default) to 99,99,99,999.99 (Indian)

    Hi All,
    I need to change the currency format in App's GL FSG report. It's by default comes 999,999,999,999,99.999 form this i need to change into Indian currency format (99,99,99,99,999.99).
    I tried to changed the format in column set but it doesn't changed.
    I am working in Apps R12 on RHEL5.5 64bit OS.
    Thanks in Advance.
    Regards
    Chander

    I'm not sure I understand the question. Are you saying you want the bold part of your path (currently hard-coded) to be in a variable instead? That would look something like this:
    $file_server = Read-Host "Enter the file server IP address"
    $guid = '{231A178D-DC6C-4186-9575-9C64F07DA5B5}'
    (Get-Content "C:\TEMP\GPO\source\5\$guid\gpreport.xml") |
    ForEach-Object { $_ -replace "99.999.999.999", "$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\gpreport.xml"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\Backup.xml") |
    ForEach-Object { $_ -replace "99.999.999.999", "$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\Backup.xml"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Documents & Settings\fdeploy1.ini") |
    ForEach-Object { $_ -replace "99.999.999.999", "$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Documents & Settings\fdeploy1.ini"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\Drives\drives.xml") |
    ForEach-Object { $_ -replace "\\99.999.999.999", "\\$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\Drives\drives.xml"
    (Get-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\files\files.xml") |
    ForEach-Object { $_ -replace "\\99.999.999.999", "\\$file_server" } |
    Set-Content "C:\TEMP\GPO\source\5\$guid\DomainSysvol\GPO\User\Preferences\files\files.xml"

  • MB1A Problem - Available Quantity show 9,999,999,999

    Hello, Guru
    My company work on SAP ECC6.0, I'm about to do good issue but I struck on some problem.
    I have one material which is control in batch management and now I want to issue this material thru T-code MB1A, Mvt = 261, but while I trying to choose batch to issue, the system is giving the available quantity 9,999,999,999.
    Is it possible to get the actual batch quantity in storage Location, How can I config to fix this problem ?
    Thnx
    Karn
    Edited by: rravikran on Aug 20, 2009 5:19 PM
    Edited by: rravikran on Aug 20, 2009 5:50 PM

    I have already config batch detemination. This material don't have MRP View 1-4 but I choose availibility check 01 in sales/plant view.
    I check config at t-code OMCP and click transaction button to view good withdrawal (MB1A). The checking rules is 03 and  I click define checking rule button to view availibility check control overview, double click availibility 01 and checking rule 03.
    It sets as follows;
    Incl Purchase Order
    Include Reservation
    Include Sales Requirement
    Include Delivery
    Edited by: rravikran on Aug 21, 2009 6:51 AM

  • Total value accepting 9,999,999,999.99

    Hello experts,
    I am having problems with my purchase requisition, the problem is that i have extended my domains to accommodate larger amounts for the money but in <b>ME51N</b> the value obtained from the calculation of the quantity by the unit price always defaults to <b>9,999,999,999.99</b>. I have edited the program <b>SAPLMEGUI</b> the include <b>FMMEXDIR</b> where i could find with default values when a certain limit is reached! could any one please tell me if it is a config issue, if not if it is a program issue where might i have missed it? Please help?
    Thank you
    Tatenda Chaibva

    Is there some reason that resizing the cell in Excel is an inadequate solution?
    Scott

  • ATP quantity = 9.999.999.999,999

    Hello Experts,
    When I create sales order for material HAWA which is on stock location, system takes route schedule and in some cases create second schedule line u2013 in case the planned route schedule is for next day or later. Is such case Cumulative ATP quantity = 9.999.999.999,999. This happen only when Planned delivery. time (MPRII - MARC-PLIFZ) = 1, (it looks like Planned delivery time can not be bigger than confirmed delivery date from schedule line).
    In SAP we use material type HAWA, Procurement type u201CFu201D - External procurement (MRPII), customers are assigned to u201Croute schedulesu201D u2013 (transaction VL53), and we are using RLT.
    Do you know why system gives us ATP quantity = 9.999.999.999,999.?
    Best regards,
    Maciej

    Dear Maciej,
    Chk your material master MRP II tab page where check "IN house production" field  if you mention zero days in this field , the system will propose you 9.99999999999 but if u mentioned 1 day i think this problem get sloved.plz chk
    saurabh

  • How do I stop messages from 999-999-9999?

    how do I stop messages from 999-999-9999?  getting messages every 10 minutes or so

    Call your carrier, they are the only ones who can block numbers if they offer that service.

  • How do get in contact with a specialist on the *67 ( 999-999-9999 ) incoming calls?

    I have already blocked the *67 (999-999-9999 calls on the line and they still continue to come thru.  I s there a way to actually block these or not.  I even paid the $4.99 fee for usage controls and they still came thru.  Is there a way to transfer these calls to another line? 

    Pammeysue, with Usage Controls, you do have the ability to block incoming calls from numbers listed as private, restricted, or unavailable. If you are still receiving private, restricted, or unavailable calls, I recommend to remove the settings and add them back and save. Then try again. 
    Click this link for additional information: http://support.vzw.com/faqs/Features%20and%20Optional%20Services/usage_controls.html
    Additionally, some devices are restricted to have this feature such as the Kin and 4G devices (Thunderbolt). 
    Thank you, 

  • I have a number - 999-999-9999 showing up as an incoming call on one of my phones.  Anyone know what kind of number this is?

    On the list of recent calls, I have a number - 999-999-9999 showing up as an incoming call on one of my phones  Anyone know what kind of number this is?

        bovine2, We can understand the importance of tracking call details. If you are logged in to your My Verizon account and you see the number is all 9's,0's etc the number has been restricted by the originating party. Are you only seeing this number for incoming calls?
    sheritah_vzw
    Follow us on Twitter
    @VZWSupport

  • I am having trouble converting numbers in portugues format "99.999,99" that is converted to "999,999", even I had changed language before the adobe conversion.

    Someone know how fix it?

    Greetings NoNameGiven,
    If I understand the problem correctly (I’m not sure I do) you would prefer ‘iii’ to be read as “eye eye eye” rather than “three”? The alt text property is the only way that I know of to make this happen. Hope this helps.
    a ‘C’ student

  • Unable to create Entries in the Z Table -- Make entry in the form 9,999.999

    I have created/Copied a standard table to a z Table with 5 fields.
    One of the Field should be capbale to hold AAAAA.DDDDDDDDDDDDDD. (ie 5 Place before point and 14 decimal places).
    So I have created Domain DEC with 14 decimal places and 19 No Characters.
    When I tried creating an Table Entry(REcord), System rejects the value present in this  field wth the following
    message "Entry 12345.000000 is to long. (Make entry in the form 9,999.99999 or /9,999.99999.)".
    One more thing: I have maintained the DEcimal Notation as 1,234,567.89 in the User Defaults(TCode SU01).
    Please help !
    RJ

    Hi,
    So as you said the notaion comma is also included in the count of places.
    so try giving as1,234.00000 - shouldn't give error.
    if no error then increas the total no. of character in domain to 20 and check giving value 12,345.000000...
    Regards
    Salini.

  • 999-999-9999 & data usage when phone sitting on table untouched

    Hi,
    I understand this has been asked before and I know they are supposed to be blocked calls or as Verizon told me "numbers from other carriers who don't supply the information".  I am still at odds with this because I have 4 of these calls showing up under current usage and only one of them is an incoming and I do remember receiving and answering a call that said it was "restricted" so 1 out of the 4 is not an issue.
    I have never in my life dialed "*69" to block my number on a phone, neither on my cell phone or home phone when I had one. I remember now that you could do it but I didn't even know what you had to dial to do that until someone told me when this came up. The other three all have numbers in the "Description" column so they don't list a city like my other outgoing calls.
    Also, 2 of these were in the 4 AM hour...wouldn't I remember making a phone call at 4 AM, especially if I had to dial *69 before the number? And also, these three that appear to be "outgoing" are NOT listed in my phone's history of phone calls made. And no one had access to my phone but me. No one. Anyone have any idea what these could be?
    And also, although this may need to be on another board...data charges coming in the wee hours of the morning, like between 12-1 AM and 4-6 AM and I have not touched my phone. And I have no alerts set, except I have occasionally gotten a "you have new content" but have not found what this is talking about either. And I had a data usage show last night at 12:29 AM and I remembering checking the time at 4:07 AM and there was no notification on my phone. Totally stumped over this too. Any help or idea's appreciated!
    Verizon told me yesterday the data issue sounded like either my VZ Navigator or Social Beat. I believe I signed into Social Beat one time but if I go to "Social Beat" it will say "no account" listed by all three icons.

    It sounds to me like someone put spyware on your phone. Maybe you have a crazy ex or your bf doesn't trust you. idk but that's what it seems like to me. Does your phone ever just light up when it's just sitting there and nobody is touching it.

  • Initiating a long at 9,999,999,999,999,999

    When I initiate a long as:
    long l = 9999999999999999;
    I get compilation error "The literal 9999999999999999 of type int is out of range.
    The uppr limit for a long is 9223372036854775807 so it should be
    possible to initiate a long at 9999999999999999, but I don't know how.
    Sandra

    (hey - where'd my "L" go?!)I swiped it for my post, beyotch.
    whew I was gonna accuse DrClap.Yeah... I previewed, and thought "Hey, where'd my L
    go?" So I tried it again and sure enough that's
    another of the new and improved features of the
    forum. If you put two L's at the end of a long
    literal in a code block, then one of them survives to
    be output.So the software is parsing the "99...9L", then doing String.valueOf on the results back, and then picking up with the following character from the post--which in your case happened to be your second L.
    Obviously a superior way to do things.

  • How to do formatting of messageStyleText in a table for each row

    Hello one and all,
    We have a requirement that the values displayed in figures must have a formatting same as we do in SQL
    for example : select TO_CHAR(4555.95 , '999,999,999.99') from dual
    OUTPUT will be 4,555.95
    Now i want to do the formatting for the messageStyleText which i have created as follows:
    Header
    Table
    messageStyleText
    The code that i am writing is as follows :
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    //Call the AM by using create object, this object created only for FirstPG_AMImpl use
    FirstPG_AMImpl am =(FirstPG_AMImpl)pageContext.getApplicationModule(webBean);
    //Calling view object vo method when Go button is clicked.
    if (pageContext.getParameter("go")!=null)
    Object [] returnVa = (Object[]) am.payslipsummary(pageContext);
    OAMessageStyledTextBean earbean =(OAMessageStyledTextBean) webBean.findIndexedChildRecursive("inputValue");
    earbean.setValue(pageContext, returnVa[0]);
    when the query executes it displays 3 Rows in the table.
    Now, the formatting happens only for the first row displayed in my table. how to allow formatting to happen for all the rows???
    NOTE: the formatting code is in my AMImpl
    public Object[] payslipsummary(OAPageContext pageContext)
    Object [] strValue = new Object[10];
    NumberFormat numberFormat = NumberFormat.getInstance();
    numberFormat.setMinimumFractionDigits(2);
    numberFormat.setMaximumFractionDigits(2);
    numberFormat.setMinimumIntegerDigits(3);
    numberFormat.setMaximumIntegerDigits(20);
    return strValue;
    pls help!
    Brgds,
    Jenny

    Hi,
    To for the specific column value of all rows of table, please loop through the underlying VO of that table
    OAViewObject vo = (OAViewObject)am.findViewObject("View Object");
    if (vo != null) {
    Row TotalLinesVOrows[] = vo.getAllRowsInRange();
    RowSetIterator rowsetitr[] = vo.getRowSetIterators();
    if (vo.getRowCount() > 0) {
    rowsetitr[0].setRangeStart(0);
    rowsetitr[0].setRangeSize((int)vo.getRowCount());
    for (int count = 0; count < vo.getRowCount(); count++) {
    row = rowsetitr[0].getRowAtRangeIndex(count);
    Object value= row.getAttribute("ViewAttributename");
    Double fomattedValue=getFormatCurrency(value)
    row.setAttribute("ViewAttributename", fomattedValue);
    public String getUSFormatCurrency(double value)
    Locale locales = Locale.US ;
    DecimalFormat formatter = (DecimalFormat)
    NumberFormat.getCurrencyInstance(locales);
    String formattedCurrency = formatter.format(value);
    return formattedCurrency;
    Thanks
    Pratap

  • Format output so file is readable

    Hi All.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for Solaris: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    on
    SunOS rcworaprd 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-480R
    I have a script that is running some sql to report free space in tablespaces. The output goes to a file and the formatting is great when I vi the file but once I email it the columns don't line up. I was wondering if there is an easy way to get everything lined up correctly:
    Here is the sql I run:
    sqlplus <<! > $SCRIPTHOME/shrink.tmp
    / as sysdba
    set pagesize 100
    set linesize 300
    set verify off
    column file_name format a50 word_wrapped
    column currsize format 999,999,990 heading "Current|Size|(MB)"
    column smallest format 999,999,990 heading "Smallest|Size|(MB)"
    column savings format 999,999,990 heading "|Savings|(MB)"
    break on report
    compute sum label "TOTAL SPACE SAVED BY SHRINKING" of savings on report
    column value new_val blksize
    select value from v\$parameter where name = 'db_block_size'
    select file_name,
    ceil( blocks*&&blksize/1024/1024) currsize,
    ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) smallest,
    ceil( blocks*&&blksize/1024/1024) -
    ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) savings
    from dba_data_files a,
    ( select file_id, max(block_id+blocks-1) hwm
    from dba_extents
    group by file_id ) b
    where a.file_id = b.file_id(+);
    exit
    Output in report file all lines up but don't line up in email (tabs are different etc...)
    Any way to get this formatted?
    Thanks
    Jamie

    Most likely it is an issue with the fonts that are being used for display. Typically, telnet or ssh applications use a fixed width font for display so all characters are the same size. Most Windows applications tend to use a proportional font by default, so different characters have different widths.
    So, unless you can persuade all of the recepients to use a fixed width font in their email readers, you are likely out of luck.
    John

  • How to get a currency format for a character field

    for some specifix reason, we have a requirement to show character field (which results in value 633948) in the format $633,948
    how do i do this?
    if i do SELECT to_char(:c_1,'$999,999')) from dual;
    it gives me ora: 01722: invalid number error
    c_1 is a user parameter of data type character

    Try using TO_NUMBER first, as in something like:
    SQL> VARIABLE c_1 VARCHAR2(6)
    SQL> EXECUTE :c_1 := '633948';
    PL/SQL procedure successfully completed.
    SQL> SELECT TO_CHAR(TO_NUMBER(:c_1), '$999,999') FROM DUAL;
    TO_CHAR(T
    $633,948Hope this helps.

Maybe you are looking for

  • Looking for a better way to observe POJO changes

    Let's say you have a POJO like Employee, and you want to make changes to the fields in the POJO observable. What's the best way to do this? The listeners should be able to register for change events, without necessarily subscribing to every property.

  • In need of CS5 Actions help

    Last week I was trying to set my actions up to be in button mode and was trying to categorize them and so forth. I dont remember exactly what all I did, but I ended up really messing up my actions - here are the issues. *Some actions that I try to pl

  • Photo Software and Apps

      Photo Software and Apps After you have uploaded your digital photos to your computer, you are almost ready to start editing. With many options for photo editing software, the possibilities are seemingly endless. There are many different tasks and o

  • Why does the payment screen for the creative cloud change from english to portuguese?

    Why does the payment screen for the creative cloud change from english to portuguese? I'm trying to sign up for the photography creative cloud with lightroom 5 and photoshop. When I click on the "buy" button is takes me to the payment page, but my co

  • Error in status tab

    Hi All, Today i have sean a new kind of error please help me to solve this. as a whole there is no error in a crm order, but in status tab there is a error like " error in distrubution" i don't understand this error, because of this error changes in