Oracle Error from inserting a table from a table

Hi all,
We got a oracle error, as following,
Thu Mar 2 16:34:03 2006
Errors in file /oracle1/app/oracle/admin/M3US/udump/ora_1773234_m3us.trc:
ORA-00600: internal error code, arguments: [4518], [], [], [], [], [], [], []
The SQL is below,
INSERT INTO MKT.TM_SAL_PGM_LOG
SELECT B.SEQ + ROWNUM LOG_SEQ ,
A.COM_CODE ,
A.DIV_CODE ,
A.PGM_NO ,
A.PGM_SEQ ,
A.PGM_TYPE ,
A.CUST_CD ,
A.BILL_TO ,
A.TXN_TYPE ,
A.TXN_NO ,
A.TXN_SEQ ,
A.TXN_DATE ,
A.MODEL ,
A.SUFFIX ,
A.APPLY_AMT_LOC ,
A.APPLY_AMT_TXN ,
A.CN_ENTRY_FLAG ,
A.CURRENCY ,
A.APPLY_TYPE ,
A.PCT_RATE ,
A.AMT_PER_UNIT ,
A.NET_AMT_LOC ,
A.NET_AMT_TXN ,
A.ACCRUAL_TYPE ,
A.SALESMAN ,
A.CREATE_DATE ,
A.DEPT_CODE ,
A.QTY ,
A.ACCRUAL_FLAG ,
A.APPLY_AMT ,
A.FIXED_AMT ,
A.SHIP_FROM ,
A.AUTO_ADJUST ,
A.CHINA_PRODUCT
FROM MKT.TM_SAL_PGM_LOG_IT A,
( SELECT MAX(LOG_SEQ) SEQ FROM MKT.TM_SAL_PGM_LOG ) B
WHERE PGM_NO = '2006-DA0004B'
AND TXN_TYPE IN ( 'ACCR' ,'CRED' )
AND COM_CODE = 'LGEUS';
If we tried to insert into a table with one more condition,
and rownum=1;
it went throught without error.
And, if we insert into the table with value( val1, val2,.....,valn), it also went through without any error message, but ONLY when the whole SQL is executed.
There is no error either for the select statement in the SQL either.
It is Oracle 8.1.7.4 64-bit on IBM AIX 5.2 machine.
What is wrong?
Thanks for advance!
Robert

Dump file /oracle1/app/oracle/admin/M3US/udump/ora_1773234_m3us.trc
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
ORACLE_HOME = /oracle1/app/oracle/product/8.1.7
System name: AIX
Node name: lgeus
Release: 2
Version: 5
Machine: 00C9C4CD4C00
Instance name: M3US
Redo thread mounted by this instance: 1
Oracle process number: 86
Unix process pid: 1773234, image: oracle@lgeus (TNS V1-V3)
*** SESSION ID:(184.8386) 2006-03-02 16:13:16.189
*** 2006-03-02 16:13:16.189
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [4518], [], [], [], [], [], [], []
Current SQL statement for this session:
INSERT INTO TM_SAL_PGM_LOG
SELECT C.LOG_SEQ + ROWNUM,
D.COM_CODE, D.DIV_CODE, '2006-DA0004B' PGM_NO,
DECODE ( T.PRODUCT, 'WR', 1, 'WL', 2, 'WK', 3, 'JE', 4, 'JM', 5, 'FR', 6, 'FD',7, 0 ) PGM_SEQ , 'KO' ,
M.CUST_CD, M.BILL_TO, 'ACCR' TXN_TYPE, D.ORDER_NO, D.SALES_SEQ,
GREATEST ( M.INVO_DATE, '20060228') , D.MODEL, D.SUFFIX,
D.NET_AMT_TXN * 0.02,D.NET_AMT_TXN * 0.02, 'S', 'USD', 'P', 2, 0, D.NET_AMT_LOC, D.NET_AMT_TXN, 'L',
M.SALESMAN, SYSDATE, M.DEPT_CODE, D.PICK_QTY, NULL, NULL, NULL, NULL, 'N', NULL
FROM TM_SAL_DTL D,
TM_SAL_MST M,
TM_MODEL T,
( SELECT NVL(MAX (LOG_SEQ ),0) LOG_SEQ FROM TM_SAL_PGM_LOG_IT ) C
WHERE D.ORDER_NO = M.ORDER_NO
AND D.COM_CODE = M.COM_CODE
AND D.DIV_CODE = M.DIV_CODE
AND D.MODEL = T.MODEL
AND D.SUFFIX = T.SUFFIX
AND D.COM_CODE = T.COM_CODE
AND ( D.INVO_NO , D.INVO_SEQ ) IN (
SELECT /*+ ORDERED M, D, T */
D.INVO_NO, D.INVO_SEQ
FROM TM_SAL_MST M,
TM_SAL_DTL D,
TM_MODEL T
WHERE M.ORDER_NO = D.ORDER_NO
AND M.COM_CODE = D.COM_CODE
AND M.DIV_CODE = D.DIV_CODE
AND D.MODEL = T.MODEL
AND D.SUFFIX = T.SUFFIX
AND D.COM_CODE = T.COM_CODE
AND M.INVO_DATE BETWEEN '20060101' AND '20061231'
AND M.BILL_TO IN ( 'US006900' )
AND T.PRODUCT IN (
SELECT PRODUCT FROM TM_SAL_PGM_DTL
WHERE PGM_NO = '2006-DA0004B' )
MINUS
SELECT TXN_NO, TXN_SEQ
FROM TM_SAL_PGM_LOG
WHERE PGM_NO = '2006-DA0004B'
AND COM_CODE = 'LGEUS'
AND TXN_TYPE = 'ACCR' )
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+00cc bl ksedst 1 ?
ksfdmp+0018 bl ksedmp 110276CD ?
kgeriv+0104 bl _ptrgl
kgeasi+0104 bl kgeriv 84 ? 70 ? 6 ? 6 ? 2FF1A24C ?
ktbwbi+00f8 bl kgeasi 20009408 ? 201287D4 ? 11A6 ?
2 ? 0 ? C0 ? 8000 ? 0 ?
kdisle+100c bl ktbwbi 2FB0 ? 11919F50 ? 0 ? 0 ?
kdiins0+0f84 bl kdisle 69362E20 ? 2FF1A740 ?
2FF1B008 ? 1000001 ? 80008 ?
22243DE8 ? 2C002C ? 0 ?
kauxsin+13e8 bl kdiins0 69362E20 ? 0 ? 0 ? 0 ? 0 ?
0 ? 0 ? 80000 ?
insidx+0388 bl kauxsin 69362DD4 ? 117694C4 ? 0 ?
201B4278 ? 201B4308 ?
201B4350 ? 201B4260 ? 0 ?
insflush+013c bl insidx 88 ?
insrow+04a0 bl insflush 201B41D4 ? 1 ? 2FF1DE48 ?
insdrv+0450 bl insrow 201B41D4 ? 2FF1DE48 ? 0 ?
insexe+04ec bl insdrv 201B41D4 ?
opiexe+1f2c bl insexe 63406C80 ? 3 ?
opiall0+0c60 bl opiexe 4 ? 2 ? 2FF1F7F0 ?
kpoal8+0678 bl opiall0 5E ? 22 ? 2FF1FAA8 ? 0 ?
2FF1FA50 ? 20121CB8 ? 5EB ?
4422022 ?
opiodr+0668 bl _ptrgl
ttcpip+09d8 bl _ptrgl
opitsk+066c bl ttcpip 57B ? 200AEA88 ? 2FF21288 ?
7FF ? 1 ? 0 ? 20067B70 ? 4C ?
opiino+061c bl opitsk 2000CE18 ?
opiodr+0668 bl _ptrgl
opidrv+0450 bl opiodr 3C ? 4 ? 2FF229C8 ? 0 ?
sou2o+0028 bl opidrv 3C ? 4 ? 2FF229C8 ?
main+0130 bl sou2o 0 ? A0 ? 2FF22890 ? 0 ?
__start+0088 bl main 2 ? 2FF22A38 ?
----- Argument/Register Address Dump -----
Argument/Register addr=1.
Dump of memory from 0x0 to 0x101
000 00000000 00000000 00000000 00000000 [................]
Repeat 15 times
100 7C7243A6 [|rC.]
Argument/Register addr=110276cd.
Dump of memory from 0x1102768D to 0x110277CD
11027680 4BFFFCA5 [K...]
11027690 2C030000 40820020 3B5A0001 80010040 [,...@.. ;Z.....@]
110276A0 3B390001 7C1A0040 4180FDF8 80610050 [;9..|[email protected]]
110276B0 48000010 4BFD2989 60000000 38600001 [H...K.).`...8`..]
110276C0 800100A8 818100A4 382100A0 7C0803A6 [........8!..|...]
110276D0 BA21FFC4 7D808120 4E800020 00000000 [.!..}.. N.. ....]
110276E0 00002043 800F0600 00000000 000002D8 [.. C............]
110276F0 00096472 65696931 696E7300 BE21FFC4 [..dreii1ins..!..]
11027700 607F0000 7C0802A6 7D800026 90010008 [`...|...}..&....]
11027710 8003000C 91810004 2C000000 9421EF70 [........,....!.p]
11027720 408207A0 60960000 83DF0000 60B50000 [@...`.......`...]
<and go on>
this file is huge, I just copy/paste the first part. I hope it helps.
Thanks a lot, Sri.
Robert

Similar Messages

  • Error in inserting a record in to table

    hi..
    i created a trigger....when i am trying to insert new record in to table i am getting the fallowing error...plz kindly help me out from this...
    SQL> create or replace trigger secure_emp
    2 before insert on employees begin
    3 if(to_char('sysdate','DY') in ('SAT','SUN')) or
    4 (to_char('sysdate','HH24:MI') not between '8:00' and '18:00') then
    5 raise_application_error(-20500,'error');
    6 end if;
    7 end;
    8 /
    Trigger created.
    SQL> insert into employees(employee_id,last_name,first_name,email,hire_date,job_id,salary,department
    _id)
    2 values (300,'smith','jack','SJACK',sysdate,'IT_PROG',4500,60);
    insert into employees(employee_id,last_name,first_name,email,hire_date,job_id,salary,department_id)
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at "SCOTT.SECURE_EMP", line 2
    ORA-04088: error during execution of trigger 'SCOTT.SECURE_EMP'

    Yeah. Whenever Oracle sees TO_CHAR('string_literal1', 'string_literal2), it implicitly converts it to TO_CHAR(TO_NUMBER('string_literal1'), 'string_literal2). That's why an error in trigger occurs.
    SQL> explain plan for
      2  select null
      3    from dual
      4   where dummy = to_char('A', 'DY');
    Explained
    SQL> @utlxpls
    Cannot SET MARKUP
    PLAN_TABLE_OUTPUT
    Plan hash value: 397561404
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |     2 |     2   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("DUMMY"=TO_CHAR(TO_NUMBER('A'),'DY'))
    13 rows selected

  • Oracle error while migrating visual studio from 2008 to 2013

    im using oracle.dataaccess.dll , and my oracle version is 11.2.0
    i migrated from .net 2.5 to .net 4.5 , but iam using dataset in my code
    when im running it iam getting the belwo error
    An exception of type 'System.ArgumentException' occurred in Oracle.DataAccess.dll but was not handled in user code
    can you please help me asap  to solve it

    Write an event handler that catches the error and outputs the error text. That will help diagnose what the problem is and where the problem is likely occurring.
    For example:
                try
                             <DataSet code>
                  catch (Exception ex)
                    Console.WriteLine(ex.Message);
                    Console.WriteLine(ex.InnerException);
                    Console.WriteLine(ex.Data);

  • Error when insert data in Sql Server table(DateTime data type)

    Hello all,
    I have created a database link in oracle 11g to SQL Server 2008 using Sqlserver gateway for oracle,Oracle run on Linux and SQL Server run on Windows platform.
    I have queried a table and it fetches rows from the target table.
    I am using this syntax for insert a row in Sql Server table.
    Insert into Prod@sqlserver (NUMITEMCODE, NUMPREOPENSTOCK, NUMQNTY, NUMNEWOPENSTOCK, DATPRODDATE , TXTCOMPANYCODE, "bolstatus", NUMRESQNTY )
    Values (1118 , 1390.0 , 100.0 ,1490 , '2012-06-23 12:37:58.000','SFP' ,0 , 0 );
    but it give me error on DATPRODDATE,The data type of DATPRODDATE column in Sql Server is DATETIME.
    My Question is how can i pass the date values in INSERT statement for Sql Server DateTime data type.
    Regards

    Just as with Oracle, you have to specify the date using the to_date() function or use the native date format for the target database (if you can figure out what that is). This is good practice anyway and a good habit to get into.

  • Getting error while inserting a row in a table

    Hi,
    The following error occurs when one of my enduser is trying to enter record into a table
    <b>Error: Insertion of Infotype 1032 (return code 3) </b>
    There are no records in the table at all.. what could be the reason and why the error occurs?
    Thanks in advance
    Regards,
    Suresh

    Hello Suresh,
    in which table... did you get a dump?
    What is the ORA-error? Is a trace or an alert.log entry generated?
    Your information is insufficient to solve the problem
    Regards
    Stefan

  • Error at Insert new Line in the Table (ITERATOR)

                public String novaLinhaTabela() {
                 BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                 //access the name of the iterator the table is bound to. Its "allDepartmentsIterator"
                 //in this sample
                 DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("crudArquivosLinhasColunas_parametersIterator");
                 //access the underlying RowSetIterator //crudArquivoLinhasColunasControlIterator crudArquivosLinhasColunas_parametersIterator
                 RowSetIterator rsi = dciter.getRowSetIterator();
                 System.out.println("RSI " + rsi);
                 //get handle to the last row
                 Row lastRow = rsi.last();
                 //obtain the index of the last row
                 int lastRowIndex = rsi.getRangeIndexOf(lastRow);
                 //create a new row
                 Row newRow = rsi.createRow();
                 //initialize the row
                 newRow.setNewRowState(Row.STATUS_INITIALIZED);
                 //add row to last index + 1 so it becomes last in the range set
                 rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
                 //make row the current row so it is displayed correctly
                 rsi.setCurrentRow(newRow);             
                    ADFUtils.addPartialTarget(this.tabelaColunaLinha);
                 return null;
    This line have the return of NULL POINTER EXCEPTION, I am not able to solve.
       RowSetIterator rsi = dciter.getRowSetIterator();
    Someone could help me?

    Gijith,
    You know how to add a row in the table by clicking on the? I can not, I am new in ADF, I struggle to ride it!
    Could you help me friend?

  • Can not insert a row to a table from Oracle DBA Studio

    Hi,
    I try to use the Oracle DBA Studio to create a table and put some test data in it. Here is what I found:
    I start Oracle DBA Studio on the client machine by connecting to an Oracle server 8i (8.1.7). I create a simple table called Test with two columns: one is USER, VARCHAR2, 10; and the other is USER2, CHAR, 2. After that, I right click on the table name and select "Table Data Editor" from the popup menu. The table editor window shows up. I type in the value 'AA' and 'BB' in the grid of two columns. Then I click the Apply button. An error message box popped up:
    ORA-00928 missing SELECT keyword.
    I click Show SQL button. The SQL statement is as following:
    INSERT INTO "TASYS"."TEST" (USER ,USER2 ) VALUES ('AA' ,'BB').
    I copy the statement to SQL Plus and run it. The same error is generated. But if I remove (USER, USER2) from the statement, it inserts a row without complaint. In other word, the database will not allow to insert if individual columns are list. I realize something must wrong with the new server and client installed and could not figure out what happening. Hope someone can help.
    Thanks.
    null

    I am not sure, but could it be that USER is a keyword or predefine word. Check Oracle'slist of predefine/keyword

  • Error while inserting into MS-SQL Server from Oracle using HS

    Hi,
    I am using hetrogeneous connection.
    I want to insert into MS-SQL Server Table by selecting from Oracle Tables.
    insert into tableone@mssql select * from table2;
    Table2 is in oracle database.
    while executing i'm getting
    ORA-02025: all tables in the SQL statement must be at the remote database
    Please guide me.
    Regards
    Salih KM

    some guy come up a solution by himself before. go ahead and try it
    ORA-02025 error while insert into emp@custard select ....

  • Insert /delete data from SAP Z table to Oracle table and opposite

    Hi,
    Can u help me write this FM from the SAP side?
    So, I have two tables ZTABLE in SAP and Oracle table ORAC.
    Let's put three columns in each of them, for example
    TEL1
    TEL2
    ADRESS
    NAME
    where TEL field is primary from ZTABLE to ORAC...
    (in FM there shoud be abap code for writing data in ZTABLE after we press some pushbutton made in sap screen painter..)
    for example, when we write new record in ZTABLE
    00
    112233
    Street 4
    Name1
    this data shoud be inserted in Oracle table ORAC.
    when we write new record in Oracle table for example
    01
    445566
    New Street
    Name2
    this data shoud be inserted in ZTABLE.
    Field TEL1 can be only of two values 01 or 02, other combination is not valid...
    I must have all data from Oracle table ORAC in ZTABLE and opposite.
    It should be the same scenario for DELETE...
    And this communication should be online between sap and table in oracle database...
    Can u help me from sap side? and give idea how to configure on oracle side??
    Thanks a lot,
    Nihad

    I dont know if we can directly connect to a oracle database ( wait for the answers from others on this )
    but in XI we have the JDBC adaptor to insert and retrieve data.
    so for the outbound from SAP the flow can be something like this (with XI in landscape):
    1) You have a screen to maintain a new entry / delete an entry
    2) On save , this record gets saved or deleted from the Ztable in SAP
    3)) In the same screen you can call a proxy class-method (generated using SPROXY transaction ) to send the record to XI.
    4) XI to format it and insert into the oracle table
    Mathews

  • Insert multiple records into a table(Oracle 9i) from a single PHP statement

    How can I insert multiple records into a table(Oracle 9i) from a single PHP statement?
    From what all I've found, the statement below would work if I were using MySQL:
         insert into scen
         (indx,share,expire,pitch,curve,surface,call)
         values
         (81202, 28, 171, .27, 0, 0, 'C' ),
         (81204, 28, 501, .25, 0, 0, 'C' ),
         (81203, 17, 35, .222, 0, 0, 'C' ),
         (81202, 28, 171, .27, 2, 0, 'C' ),
         (81204, 28, 501, .20, 0, 1, 'C' ),
         (81203, 28, 135, .22, 1, 0, 'C' )
    The amount of records varies into the multiple-dozens. My aim is to utilize the power of Oracle while avoiding the i/o of dozens of single-record inserts.
    Thank you,
    Will

    You could look at the INSERT ALL statement found in the documentation here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_913a.htm#2133161
    My personal opinion is that you probably won't see any benefit because under the hood I think Oracle will still be doing single row inserts. I could be wrong though.
    The only way to confirm was if you did a test of multiple inserts vs an INSERT ALL, that is if the INSERT ALL met your requirements.
    HTH.

  • Error while importing tables from oracle database

    Hi
    I am getting the following error when i am trying to import table from oracle database.
    my operating system is windows and my database is oracle.
    [nQSError: 16001]ODBC error state: IM004 code:0 message:
    [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
    please help me in resolving this issue.
    Thanks and Regards,
    Raj

    Hi Madan,
    I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
    Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
    Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
    go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
    This is very great full help to me …
    Advance thanks for your suggestions.
    Regards
    Duraga Prasad.

  • Insert data into oracle table from XML file

    I need to insert data into oracle table from XML file
    If anybody handled this type of scenario, Please let me know how to insert data into oracle table from XML file
    Thanks in advance

    The XML DB forum provides the best support for XML topics related to Oracle.
    Here's the FAQ on that forum:
    XML DB FAQ
    where there are plenty of examples of shredding XML into Oracle tables and such like. ;)

  • Oracle error ORA-22905: cannot access rows from a non-nested table item

    Oracle error ORA-22905: cannot access rows from a non-nested table item
    Creating a report using oracle plsql code .
    Getting error ;
    Oracle error ORA-22905: cannot access rows from a non-nested table item
    when I am trying to pass data in clause in pl sql proc
    basically I have a proc which takes 2 parameters(a and b)
    proc (
    P_a varchar2,
    p_b varchar2,
    OUT SYS_REFCURSOR
    culprit code which is giving me  the error and on google they say cast it but I dont know how to do it in my context
    --where  id in (
    --        SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_a) FROM dual)
    --        union
    --        SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_b) FROM dual)
    data sample returned from this :SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_a) FROM dual)
    'Abc','def',
    data sample returned from this;SELECT * FROM THE (SELECT p_cd_common.get_table_from_string(P_b) FROM dual)
    'fgd','fth',
    Any answers ?
    How to pass data in clause in a better way

    Why are you creating a duplicate post? I already asked you to post p_cd_common.get_table_from_string. In particular what is function return type and where it is declared. As I already mentioned, most likely function return type is declared in the package and therefore is PL/SQL type. And TABLE operator can only work with SQL types.
    SY.

  • How to insert new record into oracle table from GridView in VS2005.

    I need to insert records into Oracle10g table from VS2005 GridView using the Insert Method in Business Logic Class. The Update and Delete Methods are working fine. What's the best way out?

    How is it "not possible"?
    Either modify the Class for the new fields, or give the new fields default values (if applicable). If the type of an existing column has changed, then only the first option is available.
    Where's the problem?

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

Maybe you are looking for

  • My iPhone 5s no longer connects to any wifi

    for the past 2 months my phone no longer connects to ANY wifi. i have resetted, backed up, updated my phone, forgot the network, etc., and still nothing. If I take my phone into the apple store will they replace it?

  • Can't print from the web

    no matter what i do i can not get any part of a web page to show up in "print preview" and therefore I can not print from the web.  Using an HP Officejet Pro L7580 All in one, running Vista 32 bit, and IE 9. Have already uninstalled and reinstalled p

  • New to ABAP -- Need help with any BAPI to update the vendor master record

    I have a requirement to update the vendor master record ( ie purchasing block data inlfa1 and lfm1 table )directly. i have created the report but my problem is i am updating tables directly by using modify which is not correct according to SAP hence

  • Different connection pool for a report

    Hi experts, For one my reports using 'CLOBS' like explained (http://oraclebizint.wordpress.com/2007/11/12/oracle-bi-ee-101332-working-with-clob-fields/) I need to disable parallel processing because it's not supported. NO_PARALLEL and NO_INDEX_PARALL

  • Find difference between date

    I need to know how i can find difference between date like Joining date: 01-jan-2009 Today 10-jan-2010 result will be "1 year 10 days" I need it in Oracle forms 6i. plz help me...