help required oracle functions

Hai
 select  99.9899 from dual
after comma, I want only 2 digits

I want 99.99 SHOULD BE MY ANSWER

pls
I used ceil and floor
It does not work


so help

S

Hi there trunc function is appropriate because in round and ceil of function return
rounded value which is 99.99
That is to say

SELECT ROUND(99.9899,2) FROM dual;
99.99
SELECT ceil(99.9899) FROM dual;
100
SELECT floor(99.9899) FROM dual;
99

but the trunk
Returns n truncated at the decimal place m, where m and n are digital representations. If m is omitted, truncate to 0 places. If m is negative, truncates (zero fact) m digits left of the decimal separator.

select trunc(99.9899,2) from dual;
99.98

concerning
Hitesh

Published by: Hitesh Nirkhey on February 17, 2011 13:16

Tags: Database

Similar Questions

  • help required Oracle export command

    Hello gurus

    I need to export data from table MBE under certain conditions as below

    SELECT MBE.*
    OF MBE,.
    MSI
    WHERE MBE.ID = MSI.ID
    AND MSI.NAME = 'MOS '.

    How can I achieve this?

    exp username/password@schemaname.
    tables = MBE query =------"WHERE EXISTS\ (SELECT NULL FROM MSI WHERE MSI.ID = \ MBE.ID AND MSI.NAME = 'MOS' \) \) \' file = MV.dmp log = exp.log

    will it work?

    Please answer

    s

    I have a table simple import/export api writern using DBMS_DATAPUMP. I hope this helps.

    create or replace procedure export_table
    (
         pOwner          in     varchar2,
         pTableName     in     varchar2,
         pDirectory     in     varchar2,
         pFilterStr     in     varchar2
    )
    is
         lDPJobName     varchar2(100);
         lFileName     varchar2(100);
         lJobState     varchar2(50)     := 'EXECUTING';
         lHandle          number;
         lStatus          ku$_Status1010;
    begin
         lDPJobName := 'TABLE_EXPORT_' || to_char(sysdate, 'YYYYMMDDHH24MISS');
         lFileName  := upper(pTableName) || '_' || to_char(sysdate, 'YYYYMMDDHH24MISS');
    
         lHandle := dbms_datapump.open('EXPORT', 'TABLE', job_name => lDPJobName);
    
         dbms_datapump.add_file          (handle => lHandle, filename => lFileName, directory => pDirectory, filetype => dbms_datapump.ku$_file_type_dump_file);
         dbms_datapump.add_file          (handle => lHandle, filename => lFileName, directory => pDirectory, filetype => dbms_datapump.ku$_file_type_log_file);
    
         dbms_datapump.set_parameter     (handle => lHandle, name => 'KEEP_MASTER',     value => 0);
         dbms_datapump.set_parameter     (handle => lHandle, name => 'INCLUDE_METADATA', value => 1);
         dbms_datapump.metadata_filter     (handle => lHandle, name => 'SCHEMA_EXPR',     value => '= ''' || upper(trim(pOwner)) || '''');
         dbms_datapump.metadata_filter     (handle => lHandle, name => 'NAME_EXPR',     value => '= ''' || upper(trim(pTableName)) || '''');
         dbms_datapump.data_filter     (handle => lHandle, name => 'SUBQUERY',          value => pFilterStr, table_name => pTableName, schema_name => pOwner);
    
         dbms_datapump.start_job          (handle => lHandle);
         dbms_datapump.wait_for_job     (handle => lHandle, job_state => lJobState);
    
         if trim(upper(lJobState)) = 'STOPPED' then
              raise_application_error(-20001, 'Job returned status as STOPPED');
         else
              dbms_datapump.detach(handle => lHandle);
         end if;
    
         lHandle := null;
    end;
    /
    show err
    create or replace procedure import_table
    (
           pDirName      in  varchar2
         , pDmpFileName  in     varchar2
    )
    is
         lHandle          integer;
         lDPJobName     VARCHAR2(100);
         lJobState     varchar2(50)     := 'EXECUTING';
    begin
         lDPJobName := 'TABLE_EXPORT_' || to_char(sysdate, 'YYYYMMDDHH24MISS');
    
         lHandle := dbms_datapump.open(operation => 'IMPORT', job_mode => 'TABLE', remote_link => '', job_name => lDPJobName);
    
         dbms_datapump.add_file          (handle => lHandle, filename => pDmpFileName, directory => pDirName, filetype => dbms_datapump.ku$_file_type_dump_file);
         dbms_datapump.add_file          (handle => lHandle, filename => pDmpFileName || '_IMP', directory => pDirName, filetype => dbms_datapump.ku$_file_type_log_file);
         dbms_datapump.set_parameter     (handle => lHandle, name => 'TABLE_EXISTS_ACTION', value => 'APPEND');
         dbms_datapump.start_job          (handle => lHandle);
    
         if trim(upper(lJobState)) = 'STOPPED' then
              raise_application_error(-20001, 'Job returned status as STOPPED');
         else
              dbms_datapump.detach(handle => lHandle);
         end if;
    
         lHandle := null;
    end;
    /
    show err
    

    His executed like this. For example, I use a TEMP table.

    SQL> create table temp as select * from all_objects
      2  /
    
    Table created.
    
    SQL> begin
      2    export_table
      3    (
      4      'KARTHICK',
      5      'TEMP',
      6      'DP_KAR_DIR',
      7      'WHERE OBJECT_NAME IN (SELECT OBJECT_NAME FROM ALL_OBJECTS WHERE OWNER = ''KARTHICK'')'
      8    );
      9  end;
     10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> drop table temp purge;
    
    Table dropped.
    
    SQL> begin
      2    import_table
      3    (
      4        'DP_KAR_DIR'
      5      , 'TEMP_20140502034806.dmp'
      6    );
      7  end;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select count(*) from temp;
    
      COUNT(*)
    ----------
        200302
    

    Here are the details of the journal

    Export log...
    
    arttvt04% cat TEMP_20140502034806.log
    Starting "KARTHICK"."TABLE_EXPORT_20140502034806":
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 23 MB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    . . exported "KARTHICK"."TEMP"                             18.41 MB  200302 rows
    Master table "KARTHICK"."TABLE_EXPORT_20140502034806" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for KARTHICK.TABLE_EXPORT_20140502034806 is:
      /home/arbor/karthick/TEMP_20140502034806.dmp
    Job "KARTHICK"."TABLE_EXPORT_20140502034806" successfully completed at 03:48:16
    
    Import log...
    
    arttvt04% cat TEMP_20140502034806.dmp_IMP
    Master table "KARTHICK"."TABLE_EXPORT_20140502034956" successfully loaded/unloaded
    Starting "KARTHICK"."TABLE_EXPORT_20140502034956":
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "KARTHICK"."TEMP"                             18.41 MB  200302 rows
    Job "KARTHICK"."TABLE_EXPORT_20140502034956" successfully completed at 03:50:00
    arttvt04%
    
  • help required InStr function

    Hai

    If you search the particular string, we can use "INSTR" to find the position in the chain of
    instr('TOM an oracle programmer','oracle')>0
    If I want to search for two words as 'oracle' AND 'TOM' then how can do?

    or
    ((instr('TOM an oracle programmer','oracle')>0)  OR instr('TOM an oracle programmer','TOM')>0)
    It's the only way... ?

    Please give me your suggestion

    S

    Can be

    SQL> WITH Sample_Data AS (SELECT 'TOM an oracle programmer' str FROM DUAL UNION ALL
      2      SELECT 'Saubhik is an oracle programmer' str FROM DUAL UNION ALL
      3      SELECT 'TOM dont know oracle!' str FROM DUAL
      4      )
      5      SELECT * from Sample_Data
      6      WHERE REGEXP_LIKE(str,'[TOM][oracle]*');
    
    STR
    -------------------------------
    TOM an oracle programmer
    TOM dont know oracle!
    
  • Failed to open oracle functions after R12 installation on windows 2008 64 bit

    Hi guys
    I installed oracle R12.1.1 on windows server 2008 R2 64-bit, then the application opens but all forms of oracle functions cannot open, the message appear frm-92101, I try the solutions in the net, but no effect and I get another windows which and this message appears when trying to open an another oracle functions
    ""
    program currently running on this computer is attempting to display a message, then
    title of the message:
    E:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin\java '-serv ".


    This problem come when a program is not completely compatible with windows
    ""
    This message when you start windows too, but the path of java inside files of oracle applications, please help me if oracle r12.1.1 compatible with win 2008 64 bit or not?

    I installed oracle R12.1.1 on windows server 2008 R2 64-bit, then the application opens but all forms of oracle functions cannot open, the message appear frm-92101, I try the solutions in the net, but no effect and I get another windows which and this message appears when trying to open an another oracle functions

    Direct installation of R12 on Windows 2008 64 bit is not supported. You install it on a Windows 32-bit operating system, and then migrate to Windows 64 - bit.

    Oracle E-Business Suite installation and upgrade version Notes 12 (12.1.1) for Microsoft Windows Server (32-bit) [ID 761567.1]
    Migration Oracle E-Business Suite R12 to Microsoft Windows Server 2008 R2 [ID 1188535.1]

    Thank you
    Hussein

  • Helps the REST FUNCTION

    Hi all

    I am preparing the review of the basic course 1 SQL.
    I'm confused about function REST.
    I use Sybex (11g) for my studies.

    Now the REST is set as follows:
    REST (x, y): the function returns the rest if it divides X.

    Now the following queries have been used.

    Select the stay (13.5), stay (12.5), Remainder (12.5,5) twice;
    This gave-2, 2 and 2.5 respectively.
    My confusion is how remains (12.5) will return - 2 instead of 3.
    I ran the query using sql and still have-2, please someone must help very urgent
    as I don't understand why it must be so.


    Thank you



    Harrison

    Hello

    If you look in the documentation Oracle the function else is

    rest (m, n)

    The rest is calculated as:

    m (n * X) where X is the closest whole number of m / n

    http://www.techonthenet.com/Oracle/functions/remainder.php
    Thank you

  • WebLogic Portal (10.3.0) requires the function "com.m7.nitrox (1.0.20)" (?)

    (I'm re-posting as WebLogic Portal (10.3.0) requires the function "com.m7.nitrox (1.0.20)" (?))

    Greetings. I just installed WebLogic Portal 10.3 and I am trying to install a couple of workshop/Eclipse plug-ins, but when I select any item to install I get this error:

    WebLogic Portal (10.3.0) requires the "com.m7.nitrox (1.0.20)" function, or compatible.

    Everything else seems to work very well, so I don't know why my installation gives me this problem. I did a little digging already and that you have not found what can cause this problem, and I hope that someone here may be able to point me in the right direction.

    Thank you!

    It is a known issue with WLP 10.3; He was approached for the next version of WLP. You may contact support to try to get a patch created (reference CR379999).

    I see 2 possible solutions:

    1. manually download the new plugin and either a) create an expansion slot on the filesystem of it and add that via Help | Software updates | Manage the Configuration, or b) extract to one of the folders workshop (tools/eclipse_pkgs/2.0/eclipse_3.3.2, tools/eclipse_pkgs/2.0/pkgs/eclipse, workshop_10.3/workshop4WP/eclipse, wlportal_10.3/eclipse) eclipse and restart the workshop.

    2. change wlportal_10.3/eclipse/features/com.bea.wlp_10.3.0/feature.xml, comment out the lines in the block , workshop to restart, and then try again.

    Greg

  • delete version information for help on oracle applications or disable oracle applications in the R12.1.1 Help menu

    Hello

    For security reasons, I need to delete version information for help on oracle applications or disable oracle applications in the R12.1.1 Help menu

    Thank you

    Hatem

    Hello

    I don't think you can limit the form 'a way'.

    You get less detail so profile ' FND: Diagnostics ' is set on no.

    Kind regards

    Bashar

  • Help finishing a function which checks a table

    Hi guys,.

    I need help finishing a function that checks the 6 items (indiciesOfInterestShape) in a table dynamically updated (productCode) for two types of values. the number 0 or any number between 1 and 8.

    I need the result of this function to update the variable finalNumber to a number between 0 and 6.

    If a 0 is found in all 6 clues that it will result in the final number type argument no increase.

    If a number between 1-8 is located in one of the 6 index then the final number increases by 1. And because there are only 6 clues to check the maximum number only will never be 6.

    That's what I have so far

    // indicies that are dynamically updated           4        7      10     13     16     19
    public static var productCode:Array = [C,A,1,A,1,A,A,1,A,A,0,0,A,0,0,A,0,0,A,0,0,A]
    
    public static var indiciesOfInterestShape:Array = [4, 7, 10, 13, 16, 19];
    public static var finalNumber:int = new int;
    
    public static function countShapes(productCode:Array, indiciesOfInterestShape:Array){
        for (var i:int = 0; i < indiciesOfInterestShape.length; i++){
            var indexTolookAt:int = indiciesOfInterestShape[i];
            var item:String = productCode[indexTolookAt];
            if (item == 0){
                "add zero to finalNumber"     //help needed here changing the finalNumber
                }
            else{
                "add 1 to final number"        //help needed here changing the finalNumber
                }
            }
    }
    

    Something to keep in mind, if a certain product code adds 1 to the final number index (as 1-8), but is then changed dynamically to 0, I need the number back down by 1.

    Hope this has meaning and that someone could point me in the right direction at best.

    Thanks in advance!

    // indicies that are dynamically updated           4        7      10     13     16     19
    public static var productCode:Array = [C,A,1,A,1,A,A,1,A,A,0,0,A,0,0,A,0,0,A,0,0,A]
    public static var indiciesOfInterestShape:Array = [4, 7, 10, 13, 16, 19];

    public static var finalNumber:int = 0;

    finalNumber =countShapes(productCode, indiciesOfInterestShape);

    public static function countShapes(productCode:Array, indiciesOfInterestShape:Array):int {

        var finalNumber:int = 0;
        for (var i:int = 0; i < indiciesOfInterestShape.length; i++){
            var indexTolookAt:int = indiciesOfInterestShape[i];
            var item:int= productCode[indexTolookAt];

            if (item != 0){
                finalNumber++;
            }
        }

         return finalNumber;
    }


  • The HTML that is returned by an Oracle function...

    What is the best way to view the HTML code that is returned by an Oracle function (Apex 3.2.1.00.10)?

    I tried in many ways...

    I don't want to have a visible, but even when I do that, the first returned row Editor:

    < b > text < /b >

    It shows in "BOLD", but for some reason, it escapes from the second < \b > and the fact like that "& lt;" \b & gt; "so it's show < \b > and everything is"BOLD"...

    tward wrote:
    What is the best way to view the HTML code that is returned by an Oracle function (Apex 3.2.1.00.10)?

    I tried in many ways...

    I don't want to have a visible, but even when I do that, the first returned row Editor:

    a text

    It shows in "BOLD", but for some reason, it escapes from the second <\b>and done like this '< \b >"so he showed <\b>and everything is"BOLD"...

    you have the backslash "close tag"... it should be
    < b > text < /b >

    Note the slash!

  • Conversion in Oracle function.

    Hello

    So here's the scenario I have. I was wondering if there is any oracle function provides or is it possible that I could achieve this goal.
    CREATE OR REPLACE procedure TestA 
    (
          partnumber               IN  number,
          partsubnum               IN  varchar2,
          errstring             OUT varchar2
    ) as
    
    --  Declare local variables
    
    ll_inputpartnum varchar2(100);
    
    
    Begin
    
        ll_inputpartnum := partnumber || partsubnum; -- Concatinate partnumber and partsubnum
      -- Will need to convert this variable to number.
    
        TestB.Process(ll_inputpartnum,parameter2, s_errstring, errnum); --ll_inputpartnum must be of type number 
         if  errnum <> compkg.success then
           errstring := s_errstring;
           return;
         end if;
      
      
    Exception 
        When others then 
        Null;    
    End;
    /
    I don't have the ability to change anything about how to TestB.Process.

    There are therefore two problem I am trying to solve in this scenario.

    First, the input parameter - ll_inputpartnum in TestB.Process takes input of only of number type. So I need to convert somehow the concatenated in full ll_inputpartnum.

    Second problem, procedure TestB.Process - after completing his treatment, goes from ll_inputpartnum to the third procedure. Let's say TestC procedure. TestC procedure, so I need to break in again value concatenated in original partnumber and partsubnum.

    The value concatenated - ll_inputpartnum does not change through this process.

    So, I'm trying to understand the best way to approach this situation.

    Thank you

    Published by: Ramses on May 25, 2010 13:18

    with a function like (using also the package of William)

    function combine_parts(p_partnum in integer,p_partsubnum in varchar2) return integer is
      l_length pls_integer := 5;  /* adjust to the maximum possible length of partsubnum */
      hex_val  varchar2(5) := '';
    begin
      if length(p_partsubnum) > l_length then
        return 0;
      end if;
      for i in 1 .. l_length loop
        hex_val := hex_val || to_base(ascii(substr(lpad(p_partsubnum,l_length,chr(0)),i,1)),16)
      end loop;
      return p_partnum * power(256,l_length) + to_decimal(hex_val,16);
    end;
    

    You can simply

    ll_inputpartnum := combine_parts(partnum,partsubnum);
    

    and finally, the parameter ll_inputpartnum can be connected to the appropriate process
    you will need another function to find partnum and partsubnum in another process, because it will be just ll_inputpartnum

    function concatenated_parts(p_number in integer,p_separator in varchar2 default '|') return varchar2 is
      l_length pls_integer := 5;  /* adjust to the maximum possible length of partsubnum */
      hex_val  varchar2(5);
      chr_val  varchar2(5) := '';
      l_partnum integer;
    begin
      l_partnum := trunc(p_number / power(256,l_length));
      hex_val := to_base(p_number - l_partnum * power(256,l_length),16);
      if length(hex_val) > l_length then
        return '';
      end if;
      for i in 1 .. l_length loop
        chr_val := chr_val || chr(to_decimal(substr(hex_val,i,1),16));
      end loop;
      return to_char(l_partnum) || p_separator || chr_val;
    end;
    

    Concerning

    Etbin

    p.s. features are not tested (no database home)

  • Help required to query the fields of the shuttle to Table?

    Hi Experts,

    My needs:

    1. According to the Ship Date query field, the item number should display in the console on the left.
    2. Select some amendments point shuttle from left to right shuttle and press the button.
    3. the article selected our and these details must display in the table.

    Design:

    1 created as query field (entry of Message text) shipping Date.
    2 Shuttle, Shuttle flight beginning and footer (second query button).
    3. the table that contains the article, Description, quantity, and manufacturing details no.

    Question:

    I created a shuttle, the creeping shuttle and the flight of footer, here I mentioned the VO attribute and discovers for the first query that takes place in shipping date and displays the item No.

    By default (without question) the extension numbers is the display in the shuttle leading.

    How to use the fields in the query of the shuttle. Its not that allows you to query the selected fields.

    Help required:

    I need to ship date, then the element of the request should appear in the console of leak, then I need to move some element not in the shuttle leading and click on the second button of the query.

    All required according to the shipping date and the amendments point values (Selected in the shuttle leading) must display in the table.

    Thank you
    Corinne Bertrand

    Pass this date and form a condition, and re-run the LEADVO

    Anne Marie

  • Help required with MuseJSassert error: TypeError: $ is not a function.

    Hello

    I'm not good at code so hopeful that someone can help me solve the error above, which I get during the incorporation of a form of mailchimp in a publication:

    Thank you very much

    Chris

    Here is the embed code Mailchimp:

    <! - Begin MailChimp registration form - >

    "< link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css "rel ="stylesheet"type =" text/css">

    < style type = "text/css" >

    #mc_embed_signup {background: #fff; clear: left; font: 14px Helvetica, Arial, without serif ;}}

    / * Add your own form of MailChimp / style in your style of site or block style sheet.

    We recommend that you move this block and the previous link to CSS in the HEAD of your HTML file. */

    < / style >

    < div id = "mc_embed_signup" >

    < form action="//chrisbrookes.us12.list-manage.com/subscribe/post?u=5bf6272fd78e909d347eca348 & am p; ID = bfa2c40bb4"method ="post"id = 'mc-embedded-subscribe-form' name ="mc-embarque-abonner-form"class ="validate"target ="_blank"novalidate >

    < div id = "mc_embed_signup_scroll" >

    < h2 > subscribe to our mailing list < / h2 >

    < div class = "indicates required" > < span class = "asterisk" > * </span > indicates required < / div >

    < div class = "mc-field-group" >

    < label for 'mce-FNAME' = > name < / label >

    "< input type ="text"value =" "name ="PNOM"class =" "id ="mce-FNAME">

    < / div >

    < div class = "mc-field-group" >

    < label for "mce-EMAIL" = > E-mail address < span class = "asterisk" > * </span >

    < / label >

    < input type = "email" value = "" name = "EMAIL" class = "required mail" id = "mce-EMAIL" > "

    < / div >

    < div id = "mce-answers" class = 'clear' >

    < div class = 'response' id = "mce-error-response" style = "display: no" > < / div >

    < div class = 'response' id = "mce-success-answer" style = "display: no" > < / div >

    < / div > <!-real people shouldn't this learn and expect good things - do not delete this nor of danger form bot registration->

    < div style = "position: absolute;" left:-5000px; "aria-hidden ="true"> < input type ="text"name ="b_5bf6272fd78e909d347eca348_bfa2c40bb4"tabindex = value"-1 "=" "> < / div >". "

    < div class = "clear" > < input type = "submit" value = "subscribe" name = 'subscribe' id = "mc-embedded-subscribe" class = "button" > < / div >

    < / div >

    < / make >

    < / div >

    < script type = "text/javascript" src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js' > < / script > < script type = "text/javascript" > (function ($) {window.fnames = new Array(); window.ftypes = new Array (); the name [1] = 'FNAME'; ftypes [1] = 'text'; name [0] = 'E-MAIL address'; ftypes [0] = 'e-mail address' ;}}) (jQuery)) ; var $mcj = jQuery.noConflict (true); < /script >

    <! - end mc_embed_signup - >

    Thanks for your reply. I already inserted the html code in a composition Viewer. The error will appear when you check your page in a browser. I'm assuming that there must be a javascript conflict such that the code works correctly if it is just placed on a page.

  • Oracle E-Business Suite 11.5.10 at 11.5.10.2 upgrade - DBA HELP REQUIRED

    I hope someone can help me... I spent the days so far but the same questions!

    I'm setting up a VISION E-Business Suite 11i instance to use for training of users.

    I managed to install and get running 11.5.10 on SUSE 9 and have no problem running this.

    However, I am trying to update this to 11.5.10.2 by applying the Cumulative Update (CU2) fix (u3460000.drv).

    I have followed all the previous steps in Metalink (316366.1) note and applied the fixes 4318672, 4229931 and 4297568 according to the instructions.

    All the results of Autoconfig in this context returned a status [PAST] and I was then able to proceed.

    I then used AutoPatch apply u3460000.drv, but at a certain point, the script displays:

    Failed: File LoadMap.class worker 1 product ecx ECX username.
    Failed: File worker LoadMap.class 2 product as username ECX ecx

    ATTENTION: All workers have failed or are pending:

    Failed: File LoadMap.class worker 1.
    Failed: File LoadMap.class worker 2.

    I checked the logs, the adwork001.log, the adwork002.lo worker and can see that they are evidence of an error:

    Message: No ECX_VERSION is stored in the database.
    SQLState: null
    Error code: 0

    I copied the last lines of the log file adwork and also adpatch file of newspaper at the bottom of this thread.

    I tried to use adctrl to restart failed workers and also the hidden option 8 to ignore this process and these two steps failed.

    I don't see anything about this error on Metalink or Oracle Forums.

    The ADWORK001 log output

    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA

    Java AD

    Version 11.5.0

    NOTE: You can use this utility to custom development
    unless you have written permission of Oracle Corporation.
    Time what worker has accomplished the task: Monday, April 16, 2012 12:01:25

    Assessment of the symbolic arguments

    Is the evaluation of the symbolic arguments.
    Time when the worker started employment: Monday, April 16, 2012 12:01:25
    Start of file time is: Monday, April 16, 2012 12:01:25

    adjava-ms128m-mx256m - nojit oracle.apps.ecx.loader.LoadMap & un_apps & pw_apps & jdbc_db_addr & fullpath_igf_patch/115/xml/US_IGF_GR_PELL_OUT.xgm

    Product file information...

    Reading the information from the file language and territory

    Reading of the language of applUS.txt information
    Temporarily reset CLASSPATH for:
    /d01/oracle/visappl/ad/11.5.0/java/adjri.zip:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/d01/oracle/viscomn/java/appsborg2.zip:/d01/oracle/visora/8.0.6/forms60/java:/d01/oracle/viscomn/java

    Call for d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java...
    Process generated 8976
    String (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=EBIZ11I.johndomain) (PORT = 1521)) (CONNECT_DATA =(SERVICE_NAME=VIS))) of database connection
    Name of user APPS
    Connection...
    connected.
    Stmt SQL: select text of WF_RESOURCES, whose name =? and type =? and the language = userenv ('LANG')
    No ECX_VERSION stored in the database.
    Could not get ECX_VERSION to database

    SQLException taken

    Message: No ECX_VERSION is stored in the database.
    SQLState: null
    Error code: 0

    Cound card will not be charged, SQLException occurred.
    Exception in thread "main" java.sql.SQLException: No. ECX_VERSION stored in the database.
    at oracle.apps.ecx.loader.CoreDbServices.getEcxVersionFromDb(CoreDbServices.java:491)
    at oracle.apps.ecx.loader.Events.initEvents(Events.java:76)
    at oracle.apps.ecx.loader.LoadMap.main (LoadMap.java:85)

    Java AD Run command is completed.

    Output ADPATCH

    There are now 3645 jobs remaining (current phase = A80):
    1 running 87 ready to run and wait 3557.

    Assigned: file worker LoadMap.class as username ECX ecx 2 product.

    Time is: Monday, April 16, 2012 12:57:44

    Failed: File worker LoadMap.class as username ECX ecx 2 product.

    Time is: Monday, April 16, 2012 12:57:46

    Failed: File LoadMap.class worker 1 product ecx ECX username.

    Time is: Monday, April 16, 2012 12:57:46
    ATTENTION: All workers have failed or are pending:

    Failed: File LoadMap.class worker 1.
    Failed: File LoadMap.class worker 2.

    ATTENTION: Fix the worker failed above the Manager to continue.

    The time now is: Monday, April 16, 2012 12:57:46

    It would be amazing if someone could help me with this problem!

    Thanks in advance...

    Please see these documents.

    Failed: File LoadMap.class with "No. ECX_VERSION stored in the database" [314170.1 ID]
    Adpatch fails when loading a map: no ECX_VERSION stored in the database [412445.1 ID]
    ADPATCH fails: task error LoadMap.class: "No ECX_VERSION stored in the database" [293861.1 ID]
    Loading Itgtrade.Ldt fail [317031.1 ID]

    Thank you
    Hussein

  • Help: Left equivalent function in Oracle?

    Can hey someone throw somelight on the function which is equal to the LEFT in Oracle.

    Left$ (patientmemberid, Len (patientmemberid) - 2)


    Thank you

    Too late Frank ;)

    Max

  • UNIX_TIMESTAMP and FROM_UNIXTIME from MySQL to ORACLE functions

    Hi all

    I'm migrating some functions and stored procedures in MySQL to ORACLE, and I the next instruction

    Set valuedat = FROM_UNIXTIME (valor + UNIX_TIMESTAMP ('2000-1-01 00:00:00 '));

    Since MySQL.

    Look, I found that:

    UNIX_TIMESTAMP ('2000-1-01 00:00:00 ')

    can be equivalent to the following query:

    SELECT (to_date (January 1, 2000 "," MON-DD-YYYY')-to_date('01-jan-1970','DD-MON-YYYY')) * (86400) as dt FROM dual;

    but testing the numbers is not the same

    Please can someone help me!

    Specifically, I need to know how to build the equivalent in oracle for FROM_UNIXTIME and UNIX_TIMESTAMP functions

    Thank you and best regards!

    CRGM

    Hello

    These are functions that I built to solve the original requirement, thanks for all your comments.

    ************************************************************************************************************************************

    CREATE OR REPLACE FUNCTION FROM_UNIXTIME

    (

    TIMESTAMP_ NUMBER

    ) AS OF DATE OF RETURN

    NUMBER OF SECONDS_PER_DAY: = 86400;

    MASK (50 CHAR) VARCHAR2: = 'DD-Mon-YYYY HH24:MI:SS ";

    DATE OF REF_DATE;

    BEGIN

    REF_DATE: = TO_DATE ('01 - ENE - 1970 00:00:00 ', MASK);

    RETURN REF_DATE + (TIMESTAMP_/SECONDS_PER_DAY);

    END FROM_UNIXTIME;

    **********************************************************************************************************************************

    CREATE OR REPLACE FUNCTION UNIX_TIMESTAMP

    (

    DATE_ IN DATE

    ) RETURN AS NUMBER

    NUMBER OF SECONDS_PER_DAY: = 86400;

    NUMBER OF DIFF_BETWEEN_DATES;

    MASK (50 CHAR) VARCHAR2: = 'DD-Mon-YYYY HH24:MI:SS ";

    DATE OF REF_DATE;

    BEGIN

    REF_DATE: = TO_DATE ('01 - ENE - 1970 00:00:00 ', MASK);

    DIFF_BETWEEN_DATES: = TO_DATE (TO_CHAR (SYS_EXTRACT_UTC (DATE_), MASK), MASK)

    -REF_DATE;

    RETURN DIFF_BETWEEN_DATES * SECONDS_PER_DAY;

    END UNIX_TIMESTAMP;

    ******************************************************************************************************************************

    Concerning

Maybe you are looking for

  • Sound does not work for some Web sites

    Hello I can't listen to music on the following Web sites: http://www.cede.ch/en/music/?branch_sub=1 & View = detail & ID = 896510 & Branch = 1 http://estastonne.bandcamp.com/album/live-in-Odeon-2011 I use the first a lot, which is really annoying. I'

  • can recv but not send email using windows mail

    My email is through qwest (q.com) and I use windows mail I can receive emails but cannot send them I get the following message: "an unknown error has occurred. Are subject:? ' Ironman', account: 'pop3.live.com', server: 'smtp.live.com', Protocol: SMT

  • Problem with StackLayout

    Hello I'm trying to create a layout that has a list drop-down at the top of the page, followed by a DockLayout with various controls. I put it in place as a StackLayout that contains the two controls - initially, I just had the drop-down list anchore

  • computer notebook f9g27ea mouse pad multitouch works not

    Hi I use notebook f9g27ea for about 2 weeks now, everything was perfect but multi-touch my mouse touchpad suddenly stopped working.i cant scroll with two fingers either, I can zoom in by pinching on the mouse pad._________________________________I ta

  • How can I reinstall Adobe Creative Suite, I bought 5 years ago

    I have an older version of Adobe Creative Suite, I am trying to reinstall on a new computer, but it does not accept my serial number