Oracle of data insertion error

Hi all

I pulled the following create statement in Oracle database

CREATE TABLE S_ETL_DAY)
Stamp DAY_DT,
CAL_MONTH int,
Int jour_du_mois,
DAY_NAME char (12),
Int DAY_OF_YEAR,
Int DAY_OF_WEEK,
CAL_WEEK int,
MONTH_NAME char (15),
CAL_YEAR int,
PER_NAME_MONTH varchar (50),
PER_NAME_QTR varchar (20),
FSCL_YEAR int,
FSCL_QTR char (5),
Stamp DAY_AGO_DT,
Stamp WEEK_AGO_DT,
Stamp MONTH_AGO_DT,
Stamp QUARTER_AGO_DT,
Stamp YEAR_AGO_DT,
ROW_WID int
)
;

and then if I get the statement

INSERT INTO S_ETL_DAY VALUES (timestamp('1980-01-01-00.00.00'), 1, 1, "Tuesday", 1, 3, 1, 'January', 1980, '198001', '1980 Q 1', 1980, "Q3", NULL, NULL, NULL, NULL, NULL, 19800101);

its shows error

Error at startup on line 28 of the command:
INSERT INTO S_ETL_DAY VALUES (timestamp('1980-01-01-00.00.00'), 1, 1, "Tuesday", 1, 3, 1, 'January', 1980, '198001', '1980 Q 1', 1980, "Q3", NULL, NULL, NULL, NULL, NULL, 19800101)
Error in the command line column: 28:29
Error report:
SQL error: ORA-22803: object type contains the attributes of zero
22803 00000 - "object type contains zero attributes.
* Cause: An attempt was made to create or specify a column or a constructor
of a type of object which has no attributes. Only object types
who have at least one attribute are allowed in this context.
* Action: specify a valid object type


I googled a lot about this error, but in vain.
can someone help me why this is the case?

Thank you
Bivin

TO_TIMESTAMP (February 27, 2002 15:51.12.539880 ',' dd/mm/yyyy hh24:mi.ss.ff')

INSERT INTO S_ETL_DAY VALUES(to_timestamp('27/02/2002 15:51.12.539880', 'dd/mm/yyyy hh24:mi.ss.ff'), 1, 1, 'Tuesday', 1, 3, 1, 'January', 1980, '198001', '1980Q1', 1980, 'Q3', NULL, NULL, NULL, NULL, NULL, 19800101 );

Tags: Database

Similar Questions

  • Err.Description = "Data" access error.

    This question relates to the FDM 9.3.1 ImportAction script, the StartProcess event.

    After successfully to make a table and in BULK by INSERTING a file without a few erroneous records using "DW. DataManipulation.fExecuteDML strSQL, True, True"or"DW. DataManipulation.fExecuteDML strSQL, false, true", I get
    Err.Number = 2147217900 and Err.Description = "Data access error. »

    However, after the definition explicit a connection to the server of FDM database and run the SQL even against the same data, I get an error description, which is much more useful for my conversion error of the load data Err.Description = "Bulk (truncation) for line x, y of the column and users, Error.Number =-2147217900 (fieldname). »

    I rather would not set a second connection to the server of FDM data if I can avoid it. Any ideas as to why each method produces a different error message? How do fExecuteDML to return useful description?

    'Connect to the server of FDM data base
    Set adoConn = CreateObject ("ADODB. Connection")
    adoConn.ConnectionString = API. DataWindow.Connection.PstrConnection
    adoConn.CursorLocation = 3' adUseClient
    adoConn.Open

    'Create the ADODB command '.
    Set adoComm = CreateObject ("ADODB.Command")
    adoComm.ActiveConnection = adoConn
    adoComm.CommandType = 1' adCmdTable

    On Error Resume Next
    adoComm.CommandText = strSQL
    adoComm.Execute

    Hello

    I use the DML functions built by Oracle without problems.
    At any time, an error has occurred; detailed information are written to the log of user errors.

    Thank you

  • Convert or map Typedonnees decimal Transact-SQL for Oracle Number data type?

    MSSQL 2005
    Oracle 10.2 g

    In a MSSQL table, I have a column with the data type set on (decimal (1.0), null) with the values of line-1. (695 lines in total)

    In the Oracle table, the proposed mapped column is a number data type. When I import data, I received 695 errors with the message "invalid value for the field. How to properly convert or map Decimal (MSSQL) Transact-SQL for Oracle Number data type for a negative value?

    Thank you.

    How do you load data into Oracle? What tool or programming language you are using? Can you post something cause what you stated in your post should work, but there may be some ODBC, or other type of conversion factors to be taken into account.

     > create table t1 (field1  number(1,0));
    
    Table created.
    
     > insert into t1 values (-1);
    
    1 row created.
    
    UT1 > select * from t1;
    
        FIELD1
    ----------
            -1
    

    HTH - Mark D Powell.

  • How to find - including the table - the data insertion

    Hi all

    We have oracle 10g need to table name which records the last "data inserted the name of the table.

    Any help on this query,

    Thank you

    My understanding is correct

    1 sales man Insert customer details

    2. this information is stored in a DB with 200 + tables

    3. sales manager need a report for review and approve the details of the customer entered by sales man.

    4. you are asked to prepare this report

    5. you have no idea of what are the paintings to study to get information

    If this is true the correct way is the look in the design of your application document.

  • When possible in Oracle Forms to insert a second line based on 1st row, so why not in the ADF?

    Mr President

    When possible in Oracle Forms to insert a second line based on 1st row, so why not in the ADF?

    The user just enter data in the Module of sales in one line of a Bill as below

    and it is displayed in two rows in financial Module.like below how to proceed in the ADF.

    You can see that invoice line contains the sales tax and the gross sales amounts, then it is posted to the financial Module above two lines.

    How to make ADF

    Respect of

    What I realized, this is:

    -You have a table in you screen.

    -You call CreateInsert 2 times to create 2 rows at the same time.

    -You will enter value in a specific column (c1) line1

    Looking for the value that you entered in row1 can be completely copied in the same column (c1), but in line2. is this correct?

    If so try to do the following:

    1. in the table inputText (c1) column set autoSubmit = true and setValueChangeListener to a method in backbean

    
           
    
    

    2. in the inputTextValueChangeListener method to write this code

      public void inputTextValueChangeListener(ValueChangeEvent valueChangeEvent)
      {
        DCIteratorBinding tableIter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("tableIteratorName");// write table iterator name from pageDef.
        for (int i = 0; i < tableIter.getViewObject().getEstimatedRowCount(); i++)
        {
          ViewRowImpl myRow = (ViewRowImpl) tableIter.getRowAtRangeIndex(i);
          EntityImpl entityImpl = myRow.getEntity(0);
          if (EntityImpl.STATUS_NEW == entityImpl.getEntityState())
          {
            System.out.println("New row found");
            myRow.setAttribute("AttributeName", valueChangeEvent.getNewValue());// write attribute name
          }
        }
      }
    

    3 - Add inputText id in the partialTrigger table

    
    

    4 - pageDef. Set of table iterator rangeSize = "-1".

  • PeopleSoft data integrity error (124,85)

    Hi all

    Today, some users trying to access different components face "data integrity error (124,85). This occurred with different users to different components as well.

    When I checked my logs, I found the following.

    Version of the PeopleCode program changed by calling the DEPT_ASSOC_UPDATE. Max version was 1, now 32

    Data integrity error (124,85)

    I checked the support of oracle and other forums as well, they suggested me to run the VERSION of AE. After you run the VERSION of AE, problems have been resolved and the user wasn't more questions.

    I was looking for the cause of this problem, but did not have a lot of details on this. MOS Doc ID 611688.1 were not mentioned in any cause as well.


    There has not been change code to our PeopleSoft system for more than a month.


    If someone of you can help me to understand why this issue of the integrity of the data occurs?


    Also CACHE corruption have any part to play in this regard?


    Forums. documents or leads to this topic is welcome.


    Thanks in advance.


    Details of the system

    PeopleSoft HRMS 9.1, 8.51.10

    Server 2008 R2

    While I was working for another client, I faced similar problems (often wrong). I'm not sure it was just a coincidence, I worked on almost 12 different Production systems and seem to face these problem only in PeopleSoft HRMS systems.

    Thank you

    Vimal

    Present several different issues here and I'll provide a few comments help the discussion along.  Sorry, but this can be long... you are wading in deep waters.

    1. you mention that the AE Version helped and that the symptoms were not seen after that.  Which suggests a version can be resolved the corruption.  Please do not forget the you run the version of most of the EI of the Version of 611565.1 that we have worked hard to make sure he could be running in enhanced mode without taking the system down.

    2. you have indicated that the object that had version conflicts has been the «... the component DEPT_ASSOC_UPDATE...» ", emphasis added.  Normally, items are managed in the projects, so I normally start here.  Component, files, etc are migrated in the projects, so if you can find a project that has been migrated at the time, the problem started, you might have a corrupted project.  The survey should attempt to address first of all 'what has changed?' and then ' who/how did it changed do?

    3. prior to go further, be sure that when you have version corruptions in a database, e.g. PROD, you run the AE Version on ANY database that feed on projects in this database, for example TCT, DEV, etc.  A corrupt database can pass a corrupted to an other database - as much as we try to prevent this.

    4. the versions are a balancing between the PSVERSION and the PS Act * Definition and others, but let's keep things simple for now.  In the case of a project, the PSVERSION. PJM line must match the version MAX of the PSPROJECTDEFN table.  If you are interested, crack open the latest Version of AE and you will see an InitArrays function that describes the relationship between the people.  It will be a "secret decoder ring" while you're working through this.

    5. If you do some creative SQL, you can identify the OPRID and last modified date/time for the line in the PSPROJECTDEFN table max, and sometimes that will point to a problem.  Sometimes, if you see errors of version from some time, you can map it to a migration that occurred in and around that time.  Yet once, spend time with a query tool and look at this chart.  "Corrupt projects are often the result of the sessions App Designer who have been 'put to sleep' say a weekend ' and then woke up without login back.  Using this method, you can sometimes identify the culprit if that is the problem. (It was in the previous version of the KM, but I took it out when I rewrote the current version).

    6. you said that the problem has emerged from a component that is corrupt.  If this is the case, I would look at RDM/PSRECDEFN incompatibilities/fingerprints.  If you look closely, the RDM is associated with several tables, so I would double check all those.

    7. Finally, I can the big white elephant in the room - direct SQL access.  Some applications have been known to directly manipulate the content of PeopleTools tables, which is more unfortunately, because that condemn us customers that do. (I saw this code in more SQR).  Since the relationship between the various tables of Manager (PS * Definition) and the PSVERSION line isn't exactly trivial, a simple update can break this relationship.  (See my comments in the previous footnote.)  I OFTEN see this when you import new users in the PSOPRDEFN table, but the symptom does not match you. If you find a table that appears corrupted, you could search by PeopleCode/Source code to see if this object is manipulated directly anywhere.  If you find an instance in the provided code, please open an SR and ask that it be repaired.  If you find it in custom code... shame on you.

    HTH

  • If I run my query in Oracle, it runs without error, but when I run inside c# gives ORA-00911: invalid character

    I like to run below myQuery in c#, but saw the error. No idea what is the problem? If I'm running myQuery in Oracle, it runs without error. "I put all the +" before starting the myQuery line and "end of the line. but nothing changes.

    myQuery =

    with the CBC as

    (

    Select src.table_name src_table_name, src.column_name src_col_name, src.data_type src_data_type, src.data_length src_data_len, src.data_precision src_data_precision, src.data_scale src_data_scale,

    CBC. Nullable src_nullable, decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as src_cons

    all_tab_columns CBC

    left join (select Cc.Column_Name, Uc.Constraint_Type

    of user_cons_columns cc, uc user_constraints

    where Cc.Constraint_Name = Uc.Constraint_Name

    and Cc.Table_Name = Uc.Table_Name) t

    on T.Column_Name = Src.Column_Name

    where table_name = 'INSTRUCTOR' and owner = "ERHAN"

    ),

    As TGT

    (

    Select tgt.table_name tgt_table_name, tgt.column_name tgt_col_name, tgt.data_type tgt_data_type, tgt.data_length tgt_data_len,

    TGT.data_precision tgt_data_precision, tgt.data_scale tgt_data_scale, tgt.nullable tgt_nullable,

    Decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as tgt_cons

    from all_tab_columns tgt

    left join (select Cc.Column_Name, Uc.Constraint_Type

    of user_cons_columns cc, uc user_constraints

    where Cc.Constraint_Name = Uc.Constraint_Name

    and Cc.Table_Name = Uc.Table_Name) t

    on T.Column_Name = TGT. Column_Name

    where table_name = 'INSTRUCTOR' and owner = "SARIGUL"

    ),

    col_details as

    (

    Select src.src_table_name, nvl (tgt.tgt_table_name, first_value (tgt_table_name) more (order of nulls last tgt_table_name)) tgt_table_name;

    SRC.src_col_name, src.src_data_type, src.src_data_len, src.src_data_precision, src.src_data_scale, src.src_nullable, src_cons,

    TGT.tgt_col_name, tgt.tgt_data_type, tgt.tgt_data_len, tgt.tgt_data_precision, tgt.tgt_data_scale, tgt.tgt_nullable, tgt_cons

    the CBC

    outer join full tgt

    on)

    SRC.src_col_name = tgt.tgt_col_name

    )

    )

    Select *.

    de)

    Select the case sensitive option

    When tgt_data_type! = src_data_type or tgt_data_len! = src_data_len or tgt_data_precision! = src_data_precision or tgt_data_scale! = src_data_scale or tgt_nullable! = src_nullable

    then 'alter table ' | tgt_table_name | 'Edit ' | tgt_col_name | ' ' || src_data_type | ' ' ||

    -case when src_data_type null ('DATE') then

    on the other

    case

    When src_data_type in ('VARCHAR', 'VARCHAR2')

    then ' (' |) NVL (to_char (src_data_len), ' ') | ') '

    otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')

    end

    end

    ||

    cases where tgt_nullable = 'Y' then 'null '.

    of another end 'not null '.

    || tgt_cons

    When tgt_col_name is null

    then 'alter table ' | tgt_table_name | 'Add ' | src_col_name | ' ' ||  ' ' || ' ' || src_data_type | ' ' ||

    -case when src_data_type null ('DATE') then

    on the other

    case

    When src_data_type in ('VARCHAR', 'VARCHAR2')

    then ' ('| nvl (to_char (src_data_len), ' ') |) ') '

    otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')

    end

    end

    || tgt_cons

    When src_col_name is null

    then 'alter table' | tgt_table_name: ' drop '. tgt_col_name

    end alter_statement

    of col_details

    )

    where alter_statement is not null;

    using (OracleConnection conn1 = new OracleConnection (connectionString))

    {

    conn1. Open();

    Dim myQuery = "";

    using (OracleCommand = new OracleCommand (myQuery, conn1) crtCommand)

    {

    richTextBox1.AppendText (output);

    richTextBox1.AppendText (crtCommand.ExecuteNonQuery (). (ToString());

    richTextBox1.AppendText (output);

    }

    }

    VR;

    myQuery=
    @"with src as
    (
    ...
    ";
    

    That means a @ before the beginning of a string literal mean? -C# Foire - Site Home - MSDN Articles

    as an example

    OracleCommand cmd = con.CreateCommand();
    cmd.CommandText = @"begin apps.mo_global.init('SQLAP'); begin apps.fnd_global.apps_initialize(5710, 20639, 200); end; end;";
    cmd.ExecuteNonQuery();
    

    richTextBox1.AppendText (crtCommand.ExecuteNonQuery (). (ToString());                            

    is this correct? Not sure

    as example try

     using (OracleConnection conn1 = new OracleConnection(connectionString))
    {
        conn1.Open();
    
        string myQuery = "......";                  
    
        using (OracleCommand crtCommand = new OracleCommand(myQuery, conn1))
            {
                richTextBox1.AppendText(Environment.NewLine);
                // richTextBox1.AppendText(crtCommand.ExecuteNonQuery().ToString());
    
    OracleDataReader reader = crtCommand.ExecuteReader();
    while (reader.Read())
      {
        richTextBox1.AppendText(reader.GetString(0));
        // may be also
        // richTextBox1.AppendText(Environment.NewLine);
      }
    
                richTextBox1.AppendText(Environment.NewLine);
    
            reader.Dispose();
            cmd.Dispose();
            }
    
        con.Dispose();
    }
    
  • JKM Oracle compatible (Date of update) CDC

    Hi all, I'm trying to implement the CDC using the JKM compatible Oracle (Update Date) for a fairly simple interface (a source and a target table table). After that I did a normal load to the target (single record) table, I've implemented logging as shown below:


    (1) select the model for the Set of logging mode. Choose the JKM compatible Oracle (Date of update) and specified the column name (LAST_UPDATE_DT) of the source table for the UPDATE_DATE_COL_NAME option.
    (2) to activate the data store source for CDC (Change Data Capture-> add to the CDC)
    (3) start magazines for the data store (-> change data Capture log starting)
    (4) add a subscriber to the journal (change->-> Subscribe Subscriber Data Capture)
    (5) insert a new record in the source table with the timestamp that is appropriate for the LAST_UPDATE_DT
    (6) check the log data and ensure that the inserted record is here (right click Datastore and change data Capture, and data log). I can see the window of log data record.
    (7) create a copy of the interface above and check the logged data only to use data logging for the load of the CDC.

    I am now under this interface in simulation mode to see if the new record is taken up to be loaded and the question. It is not the case. Weird, considering that it appears in the log data. So I checked the query that is executed to select new records, and below is what I get, Column1 as the pharmacokinetics of the source table:
    insert /*+ APPEND */  into SCHEMA.I$_TARGET
         (
         COLUMN1,
         COLUMN2
         ,IND_UPDATE
         )
    select       
         SOURCE_CDC.COLUMN1,,
         SOURCE_CDC.COLUMN2,
         JRN_FLAG IND_UPDATE
    from     SCHEMA.JV$SOURCE_CDC SOURCE_CDC
    where     (1=1)
    And JRN_SUBSCRIBER = 'SUNOPSIS' /* AND JRN_DATE < sysdate */ 
    Execution of the select statement does not show the new record. Return of location and control of the definition of the view of $ J, JV$ SOURCE_CDC:
    CREATE OR REPLACE FORCE VIEW ETL_ASTG.JV$TRADER_CDC (JRN_FLAG, JRN_DATE, JRN_SUBSCRIBER, COLUMN1, COLUMN2) AS 
      select      
         decode(TARG.ROWID, null, 'D', 'I') JRN_FLAG,
         sysdate JRN_DATE, 
         JRN.COLUMN1, 
         JRN.COLUMN2
    from     
    (select JRN.COLUMN1 ,SUB.CDC_SUBSCRIBER, SUB.MAX_WINDOW_ID_INS, max(JRN.WINDOW_ID) WINDOW_ID
         from      SCHEMA.J$SOURCE_CDC    JRN,
                  SCHEMA.SNP_CDC_SUBS        SUB 
         where     SUB.CDC_SET_NAME     = 'MODEL_NAME'
         and      JRN.WINDOW_ID     > SUB.MIN_WINDOW_ID
         and       JRN.WINDOW_ID     <= SUB.MAX_WINDOW_ID_DEL
         group by     JRN.COLUMN1,SUB.CDC_SUBSCRIBER, SUB.MAX_WINDOW_ID_INS) JRN,
         SCHEMA.SOURCE_CDC TARG
    where JRN.COLUMN1     = TARG.COLUMN1(+)
    and not      (
                   TARG.ROWID is not null
                and     JRN.WINDOW_ID > JRN.MAX_WINDOW_ID_INS
                ); 
    I can say that the record is not be stalled because of the State LOG. WINDOW_ID < = SUB. MAX_WINDOW_ID_DEL. I don't know what does this condition but the LOG. WINDOW_ID = 28, SUB. MIN_WINDOW_ID = 26 and SUB. MAX_WINDOW_ID_DEL = 27.

    Any ideas on how to get this working?

    Hello
    After the start of your paper you must implement a packge (or manually perform these steps on the model in ODI) perform the following operations using the ODI tools:

    Extend the window (this resets the YVERT numbers in the table of subscriber you found)---> Subscriber Lock---> (< run="" interfaces="">)---> unlock subscribed---> Purge Journal

    Its hidden in the docs here:
    http://docs.Oracle.com/CD/E14571_01/integrate.1111/e12643/data_capture.htm#CFHIHJEE

    Here's excellent guide, I always refer people to that shows exactly how:

    http://soainfrastructure.blogspot.co.UK/2009/02/setting-up-Oracle-data-integrator-odi_15.html

    The guide explains how to configure ODI loop around and wait for the CDC more occur (using ODIWaitForLogData).
    Hope this helps
    Alastair

  • Error in the Primavera Analytics 3.1 (staretl issuance of long data type error)

    Hello

    When executing ETL for analytics Primavera 3.1 I am faced with long data type error.

    Session detailed log can be found on the below URL.

    http://pastebin.com/Ez0VihGN

    I have following environment.

    Primavera analytics on Win2k8 64-bit with 11g R2 DB.

    EPPM Primavera DB on Sql Server

    Connectivity via Oracle Gateway. (tested)

    Help, please.

    Naeem Akhtar

    Published by: Naeem Akhtar Khan on April 9, 2013 03:58

    Based on your post there is an error in you initdg4msl.ora file... Make sure you the database connection is correct and you add the statement two to the file

    for example

    Should be: HS_FDS_CONNECT_INFO = YOURSQLSERVER / / YOUR DATABASE

    Make sure that you add the following code in the same file (see page 92):
    HS_NLS_LENGTH_SEMANTICS = CHAR
    HS_FDS_CHARACTER_SEMANTICS = TRUE
    HS_KEEP_REMOTE_COLUMN_SIZE = ALL

    Restart the ETL process

  • JDBC Oracle CEP data cartridge

    Hello

    I'm trying to implement the JDBC Oracle CEP data cartridge
    From:
    http://docs.Oracle.com/CD/E23943_01/apirefs.1111/e12048/datacartjdbc.htm#CIHCEFBH
    The problem is that it fails on deployment with the following error:

    < exception thrown to prepare the com.oracle.cep.cartridge.jdbc.JdbcCartridgeContext.checkCartridgeContextConfig method.
    java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.jdbc.wrapper.PoolConnection

    I added the file that contains this class of classpath (com.bea.core.datasource6_1.10.0.0.jar),
    but get the same error.
    Any help would be appreciated.

    Kind regards
    Dmitry

    Hi, Dmitry,
    Based on the version of your jar, I assume you are using 11g ps5 part. I tried your app on my about the issue can be reproduced.
    Could you try your application in an own env?
    Actually, you need not pack up the com.bea.core.datasource6_1.10.0.0.jar and com.bea.oracle.ojdbc6_1.1.0.0_11 - 2-0-2 - 0.jar in the container application.

    BTW: as the application to connect db in OraDcnAdapter, the following packages must be imported into the MANIFEST. MF
    Oracle.JDBC.DCN,
    Oracle.JDBC

    Concerning

  • Download of CSV using Browse point (don't get no data found error)

    Hello

    I use procedure below to download CSV in my table.

    CSV is to have null values in some places ex: 1,.
    2,0.999
    3,
    4,0.696

    below the procedure works fine when I am downloading as CSV: 1.0
    2,0.999
    3.0
    4,0.696.

    My table is seen as two columns, and I get no data found error when downloading a CSV of null values.

    I went through import data in Excel to the database table but no use...

    Please help me on this.

    Procedure
    ===========
    DECLARE
    v_blob_data       BLOB;
    v_blob_len        NUMBER;
    v_position        NUMBER;
    v_raw_chunk       RAW(10000);
    v_char   CHAR(1);
    c_chunk_len  number := 1;
    v_line  VARCHAR2 (32767) := NULL;
    v_data_array  wwv_flow_global.vc_arr2;
    
    BEGIN
    
    -- Read data from wwv_flow_files
    select blob_content into v_blob_data  from wwv_flow_files
     where UPDATED_BY = (select max(UPDATED_BY) from wwv_flow_files where UPDATED_BY = :APP_USER)
    AND id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
     
    -- Read and convert binary to char
    WHILE ( v_position <= v_blob_len ) LOOP
     v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
     v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk)));
     v_line := v_line || v_char;
     v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
     IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities
      v_line := substr(v_line, 1, length(v_line)-2);
       v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data
       v_data_array := wwv_flow_utilities.STRING_to_table (v_line);
    -- Insert data into target table
       EXECUTE IMMEDIATE 'insert into table_name@Schema1 (col1,col2)
        values (:1,:2)'
        USING
          v_data_array(1),
          v_data_array(2);
          
          -- Clear out
       v_line := NULL;
      END IF;
     END LOOP;
    
    END;
    concerning
    Chauvet

    Published by: Chaumont on 26 September 2012 10:52

    Published by: Chaumont Sep 26, 2012 22:25

    Published by: Chaumont on 27 September 2012 01:58

    Chambers,

    You can use wwv_flow_utilities.array_element to avoid any no_data_found. The function does not raise any errors. For example, for the line which only have a value of table when you wait 2, it can be useful.

    EXECUTE IMMEDIATE 'insert into table_name@Schema1 (col1,col2)
        values (:1,:2)'
        USING
          wwv_flow_utilities.array_element(v_data_array,1),
          wwv_flow_utilities.array_element(v_data_array,2);
    

    Kind regards
    Christina

  • Data access error

    Hi guys,.

    I meet a data access error when you try to import a source .csv file. I found almost the same questions in the previous discussions, but containing no not a solution for mine.

    I use a 10g DB, I unchecked the box in the power for the bitmap of the work table index. This option must be turned on to Oracle 9i and Oracle 10 g.

    Also, I tried with and without the scripts in the import formats. Also not the cause. Finally, I tried to import a file of my own computer source, also not the question.

    I'm running out of options. Please check my error log:


    * Start the journal entry for the Runtime Error FDM [2010-12-14-13: 00:59] *.
    -------------------------------------------------------------
    ERROR:
    Code...-2147217900
    Description... Data access error.
    Process... clsImpProcessMgr.fLoadAndProcessFile
    The component... upsWObjectsDM
    Version.......................................... 1111
    Thread........................................... 4656

    IDENTIFICATION:
    User............................................. xxxx
    Name of the computer... DCEPHFMTSTDB1
    App Name......................................... FDMTEST
    Client App....................................... WebClient

    CONNECTION:
    Provider......................................... ORAOLEDB. ORACLE
    Database server...
    Name of the database... HYPDB
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    Location......................................... AEP812
    Location ID... 749
    Location Seg... 3
    Category......................................... WLACT2010
    ID of the category... 12
    Period... Jan - 2010
    Period ID........................................ 31/01/2010
    POV Local........................................ True
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake

    Published by: JDeM on 14-dec-2010 04:19

    Hello

    Based on your error log; It seems as the locale of the FDM Server (when he went to generate the load file in bulk) for Oracle is not U.S. English.

    VALUES (749, 12, N ' 20100131', no YTD ', N ' 21451000', no EPFI ', N ' 880', no CLO', N "[NONE]", N "[NONE]", "[NONE]" N, ",", ",", ",", ",", ",", ",", ",", ",", ",", ",", ",", ",", ",", ",",",",",", 0, -, 00461);

    The value at the other end must be your amount... which I suppose is in a non.

    As the comma is used as a field separator; It cannot be used in a value... I suggest that you review all the settings and ensure that they are consistent and accurate. If you need the decimal value to a comma, you need to set the option of replacement comma inside the FDM "Parameters of Configuration" in the Menu Administration.

    Thank you

  • Satellite A300D-135 - BIOS - System Configuration data read error

    After starting a Satellite A300D-135 laptop computer, the following error message appears:


    3070M extended RAM passed
    512 KB of L2 Cache
    System BIOS with a shadow
    Video BIOS with a shadow
    ATAPI CD-ROM: TSSTcorp CDDVDW TS-L632H
    Fixed disk 0: TOSHIBA MK2546GSX
    Initialized the mouse
    ERROR
    System Configuration data read error

    Press to resume, installation

    After pressing F1 the machine starts Windows, very well, but the error message is quite irritating, while it comes with a loud BEEP

    I tried the following things so far (in that particular order):
    -Load BIOS default
    -Flashed the BIOS with the latest version of the BIOS (2.80) for this type of model
    -Reinstalled windows with HARD drive format

    All the these did not work.

    I saw the same message appearing on several places on the internet (on different laptops with a Phoenix BIOS in common), but so far I have not been able to find a working solution.

    It might me a hardware problem, but all devices (vga, soiund, lan, wifi, usb, hdd) seem to work perfectly under Windows, so this does not seem the question). Another solution that is mentioned in some forums, replace the battery. But because the phone keeps time correctly I don't think it's the case either.

    Any ideas?

    Kind regards
    GJ

    Hello

    The POST (power on self-test) BIOS checks and detects errors on the motherboard.
    I think it has something to do with the hardware on the motherboard problem.
    I doubt that you can solve this if update of the BIOS and the BIOS default settings didn't change that.

    What to say; I think that the technician of the ASP should run tests to check what's wrong or what cause this I think it is question of s mobo.

  • Satellte M30: BSOD - KERNEL DATA INPAGE ERROR atapi.sys

    Hello

    I really hope, really, that someone can help me. I'm no computer Wizard, so if you can help please give me simple instructions. My problem is that often my satellite M30 freezes and blue page happens to give me a warning.

    Top of the page is KERNEL-DATA-INPAGE-ERROR, then goes on to say disable Options memory BIOS such as cache or shading, atapi.sys says below.

    So can someone please help.

    Thank you

    Hello

    Because you are not a computer expert ;) I'll try to write as simply.
    It looks more like a hardware problem as a problem of software!

    But to be 100% sure, you should recover the laptop with the Toshiba Recovery CD supplied.
    This CD will be programmed the laptop back to the factory setting and usually the laptop should work properly after the recovery of the new!

    If you the BSOD will appear again the chances are high that memory, HARD drives and the motherboard is malfunctioning.

    But because you are a beginner, I would not recommend trying to solve this problem yourself.
    In this case, you must contact the ASP in your country!

    Good luck

  • Equium A300D - 13 X - Configration system data read error

    Hello

    I have a problem with my Equium A300D - 13 X laptop, everytime I turn on my laptop it starts and loads the initial startup screen as usual, Toshiba once asked that loud "BEEP" comes from my laptop, and lists the following information:

    Phoenix TrustredCore (tm) NB
    Copyright 1985-2006 Phoenix Technologies Ltd.
    All rights reserved

    Herring of the ITA (DDR2 + T/RS690M/SB600)
    CPU speed = 2000 MHz

    639K system spent RAM
    1918M extended RAM passed
    1024 KB of L2 Cache
    Occult system BIOS
    Video BIOS with a shadow
    ATAPI CD-ROM: MAST * ADVD-RAM UJ-850 S
    Fixed disk 0: WDC W2500BEVT-00SCSTO
    Fixed disk 1: Hitachi HTS542520K9SA00
    Initialized the mouse
    ERROR
    System Configuration data read error

    Press to resume, installation

    I replaced the hard drive and flashed the BIOS settings as advised by Toshiba Helpline but the problem persists.

    Help, please! because the "BEEP" is now getting on my nerves!

    See you soon

    Hi andrew_net82,

    It seems that the BIOS has detected an error with a certain part of material...

    Before doing something I recommend you load the default settings in the BIOS. If you are in the BIOS Setup, press the F9 key.

    If it doesn t work you need for professional assistance from an authorized service I think. Guys need to check which part of the material is defective and must be replaced.
    List of the ASP, you can find on the official website of Toshiba.

Maybe you are looking for

  • Audible clicks of noise generation/acquisition vi

    Hey everybody! Fast facts: I'm doing a vi to perform measurements of room acoustics.  The goal is to apply white noise octave band filtered in a room until a level of balance is reached, then turn off the sound source and measure the decay of the sou

  • Error update 00000646 Windows Windows Update dt000 Code

    Error Windows Windows Update dt000 update 00000646 Massage

  • the user administrator access denied

    the following error occurred during which to save properties for user administratoraccess is denied

  • System froze during posting. No hard drive or mouse activity.

    you expected to validate the installation. I just reinstalled windows xp pro on my wifes pc. installation went through normal operations, etc., complete, rebooted and then asked wether I want to validate this copy of windows? I do and you click Yes.

  • Acer Iconia W4 screen sticker

    Is the thumbnail in the upper left corner of the screen Acer Iconia W4 removable?  It says Windows, Office and wide Angle of view.  I tried to take off so I can apply a screen protector, but it seems difficult to pull off.  I didn't wan't to force hi