Save time in oracle table

Hi all
Please inform me how can I save the elapsed time of the query file or save it in the table.

because I designed using the netbeans interface (I know this forumn only for SQL SQL/PL) and I want to show the time elapsed for interface (Jframe) for research (quries) and many other things. So, I want to register table and read from the table.

Please advice me how can I get the oracle of the elapsed time and outside sqlplus

My respects

>
get the oracle of the elapsed time and outside sqlplus
>

dbms_utility.get_time

Set Serveroutput On
bkd@Oracle>Declare
  2      nTemp   Number(12);
  3      v_col  number(12);
  4  Begin
  5     nTemp := Dbms_Utility.Get_Time;
  6     --sql
  7     DBMS_LOCK.SLEEP(1);
  8     dbms_output.put_line('Elapsed time: ' || (dbms_utility.get_time-nTemp)/100 || ' seconds....' );
  9  End;
 10  /
Elapsed time: 1 seconds....

PL/SQL procedure successfully completed.

Concerning
Biju

Edited by: biju2012 sept 13., 2012 12:30 AM

Tags: Database

Similar Questions

  • LIBTUX_CAT:582: ERROR: unable to save, the full registry table

    When we tried to call one of our service 100 times at the same time we had an error like: -.

    181936.547.MLXWTAIXDEV! GWWS.3568042.1.0: LIBTUX_CAT:582: ERROR: unable to save, the full registry table
    182718.591.MLXWTAIXDEV! GWWS.10432990.1.0: LIBTUX_CAT:585: ERROR: registry disabled table slot index past, impossible to cancel registration


    Can someone help us on why this error is coming.

    The configuration of UBB for even is like: -.

    MAXACCESSERS 350
    MAXSERVERS 430
    MAXSERVICES 1200
    MAXGROUPS 100
    MAXNETGROUPS 20
    MAXMACHINES 256
    MAXWSCLIENTS = 100
    MAXACLCACHE = 10
    MAXPENDINGBYTES = 100000


    'TMMETADATA '.
    SRVGRP = "M_JOLT_GRP".
    CLOPT = '- A - / dev_app/dtux5/bin/reposfile f.
    RESTART = Y
    SRVID = 1
    GRACE = 3600
    MAXGEN = 5

    'GWWS '.
    SRVGRP = "M_JOLT_GRP".
    CLOPT = '- A - iGWWS1'
    RESTART = Y
    SRVID = 2

    Wsdf file

    < definition
    xmlns = "http://www.bea.com/Tuxedo/WSDF/2007."
    name = "EBATEST" wsdlNamespace = "urn: salt." EBATEST.wsdl">
    < WSBinding id = "CURTEST_Binding" >
    < SOAP >
    < AccessingPoints >
    < endpoint
    address = "http://10.16.114.145:7001 / ebaapp" id = "eba_HTTP_IN" >
    < / endpoint >
    < / AccessingPoints >
    < / SOAP >
    < Servicegroup id = "ebatestGrp" >
    < name of Service = "SCD_GET_TRD_UND" > < / Service >
    < / Servicegroup >
    < / WSBinding >
    < / definition >


    And salt file used for manufacturing saltconfig

    < deployment xmlns = "http://www.bea.com/Tuxedo/SALTDEPLOY/2007" >
    < WSDF >
    "< import location="/dev_app/dtux5/bin/example.wsdf "> < / Import >
    < / WSDF >
    < WSGateway >
    < GWInstance id = "GWWS1" >
    < inbound >
    < link ref = "EBATEST:CURTEST_Binding" >
    < use endpoint = "eba_HTTP_IN" > < / endpoint >
    < / binding >
    < / entrants >
    Properties of <>
    < property name = "enableSOAPValidation" value = "true" / >
    < / properties >
    < / GWInstance >
    < / WSGateway >
    System <>< / system >
    < / deployment >



    The generated trace file is like: -.


    184541.717.MLXWTAIXDEV! GWWS.2277636.1034.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184541.717.MLXWTAIXDEV! GWWS.2277636.1034.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184541.717.MLXWTAIXDEV! GWWS.2277636.1034.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184541.718.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184541.722.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281396]
    184541.723.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x 1 x4f1968af: SESSION: TIMEOUT VALUE IS [9999]:
    184541.727.MLXWTAIXDEV! svr_errlog.11956518.1.0: username: mamu2:
    184541.727.MLXWTAIXDEV! svr_errlog.11956518.1.0: Sbaw id: 281396:
    184541.727.MLXWTAIXDEV! svr_errlog.11956518.1.0: company id: B21001:
    184541.727.MLXWTAIXDEV! svr_errlog.11956518.1.0: business msg: invalid user: ID entered is not valid
    184541.727.MLXWTAIXDEV! svr_errlog.11956518.1.0: name of the Service: SVC_SESSION
    184541.727.MLXWTAIXDEV! svr_session.11043070.1.0: no data in the Session table for: mamu2:,: 281396:
    184541.728.MLXWTAIXDEV! GWWS.2277636.1.0: GWWS_CAT:21: WARNING: Tuxedo service returns TPFAIL.
    184541.729.MLXWTAIXDEV! GWWS.2277636.777.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184700.521.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184700.521.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184700.521.MLXWTAIXDEV! GWWS.2277636.1291.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184700.522.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184700.522.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184700.523.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 2: SESSION: TIMEOUT VALUE IS [9999]:
    184700.524.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 2: SESSION: SESSION [281397] IS VALID:
    184700.538.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184700.538.MLXWTAIXDEV! GWWS.2277636.1034.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.691.MLXWTAIXDEV! GWWS.2277636.1034.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.691.MLXWTAIXDEV! GWWS.2277636.1034.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.691.MLXWTAIXDEV! GWWS.2277636.1034.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.692.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.693.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 3: SESSION: TIMEOUT VALUE IS [9999]:
    184707.694.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 3: SESSION: SESSION [281397] IS VALID:
    184707.710.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.711.MLXWTAIXDEV! GWWS.2277636.1291.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.718.MLXWTAIXDEV! GWWS.2277636.1548.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.718.MLXWTAIXDEV! GWWS.2277636.1548.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.718.MLXWTAIXDEV! GWWS.2277636.1548.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.718.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.718.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.719.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 4: SESSION: TIMEOUT VALUE IS [9999]:
    184707.719.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 4: SESSION: SESSION [281397] IS VALID:
    184707.732.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.732.MLXWTAIXDEV! GWWS.2277636.1548.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.738.MLXWTAIXDEV! GWWS.2277636.1034.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.738.MLXWTAIXDEV! GWWS.2277636.1034.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.739.MLXWTAIXDEV! GWWS.2277636.1034.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.739.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.739.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.739.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 5: SESSION: TIMEOUT VALUE IS [9999]:
    184707.740.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 5: SESSION: SESSION [281397] IS VALID:
    184707.756.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.756.MLXWTAIXDEV! GWWS.2277636.1034.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.769.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.769.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.769.MLXWTAIXDEV! GWWS.2277636.777.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.769.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.770.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.770.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x 6 x4f1968af: SESSION: TIMEOUT VALUE IS [9999]:
    184707.771.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x 6 x4f1968af: SESSION: SESSION [281397] IS VALID:
    184707.798.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.799.MLXWTAIXDEV! GWWS.2277636.777.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.807.MLXWTAIXDEV! GWWS.2277636.1548.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.807.MLXWTAIXDEV! GWWS.2277636.1548.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.807.MLXWTAIXDEV! GWWS.2277636.1548.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.807.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.807.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.808.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x 7 x4f1968af: SESSION: TIMEOUT VALUE IS [9999]:
    184707.808.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x 7 x4f1968af: SESSION: SESSION [281397] IS VALID:
    184707.821.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.821.MLXWTAIXDEV! GWWS.2277636.1291.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.831.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.831.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.831.MLXWTAIXDEV! GWWS.2277636.1291.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.831.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.831.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.832.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 8: SESSION: TIMEOUT VALUE IS [9999]:
    184707.832.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 8: SESSION: SESSION [281397] IS VALID:
    184707.843.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.843.MLXWTAIXDEV! GWWS.2277636.1291.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.855.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.855.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.855.MLXWTAIXDEV! GWWS.2277636.1291.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.855.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.856.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.856.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 9: SESSION: TIMEOUT VALUE IS [9999]:
    184707.857.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af x 9: SESSION: SESSION [281397] IS VALID:
    184707.869.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.869.MLXWTAIXDEV! GWWS.2277636.1548.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.876.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.876.MLXWTAIXDEV! GWWS.2277636.1291.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.876.MLXWTAIXDEV! GWWS.2277636.1291.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.876.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.876.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.877.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xa: SESSION: TIMEOUT VALUE IS [9999]:
    184707.877.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xa: SESSION: SESSION [281397] IS VALID:
    184707.899.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.899.MLXWTAIXDEV! GWWS.2277636.1291.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.906.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.906.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.906.MLXWTAIXDEV! GWWS.2277636.777.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.907.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.907.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.907.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xb: SESSION: TIMEOUT VALUE IS [9999]:
    184707.908.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xb: SESSION: SESSION [281397] IS VALID:
    184707.918.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.919.MLXWTAIXDEV! GWWS.2277636.777.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.932.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.932.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.932.MLXWTAIXDEV! GWWS.2277636.777.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.932.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.932.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.933.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xc: SESSION: TIMEOUT VALUE IS [9999]:
    184707.933.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xc: SESSION: SESSION [281397] IS VALID:
    184707.945.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.945.MLXWTAIXDEV! GWWS.2277636.1034.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.957.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.957.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.957.MLXWTAIXDEV! GWWS.2277636.777.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.957.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.957.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]
    184707.958.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xd: SESSION: TIMEOUT VALUE IS [9999]:
    184707.958.MLXWTAIXDEV! svr_session.11043070.1.0: gtrid x 0 x4f1968af xd: SESSION: SESSION [281397] IS VALID:
    184707.973.MLXWTAIXDEV! GWWS.2277636.1.0: LIBTUX_CAT:585: ERROR: registry disabled table slot index past, impossible to cancel registration
    184707.973.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: received a message from Tuxedo, SCO index = 4095
    184707.973.MLXWTAIXDEV! GWWS.2277636.1548.0: TRACE: ms: Send a http message net, index of SCO = 4095
    184707.980.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A HTTP is received, SCO index = 4095
    184707.980.MLXWTAIXDEV! GWWS.2277636.777.0: Message TRACE: ms: A SOAP is received, SCO index = 4095
    184707.980.MLXWTAIXDEV! GWWS.2277636.777.0: Transformation of data TRACE: ms: Begin of the request message, type of buffer = FML32, SCO index = 4095
    184707.980.MLXWTAIXDEV! GWWS.2277636.1.0: TRACE: ms: a message to the Tuxedo, SCD_GET_TRD_UND, SCO index = 4095 = service name
    184707.980.MLXWTAIXDEV! svr_session.11043070.1.0: SESS: INPUT IS [mamu2]: [281397]


    Kind regards
    Anurag

    Hello

    Tuxedo documentation, LIBTUX_CAT:582 is described as follows with a recommended action.

    >
    582

    ERROR: Unable to save, the full registry table

    Description

    The BEA TUXEDO system was trying to find a location in the registry table for a process, but the registry table was full.

    Action

    Increase the MAXACCESSERS parameter in the UBBCONFIG file, rebuild the TUXCONFIG file, and then restart the application and try again.

    >

    So try increassing MAXACCESSERS and see if the problem goes away.

    Kind regards
    Todd little
    Chief Architect of Oracle Tuxedo

  • How to save the data in table 1 d to Excel in continuous

    Mr President.

    How to save the data in table 1 d to Excel at all times, so that all the data of the first scan must be placed first thought and all the data from the second analysis must be placed on the second Board and continue on the street...

    Sy@m...

    Hi Sy@m

    Here is a vi that might give you a few ideas to try:

  • Get the error loading file csv to oracle table

    Hello

    I'm tryitng to load the csv file into oracle db table.

    Source:

    CSV file have account_numbers, customer_names. all the fields, it took as channel.

    Target: Oracle db

    If I took all the fields as varchar, it loads very well. but I want to

    Oracle table fields: digital account numbers or decimal (20.2)

    customer_names as varchar2 format.

    When I'm trying to load csv to oracle table, I am getting following error.

    err7.png

    ODI-1228: fgh1 (integration) task fails on the target odi_user1 ORACLE connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number

    I tried so many times. I am still getting error.

    TO_NUMBER function I also used, getting same error

    Please help me,

    Thank you and best regards,

    A.Kavya.

    Hi, String, CSV file data type have values of amount a 54,356,4657.89 format. Like this. In odi, I took number (30.2) of data types for the target table. When I traced in odi, I get error like invalid number. to do this, I changed the values in csv file format. I removed commas. for example, 543564657.89. Yet once, I traced csv to oracle in odi. executd successfully. Thanks & regards, A.kavya.

  • Is it possible to record the interview in cloud Service Oracle table data before submitting

    Hello

    We use customer portal application and would like to save data in Oracle Service cloud tables between interview, before submitting.

    Y at - it an option to save the data?

    the cloud of 12.2 current supports, pre loading data and submitted data. Please help on this.

    Thank you

    Vivek

    Thanks for the inputs.

    We strive to implement save button and button Save & continue on each page, because we have many issues to be resolved.

    In our scenario, a folder must be created for all the session data.

    Thank you
    Vivek

  • Insert a jquery/ajax oracle table

    Hello.

    I'm new to apex and would like to know if can help me with my question.

    I called you a process demmand javascript jquery to insert data on oracle apex_collection (I do delete and insert in the collection of the apex and works very well), but I need to insert a table from oracle directly from jquery database (through a process demmand on or any other means).

    in fact, I have an html page with a pl/sql anonymus that displays a list of items where user to enter certain values; the use of javascript, I call on demmand - process of javascript that will make the insert on an oracle table, but nothing happens. No data get inserted in my table

    in fact, I'll call the demmand process on using this on javascript and works well, but only on apex_collection, and not on the oracle database table.

    var ajaxRequest = new htmldb_Get (null, &. APP_ID "APPLICATION_PROCESS is ADD_PRODUCTS", & APP_PAGE_ID.);

    ajaxRequest.add ('P1_PRODUCT_ID', html_GetElement('P1_PRODUCT_ID').value);

    ajaxRequest.add ('P1_QTY', html_GetElement('P1_QTY').value);

    ajaxResult = ajaxRequest.get ();

    It is important to mention that I don't SUBMIT or refresh the page at any time, because it will be too slow, I think it has something to do with the problem, but not sure.

    Thanks in advance.

    Anthony.

    No, if you set your action button as "defined by the dynamic action.

    I use a similar setup all the time to update only certain regions on the page.

    Rock of dynamic measurements.

  • Need help for query flat_file type clobdata oracle table data.

    Hi Sir,

    I need help to query oracle table flat file data having given clob type.
    Oracle Version:
    
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    
    
    Source table
    
      CREATE TABLE order_details 
       (     QUEUE_SEQNUM NUMBER(10,0) NOT NULL ENABLE, 
         LINE_SEQNUM NUMBER(10,0) NOT NULL ENABLE, 
         CHAR_DATA CLOB, 
         OPTIMISTIC_LOCK_KEY NUMBER(20,0)
       ) 
    COLUMN FOR CHAR_DATA FLAT_FILE
    EU,6067AT,AT10,000000402004,NexiumGERDManagementProject,Z435,,ZZ29,NIS-GOLD,AT
    EU,6067AT,AT10,000000402038,NIS-OEU-ARI-2007/1,Z450,,ZZ29,NIS-OEU-ARI-2007/1,AT
    EU,6067AT,AT10,000000402039,SymbicortNISinCOPD,Z450,,ZZ29,NIS-REU-DUM-2007/1,AT
    EU,6067AT,AT10,000000402040,D1443L00044SeroquelXRRuby,Z450,,ZZ29,D1443L00044,AT
    EU,6067AT,AT10,000000402041,NIS-GEU-DUM-2008/1,Z450,,ZZ29,NIS-GEU-DUM-2008/1,AT
    EU,6067AT,AT10,000000402042,SonstigeAktivitätenLCM,Z450,,ZZ29,.,AT
    EU,6067AT,AT10,000000402134,D1680L00002Saxagliptin,Z450,,ZZ29,D1680L00002,AT
    EU,6067AT,AT10,000000402199,SeroquelWaveNIS,Z450,,ZZ29,NIS-NEU-DUM-2009/1,AT
    EU,6067AT,AT10,000000402313,SeroquelExtra(D1443L00082),Z450,,ZZ29,D1443L00082,AT
    EU,6067AT,AT10,000000402517,AtlanticD5130L00006(AZD6140),Z450,,ZZ29,D5130L00006,AT
    EU,6067AT,AT10,000000554494,ArimidexSt.Gallen(13+2),Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554495,ArimidexASCO(5delegates),Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554496,ArimidexSanAntonio6delegates,Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554497,ArimidexBreastCancerSummit(13+2),Z130,,ZZ09,,AT
    EU,6067AT,AT10,000000554498,ArimidexEIH(15delegates),Z130,,ZZ09,,AT
    EU,6067AT,AT10,000000554499,ArimidexNIFA(200delegates),Z135,,ZZ09,,AT
    EU,6067AT,AT10,000000554500,ArimidexNIFAworkshops(8x25),Z135,,ZZ09,,AT
    EU,6067AT,AT10,000000554501,ArimidexPraktischeGyn.Fortbildung,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554502,ArimidexAGO,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554503,ArimidexHämato/OnkologieKongress,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554504,ARIMIDEXGYNäKOLOGENKONGRESS,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554505,ArimidexChirurgenkongress,Z147,,ZZ09,,AT
    EXPECTED RESULTS:
    AFFIRM_CODE COMPANY_CODE INTERNAL_ORDER_CODE INTERNAL_ORDER_DESC ENIGMA_ACTIVITY             SUB_ACTIVITY_CODE IN_AFF_IND ORDER_TYPE EXTERNAL_ORDER COUNTRY        
    EU          6067AT       AT10                 000000402004       NEXIUMGERDMANAGEMENTPROJECT     Z435           NULL        ZZ29       NIS-GOLD        AT             
    EU          6068AT       AT11                 000000402005       NEXIUMGERDMANAGEMENTPROJECT     Z435           NULL        ZZ29       NIS-GOLD        AT             

    Sorry, my bad. Without database at hand, I'll try 'baby steps' (borrowed from Frank) so you don't confuse it with errors that I might add (happens far too often already, but at least you won't "swallow" as forum members think is one of the main goals of this fighter - help her learn - providing not only the proverbial fish.)
    Search the Forum - your problem is one of its best sellers. Watching {message identifier: = 10694602} ("split string into" was the key word used in research) you can try something as

    select table_row,
           level clob_row,
           regexp_substr(char_data,'[^' || chr(13) || chr(10) || ']+',1,level) the_line
      from (select to_char(queue_seqnum)||':'||to_char(line_seqnum) table_row,
                   char_data
              from order_details
           )
     connect by regexp_substr(char_data,'[^' || chr(13) || chr(10) || ']+',1,level) is not null
            and prior char_data = char_data
            and prior table_row = table_row
            and prior sys_guid() is not null
    

    to get all the s the_lineall CLOB and after that the use of the example even to get your columns of each the_line.

    Concerning

    Etbin

    Edited by: Etbin on 3.2.2013 09:01

    .. .but I m connected to do things according to the instructions, I can't do something.

    Used to happen to me too and I did as told to the but only after explaining any disadvantages, I was aware of in time. The last sentence is usually: "O.K. now be just and Don't come back with that kind of thing when it turns out that this isn't the right thing."
    rp0428 post - something to remember.

  • Help to download the xml of the oracle table below

    Dear all,

    I tried best to download the below xml to oracle table but giving the link between the tables is very difficult for me. can someone help me to import the XML below for oracle table

    <? XML version = "1.0" encoding = "utf-8"? >
    < Claim.Submission xmlns:tns = "http://www.haad.ae/DataDictionary/CommonTypes" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation = "http://www.haad.ae/DataDictionary/CommonTypes/ClaimSubmission.xsd" >
    < header >
    MF65 < SenderID > < / SenderID >
    C014 < ReceiverID > < / ReceiverID >
    < TransactionDate > 03/12/2012 10:40 < / TransactionDate >
    < RecordCount > 1 < / RecordCount >
    < DispositionFlag > PRODUCTION < / DispositionFlag >
    < / header >
    < claim >
    < ID > 23112 / < ID >
    < MemberID > 100000874 < / MemberID >
    A022 < PayerID > < / PayerID >
    MF65 < ProviderID > < / ProviderID >
    < EmiratesIDNumber > 111-1111-1111111-1 < / EmiratesIDNumber >
    < raw > 115 < / gross >
    < PatientShare > 20 < / PatientShare >
    < net > 95 < / Net >
    < meeting >
    MF65 < FacilityID > < / FacilityID >
    < type > 1 < / Type >
    < > 47685 PatientID < / PatientID >
    < Start > 02/11/2012 12:00 < / Start >
    < / meeting >
    < Diagnostics >
    Principal of < type > < / Type >
    < code > < code > 461.9
    < / Diagnosis >
    < Diagnostics >
    Secondary < type > < / Type >
    < code > < code > 462
    < / Diagnosis >
    < activity >
    23112_1 < ID > < /ID >
    < Start > 02/11/2012 12:00 < / Start >
    < type > 3 < / Type >
    < code > < code > 99202
    < quantity > 1 < / quantity >
    < net > 95 < / Net >
    D1310 < clinician > < / clinician >
    < / activity >
    < / claim >
    < Claim.Submission >

    Pls tell me how I can get

    Have you considered using the storage relational object for this?
    Since you have patterns, you could record in the database, which will automatically create storage appropriate for your XML documents as well as validate at the time of insertion.
    You can then create individual views to query the nested parts of the document and finally insert the data into relational tables final.

    See the documentation for an introduction to the concepts:
    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/partpg2.htm#g997354

    You will find examples on the {forum: id = 34} forum and its FAQ: {: identifier of the thread = 410714}

  • by selecting only the time in oracle forms

    Hi all
    as a picker of oracle forms can I select the time in oracle forms in a text element.
    I want to display the time in this format 10:10:30, and I would also like to insert into the table
    I took the data type of this column as varchar2 (15) if I take date can I insert time or varchar2 is ok.
    my version of oracle forms is 10g.


    Please answer...

    Hi, extreme

    extreme wrote:
    Hi all
    as a picker of oracle forms can I select the time in oracle forms in a text element.
    I want to display the time in this format 10:10:30, and I would also like to insert into the table
    I took the data type of this column as varchar2 (15) if I take date can I insert time or varchar2 is ok.

    Better take column with the data type date. You can insert the date and time in the date field.
    You just change the forms.
    Change the data type Date to Datetime

    to view a single moment, use the format mask.

    Hope this helps

  • Need help to load the data from the Excel data to oracle tables

    I need to load an Excel worksheet to the Oracle table.

    The worksheet contains 20 columns, the first 8 columns contains basic information, but the rest 12 columns contains info like
    1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    So what I have to do is:

    break only one record (with 20 fields) in Excel to 3 files for each fiscal year in the Oracle table for each record in the database table will look like

    8 base field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    8 base field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    8 base field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    There are about 10000 rows in the data file, so how can I use sqlldr to perform this task? beside sqlldr, other good suggestions?

    THX

    External tables is just an API Oracle sqlloader. If you are about to load this data over and over again, the external tables would be a good idea, but if it's a one time thing, sqlldir is more simple, unless you want to just learn to use external Tables.

    I used to run a data warehouse, so I did it, the less similar to what you do in the past.

  • How can I make an image backup of my laptop which will save time on a fresh installation of system

    How can I make an image backup of my laptop which will save time on a fresh installation of system

    You will probably need to go to 3rd party programs.  Two products that are frequently mentioned in these groups are Norton Ghost and Acronis True Image.
    I have no personal experience with either.

    HTH,
    JW

  • Remove duplicates from the oracle table using 2 columns

    Hello

    I need to remove the duplicates of an oracle table based on 2 columns in the table.i tried to remove duplicates using the join, but get the error like sql error ora-00933

    Thank you

    Hello

    Here's one way:

    DELETE FROM table_x

    WHERE ROWID NOT IN)

    SELECT MIN (ROWID)

    FROM table_x

    Col_1, col_2

    );

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements), and the results you want from this data.

    In the case of a DML operation (for example, REMOVE) the sample data should show what look like the paintings before the DML, and results will be the content of the or the tables changed after the DML.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

  • Querying the oracle table that has a column with the name of "FILE".

    Hi all

    I need to have an oracle table that has the column with the name "FILE".

    I can query all columns with the query "select * from table".

    But I'm not able to use the query "select the table file.

    This table is converted from ms access to oracle and I need to have this column with the name "FILE".

    Any suggestions?

    Thank you

    Abdellaoui

    Hello

    FILE is a keyword from Oracle, so it's not a good name,

    Use FILEDATE, or DATE_FILED, or something else that is not in V$ RESERVED_WORDS. KEYWORD as the name column.

    If you need to use the FILE, then you must use quotation marks.

  • ODI - read CSV file and write to the Oracle table

    Hello world

    After 4 years, I started to work again with ODI, and I'm completely lost.

    I need help, I don't know what to use for each step, interfaces, variables, procedures...

    What I have to do is the following:

    (1) reading a CSV file-> I have the topologies and the model defined

    (2) assess whether there is a field of this CSV file in TABLE A-> who do not exist in the table is ignored (I tried with an interface joining the csv with the TABLE model a model and recording the result in a temporary data store)

    Evaluate 3) I need to update TABLE C and if not I need to INSERT if another field that CSV exists in TABLE B-> if there

    Could someone help me with what use?

    Thanks in advance

    Hi how are you?

    You must:

    Create an interface with the CSV template in the source and a RDBM table in the target (I'll assume you are using Oracle). Any type of filter or the transformation must be defined to be run in the stadium. (you must use a LKM for SQL file and add an IKM Sql control (it is best to trim them and insert the data when it cames to a file if you want after this process, you may have an incremental update to maintain history or something like that).)

    For validation, you will use a reference constraints in the model of the oracle table: (for this you need a CKM Oracle to check constraints)

    Then, you must select the table that you sponsor and in the column, you choose which column you will match.

    To article 3, you repeat the above process.

    And that's all. Pretty easy. If you do not have the two tables that you need to use your validation that you need to load before loading the CSV file you need valid.

    Hope this can help you

  • Can we create a Unique constraint on DFF attribute of a Standard Oracle Table

    Hi all

    Can we create a Unique constraint on DFF attribute of a Standard Oracle Table.

    There will be problems of integrity of the data in this case?

    Any help will be greatly appreciated.

    Best regards

    gt1942

    You should not. The same field of de FACTO forces might be used beyond business groups/associations causing cross-functional problems. This would be considered a direct customization and may affect Oracle features seeded depending on where you want to add it.

    Kind regards

    Arif.

Maybe you are looking for