ANYDATA - converObject

Hi friends,

Please help me to load data into a table of ANYDATA type and print.

I have a type like this:

-------------------------------------------------------------------------------

CREATE OR REPLACE TYPE TY_ANYDATA AS TABLE SYS. ANYDATA;

-------------------------------------------------------------------------------

Need to load the following data in a PL/SQL block:

TY_ANYDATA(1,2,3,'TEST')

I tried an anonymous as block:

-------------------------------------------------------------------------------

CREATE or REPLACE TYPE t_my_type () AS OBJECT

val_1 INTEGER, INTEGER val2, val_3 INTEGER, val_4 VARCHAR2 (100));

/

CREATE or REPLACE TYPE t_my_table AS TABLE of the t_my_type;

/

DECLARE

lv_holder ty_anydata;

tab_obj t_my_table: = t_my_table();

tab_dest t_my_table;

BEGIN

tab_obj .extend;

tab_obj (1): = t_my_type (1,2,3, 'Test');

lv_holder: = SYS. ANYDATA.convertObject (tab_obj);

IF (tab_dest) lv_holder.getObject = DBMS_TYPES. SUCCESS THEN

Dbms_output.put_line (tab_dest.val_1 |) » '|| tab_dest.val_2 |' '|| tab_dest.val_3 |' '|| tab_dest.val_4);

END IF;

END;

-------------------------------------------------------------------------------

It does not work. Please help me.

I use Oracle 11 g 2.

Thanks in advance!

DECLARE
  lv_holder  ty_anydata;
  tab_obj  t_my_table := t_my_table();
  tab_dest t_my_table;
BEGIN
  tab_obj .extend;
  tab_obj(1) := t_my_type (1,2,3,'Test');
  lv_holder := ty_anydata();
  lv_holder.extend;
  lv_holder(1) := SYS.ANYDATA.convertcollection(tab_obj);
IF lv_holder(1).getcollection(tab_dest) = DBMS_TYPES.SUCCESS THEN
  DBMS_OUTPUT.put_line(tab_dest(1).val_1||' '||tab_dest(1).val_2||' '||tab_dest(1).val_3||' '||tab_dest(1).val_4);
END IF;
END;

Tags: Database

Similar Questions

  • Storage of XMLType in the ANYDATA column

    I am struck a problem trying to hold XMLType in an ANYDATA column.


    Reading the ANYDATA documentation ([http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/t_anydat.htm#i1001302]), there is no indication that this is not supported. The only restriction is "persistent instances ANYDATA type storage contains incorporated LOBs another BFILE is not currently taken care of."
    AFAIK that XmlType is not a "embedded LOB" - am I?


    When I try this I struck error: "ORA-22370: incorrect use of the AnyData Insert method. Here's a simple test to demonstrate the problem.

    I'm looking for is a documentation indicating that this is impossible, or an explanation of how to get there.

    Thank you in anticipation

    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    
    CREATE OR REPLACE TYPE t_xml AS OBJECT
     (xml           XMLType);
    /
    
    CREATE TABLE t (c1 ANYDATA);
    
    DECLARE
        v_anydata   ANYDATA;
    BEGIN
        v_anydata := sys.anydata.convertobject(t_xml(XMLType('<Action ActNo="100"> <Description>NewAction</Description> </Action>')));
        INSERT INTO t (c1) VALUES (v_anydata);   
    END;
    /

    Have a look here for the answers: mind exercise - AnyData and XMLType data type (see as well the code, workarounds and output)

    Published by: Marco Gralike on 20 March 2012 13:56

  • How to control the battery charge when you are connected to the power adapter?

    I post here because I want to know if there is any software option that I can use to control on my load while I use the charger and the dough.

    EXPLAIN

    You know in IBM ThinkPad there are some utilities can help you master the power to CUT the battery charge and keep on the power of the charger and the battery is always on standby if it is OFF the bettery then work and never lose anydata

    I want to control the load while I'm working with battery and charger at the same time.

    I hope that claire ;)

    Hello

    It of not possible to control the battery charge using any software.
    The battery will begin to charge if the adapter has been connected to the laptop and it will stop the charge process after the adapter has been disconnected or if the battery is full.

    See you soon

  • Why am I not able to insert into the table object? Is this a bug? Probably not, but confused here

    Salvation of france

    Thank you for your intelligent help, but if you don't know about object types and tables of onject, just go your way.

    I use 12 c (12.1.0.2) on OEL 6,7 in Virtual box

    Here's my use case

    drop table envparams;

    Drop type envparam_obj;

    Drop the params table;

    Drop type param_obj;

    create or replace type param_obj as an object

    (

    PName varchar2 (32),

    RegExp varchar2 (128).

    GetName member function returns a varchar2.

    function GetRegexp return varchar2 Member,

    Member ToString function returns a varchar2.

    procedure Display of Member

    );

    /

    create or replace type body param_obj as

    member function GetName return varchar2 is

    Start

    return (PName);

    end;

    member function GetRegExp return varchar2 is

    Start

    return (RegExp);

    end;

    member function ToString return varchar2 is

    OutStr varchar2 (1000);

    Start

    OutStr: = 'parameter ' | PName;

    If (RegExp is not null) then OutStr: = OutStr | ' use control regexp ("|") RegExp | ')'; end if;

    return (OutStr |) '.');

    end;

    Members procedure display is

    Start

    dbms_output.put_line (self. (ToString());

    end;

    end;

    /

    create table param_obj params (key primary pname) object identifier is a primary key;

    create an index only params_un01 on params (upper (pname));

    insert into values params (new param_obj ("nls_lang", null));

    Select * from params;

    Select params Ref (p) rparam p where p.pname = 'nls_lang. "

    drop table envparams;

    Drop type envparam_obj;

    create or replace type envparam_obj as an object

    (

    paramref Ref param_obj,

    sys.ANYDATA pValue,

    REF. param_obj, GetParamRef member function return

    sys.ANYDATA, GetPValue member function return

    Member ToString function returns a varchar2.

    procedure Display of Member

    );

    /

    create or replace type body envparam_obj as

    REF param_obj is back from GetParamRef member function

    Start

    return (ParamRef);

    end;

    member function GetPValue return sys.anydata is

    Start

    return (PValue);

    end;

    member function ToString return varchar2 is

    OutStr varchar2 (200);

    TypeCode pls_integer;

    ValueType sys.anytype;

    Number num.

    Str varchar2 (20000);

    Dummy Pls_integer;

    Start

    Select deref (ParamRef). ToString() in double OutStr;

    If (PValue is not null) then

    TypeCode: = PValue.GetType (ValueType);

    case TypeCode

    When dbms_types.typecode_number then

    Dummy: = PValue.GetNumber (NB);

    Str: = to_char (Num);

    When dbms_types.typecode_varchar2 then

    Dummy: = PValue.GetVarchar2 (Str);

    end case;

    OutStr: OutStr = | "The value is (' |)" Str | ')';

    on the other

    OutStr: OutStr = | "The value is (NULL);

    end if;

    return (OutStr |) '.');

    end;

    Members procedure display is

    Start

    dbms_output.put_line (self. (ToString());

    null;

    end;

    end;

    /

    create the table envparams to envparam_obj;

    create or replace procedure as

    ThisParamRef ref param_obj;

    ThisParam param_obj;

    ANYDATA ThisValue;

    ThisEnvParam envparam_obj;

    Start

    SELECT ref (p), value (p), anydata.convertvarchar2('FRENCH_FRANCE.) WE8ISO8859P1 ") in ThisParamRef, ThisParam, ThisValue"

    params p WHERE p.PName = 'nls_lang. "

    ThisEnvParam: = envparam_obj (ThisParamRef, ThisValue);

    ThisEnvParam.Display ();

    INSERT INTO envparams

    Envparam_obj SELECT (Ref (p), anydata.convertvarchar2('FRENCH_FRANCE.) WE8ISO8859P1'))

    OF params p

    WHERE p.PName = 'nls_lang. "

    end;

    declare

    Start

    test;

    end;

    test is what gives:

    RA-22979: impossible to insert a REF to a view object OU a REF defined by user (translation is below...)

    ORA-06512: at "MMN. "TEST", line 16

    ORA-06512: at line 3

    22979 00000 - "cannot INSERT object REF or REF user-defined view.

    * Cause: Attempt to insert a view of the REF or REF object defined by the user in one

    Column REF created to store the system generated REF values.

    * Action: Make sure that the REF to be inserted is not a view object

    or a REF configurable column *.

    If I change the test and write:

    INSERT INTO envparams values (ThisEnvParam); = > Get the same message

    ORA-22979: impossible to insert a REF to a view object OU a REF defined by user

    ORA-06512: at "MMN. "TEST", line 16

    ORA-06512: at line 3

    22979 00000 - "cannot INSERT object REF or REF user-defined view.

    * Cause: Attempt to insert a view of the REF or REF object defined by the user in one

    Column REF created to store the system generated REF values.

    * Action: Make sure that the REF to be inserted is not a view object

    or a column defined by the user REF

    If I modify the testing and writing

    insert into envparams values (envparam_obj (ThisParamref, ThisValue));

    ; = > Get the same message

    ORA-22979: impossible to insert a REF to a view object OU a REF defined by user

    ORA-06512: at "MMN. "TEST", line 16

    ORA-06512: at line 3

    22979 00000 - "cannot INSERT object REF or REF user-defined view.

    * Cause: Attempt to insert a view of the REF or REF object defined by the user in one

    Column REF created to store the system generated REF values.

    * Action: Make sure that the REF to be inserted is not a view object

    or a column defined by the user REF

    WELL, I'm stuck in the stuckhouse.

    How can I make the test work

    Thanks again for reading me

    Concerning

    Michel M - N

    The error message gives an indication of what is wrong:

    Failed to INSERT the object REF or REF user-defined view

    In this case, you have a REF user-defined because you based the table OID of PARAMS on the PK.

    Storage of such a REF is possible only if it is worn, as explained in the documentation:

    https://docs.Oracle.com/database/121/ADOBJ/adobjadv.htm#ADOBJ7393

    Like this:

    create the table envparam_obj envparams)

    scope for (paramref) params

    ) ;

    or on the existing table:

    ALTER table envparams Add (scope (paramref) params);

    SQL> INSERT INTO envparams
      2  SELECT envparam_obj (ref (p), anydata.convertvarchar2('FRENCH_FRANCE.WE8ISO8859P1'))
      3  FROM params p
      4  WHERE p.PName = 'nls_lang';
    
    1 row created.
    
    SQL> select t.paramref.getname() from envparams t;
    
    T.PARAMREF.GETNAME()
    --------------------------------------------------------------------------------
    nls_lang
    
  • Forms of multi level master-detail

    Hello

    I have 3 block in my forms, namely A, B, C.

    B is the detail of A block and C is the detail of B block.

    Headers, lines contains elements, Serials contains article serail numbers.

    When I ask with number of specific header I have 2 lines and each line has 3 series. If I click on line 1, everything works fine.

    But if I click on line # 2 and block C is endangered (didn't anydata). for this problem, I added go_block (lines) in

    entqry-key trigger of the header block.

    Now, almost the same problem repeats. Line 1 has 3 series. If I click on any series then immediately if I click on the #2 line

    Blocks B and C are endangered. If I click on line 1, it works very well.

    Please help me.

    Thanks, Rezé

    Srikanth, Amatu Allah thanks for your time.

    I found the problem. Basically - the problem is because the names of the table on which was based the block was long and the name of the relationship that make up the generator creates is truncated and two relationships ended up having the same name. So, I just changed the names of ship of my relationship. It worked

    Thanks, Rezé

  • Reg: Doubt dbms_scheduler

    Hi Experts,

    I have the script below-

    (a) Proc_2 uses CREATE_JOB to call proc_1. In this case, I don't see the exit for ' *' and ' =' in my console dbms_output. But, the good works of the Insert (insert only once).

    (b) if I Uncomment RUN_JOB, there are 2 INSERTS that passes for the same data, and I can see the outputs ' *' and ' =' in my console output - once printed.

    {package_x}

    PROC_1 {}

    I'm in (slider)

    loop

    dbms_output.put_line('***');

    INSERT INTO table_x values (i.some_value);

    dbms_output.put_line('===');

    end loop;

    commit;

    }

       proc_2 {}

    dbms_scheduler.create_job ('Task1', proc_1);

    -/ / dbms_scheduler.run_job ('job1');

    }

    }

    No idea why this phenomenon occurs? I haven't worked a lot with planners, but assumes that CREATE_JOB is called to step (a).

    Please notify.

    Thank you

    -Nordine

    (on Oracle 10.2.0.1.0)

    No idea why this phenomenon occurs? I haven't worked a lot with planners, but assumes that CREATE_JOB is called to step (a).

    Time to read the manual and then, isn't?

    RUN_JOB performs the work in an interactive way, by default in your current session. That's why you can see DBMS_OUTPUT buffer.

    -Running a task immediately. If use_current_session is TRUE the job is run the

    -the user's current session. If use_current_session is set FALSE labor is running the

    -background by a slave of dedicated work.

    PROCEDURE run_job)

    job_name IN VARCHAR2,

    use_current_session IN DEFAULT BOOLEANTRUE,

    event_message IN SYS. ANYDATA DEFAULT NULL);

    CREATE_JOB (assuming you activate it) will submit JOB1 to be run as a background process.

    If you call RUN_JOB immediately after, JOB1 still exists in the dictionary (assuming once again it is auto-dropable), and runs a second time.

  • CLOB by moving to DBMS_SCHEDULER. SET_JOB_ANYDATA_VALUE

    I use OracleXE 11 g.

    My question is: "is it possible to pass the CLOB value to DBMS_SCHEDULER. SET_JOB_ANYDATA_VALUE? »

    Example:

    Does not work:

    Start
    dbms_scheduler.set_job_anydata_value (job_name = > 'some_job', argument_position = > 1, argument_value = > SYS.) ANYDATA. ConvertClob ('blabla'));
    end;

    Error report-

    ORA-22370: incorrect use of method

    ORA-06512: at "SYS." DBMS_ISCHED', line 244

    ORA-06512: at "SYS." DBMS_SCHEDULER', line 739

    ORA-06512: at line 9 level

    22370 00000 - "incorrect use of the %s method.

    * Cause: This method of SYS. AnyType or SYS. AnyData or SYS. AnyDataSet is

    be used inappropriately.

    * Action: See documentation for correct use.

    Works great:

    Start
    dbms_scheduler.set_job_anydata_value (job_name = > 'some_job', argument_position = > 1, argument_value = > SYS.) ANYDATA. ConvertVarchar2 ('blabla'));
    end;

    Thanks for any help!

    Hello

    It is a behavior that is expected according to the documents:

    ANYDATA TYPE

    Restrictions

    Persistent storage of ANYDATA cases whose type contains incorporated another LOBs that BFILE s is not currently supported.

    You then use VARCHAR2.

  • If it is possible to pass the variable of type table in sceduler.

    Hello

    need to schedule a task to call a procedure but procedure a array as a parameter.

    Let me know we can pass the type of object as a parameter in the Scheduler.

    procedure definition: procedure (number, varchar2, ch. pakage.table_type b)

    I don't think that you can do with a PL/SQL type in a package, but you can do it with a SQL type, as shown below.

    Scott@orcl12c > test_tab CREATE TABLE

    2 (col1 NUMBER,

    VARCHAR2 (30) 3 col2.

    col3 4 VARCHAR2 (30))

    5.

    Table created.

    Scott@orcl12c > CREATE or REPLACE TYPE table_type AS TABLE OF VARCHAR2 (30);

    2.

    Type of creation.

    Scott@orcl12c > test_proc CREATE OR REPLACE PROCEDURE

    2 (a NUMBER;

    3B VARCHAR2,

    4 c. table_type)

    5 AS

    6 BEGIN

    7 BECAUSE I have 1... c.COUNT LOOP

    8 INSERT INTO test_tab (col1, col2, col3) VALUES (a, b, c (i));

    9 END OF THE LOOP;

    10 END test_proc;

    11.

    Created procedure.

    Scott@orcl12c > SHOW ERRORS

    No errors.

    Scott@orcl12c > START

    2 DBMS_SCHEDULER. CREATE_JOB

    3 (job_name-online 'test_job',

    job_type 4-online "procedure_stockee."

    5 job_action-online 'test_proc. "

    6 number_of_arguments-online 3);

    7 DBMS_SCHEDULER. SET_JOB_ARGUMENT_VALUE

    8 (job_name-online 'test_job',

    argument_position 9-online 1.

    argument_value 10-10 online);

    11 DBMS_SCHEDULER. SET_JOB_ARGUMENT_VALUE

    12 (job_name-online 'test_job',

    13 argument_position-online 2

    14 argument_value-online 'test');

    15 DBMS_SCHEDULER. SET_JOB_ANYDATA_VALUE

    16 ("test_job", 3, sys.anydata.convertCollection (table_type ("Oracle", "database")));

    17 DBMS_SCHEDULER. SELECT ("test_job");

    18 END;

    19.

    PL/SQL procedure successfully completed.

    Scott@orcl12c > DBMS_LOCK EXEC. SLEEP (5)

    PL/SQL procedure successfully completed.

    Scott@orcl12c > SELECT * FROM test_tab

    2.

    COL1 COL2 COL3

    ---------- ------------------------------ ------------------------------

    10 test Oracle

    test 10 database

    2 selected lines.

  • Old values of CLOB not stored in the CSF

    Hello, we have configured Oracle Streams such as unidirectional replication (source v11.1.0.7.0 destination v11.2.0.3.0). We use a dml procedure managers to ensure history, in any case, we are not able to get an old values for replicated for UPDATE/DELETE dml operation CLOB columns. New values get properly:

    ...

    v_clobcol_new CLOB.

    v_clobcol_old CLOB.

    ...

    v_clobcol_new: = SYS. ANYDATA.accessClob (lcr.get_value ('NEW', 'CLOBCOL'))

    ...

    In any case, for the command:

    v_clobcol_old: = SYS. ANYDATA.accessClob (lcr.get_value ('OLD', 'CLOBCOL'))

    How to get:

    "ORA-26785: object has a NULL value.

    ORA-30625: shipping method on the argument NULL SELF is not allowed

    ORA-06512: at "DESTINATION. REPLICATED_TABLE', line 23

    ORA-06512: at line 1

    "

    We cannot see the old value for the CLOB, updated in the message column while LCR impression as well.

    How can we get the old value please?

    Any help appreciated.

    Best regards

    TukanTeam

    For any CRL including the command type is UPDATE or DELETE , old LOB values are ignored.

    Management of the logical change records (ADR)

    Thank you

  • Job details

    Hi all

    We have 4 types of tasks such as the

    PLSQL_BLOCK
    PROCEDURE_STOCKEE
    FILE EXECUTABLE
    STRING

    I do not have a clear idea about it after reading the docs. could you please give me just a desc on it.

    and also support a job is scheduled to refresh a materialized view. now that the work had failed. so in this case how we can check that the description of post as, which materialized view that he is trying to refresh.

    Thank you very much

    Published by: 899329 on November 21, 2012 22:48

    I assume you are talking about DBMS_SCHEDULER. Job_type CREATE_JOB parameter.
    The docs say

    This attribute specifies the type of job that you create. If it is not specified, an error is generated. Supported values:
    'PLSQL_BLOCK '.
    This specifies that the task is an anonymous PL/SQL block. Work or program arguments are not supported when the work or program type is PLSQL_BLOCK. In this case, the number of arguments must be 0.
    'PROCEDURE_STOCKEE '.
    This option indicates that the job is a PL/SQL or Java stored procedure or an external C subroutine. Only procedures, no functions with return values, are supported.
    "EXECUTABLE".
    This option indicates that the work is a work external to the database. External work is all that can be run from the operating system command line. ANYDATA arguments are not compatible with the type work or program EXECUTABLE. The task owner must have the privilege to CREATE a TASK EXTERNAL system until the work can be activated or run.
    'CHAIN '.
    This specifies that the task is a string. Arguments are not supported for a chain, number_of_arguments must be 0.
    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14258/d_sched.htm#i1000363

    How we can check that the description of post as, which materialized view that he tries to refresh.

    Oracle creates a trace in the user_dump_dest location file, when there is a raised work and this can show why.

    Concerning
    Girish Sharma

  • What are the (VARIANT OPAQUE) opaque types?

    A number of types of oracle as XMLType, Anydata and lcr$ _row_record are defined in SYS 'AS OPAQUE VARYING (*).
    USING THE LIBRARY.

    I wonder what is it? The only thing in the documentation I've found is "Oracle OPAQUE Types" of the SQLJ Developer's Guide. (http://docs.oracle.com/cd/E11882_01/java.112/e10590/objcoll.htm#i1008113)

    But I could not understand how it relates to PL/SQL. How can I make my own opaque type?

    What are the benefits of the opaque types compared to the normal PL/SQL object types?

    >
    In "The PL/SQL language Reference" book it nothing on this "AS OPAQUE VARIABLE", so how do I use just TYPE CREATE or REPLACE to make an opaque type?
    >
    There is no syntax like "AS VARIANT OPAQUE."

    When I said
    >
    You can also create your own types 'opaque' using TYPE CREATE or REPLACE
    >
    what I mean is that the types of Oracle you create is "opaque", in the sense that at the level of the instance object is just a series of bytes. You can access different components by using the dot notation.
    >
    He won't in details how to create PL/SQL
    >
    The data cartridge doc I cited goes into detail of how to create them; It is not just call them OPAQUE types. But functionally, they are since the internal components are concealed to Oracle. You must implement the cartridge interface functions that manipulate objects of your cartridge and Oracle Oracle does not or record what the internal structure is.

    The doc you city also explains how to create in Java that implements the appropriate interface.

    As a user, you need to focus on how to implement the functionality, you need and do not worry about the question of whether a class or an object, you create gets listed as OPAQUE in the dictionary.

  • How to dynamically read Collections?

    Hello
    I want to read collections of dynamically. I have a requirement where I need to take a whole COMPLEX and goto the terminal node and get results. I am able to get the attributes by using 'ALL_TYPES' and 'ALL_TYPE_ATTRS' etc, but how do I dynamically read?
    for example, I have a declared following simple type but is in error. I hope that any proposed solution will work with the 'TYPE T IS TABLE OF R' collection as well.

    DECLARE
    TYPE R IS RECORD (X VARCHAR2 (1), Y VARCHAR2 (1));
    VAR R;
    TST VARCHAR2 (100);
    BEGIN
    VAR X: = 'I ';
    VAR Y: = 'J '.
    RUN IMMEDIATELY "SELECT VAR. DOUBLE X ' IN TST;"
    DBMS_OUTPUT. PUT_LINE (TST);
    END;

    Thank you

    When I try to use ANYDATA example above, it gives error...

    Check this box:

    SQL> declare
      refcur1   sys_refcursor;
      txt       varchar2 (100);
    
      function testobj (myobj sys.anydata)
        return sys_refcursor
      is
        myval    varchar2 (10);
        refcur   sys_refcursor;
      begin
        open refcur for
          select x.column_value.getrootelement () || ': ' || x.column_value.extract ('*/text()').getstringval () result
            from xmltable ('*'
                           passing xmltype (myobj).extract ('//*')
                          ) x;
    
        return refcur;
      end;
    begin
      refcur1 := testobj (anydata.convertobject(test6 (test5 (test4 (1, sysdate, test3 (test2 (5, 67, test1 (sysdate))))))));
    
      loop
        fetch refcur1 into txt;
    
        exit when refcur1%notfound;
        dbms_output.put_line (txt);
      end loop;
    end;
    /
    TEST6:
    EIGHT:
    TEST4:
    FIVE: 1
    SIX: 22-MAR-12
    SEVEN:
    TEST2:
    TWO: 5
    THREE: 67
    FOUR:
    ONE: 22-MAR-12
    PL/SQL procedure successfully completed.
    
  • SQL Tuning Advisor error

    I wanted to use the SQL in the SQL worksheet setting feature. The DBA privilege me ADVISE system. But when I tried to use the feature, I get the following errors:
    An error was encountered performing the requested operation:
    
    ORA-06550: line 20, column 101:
    PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
    
    .(),*%&=-+</> at in is mod remainder not rem
    <an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
    LIKE4_LIKEC_between|| multiset member SUBMULTISET_
    The symbol "." was substituted for "ANYDATA" to continue.
    ORA-6550: line 20, column 140:
    PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
    
    .(),*%&=-+</> at in is mod remainder not rem
    <an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
    LIKE4_LIKEC_between|| mul
    ORA-6550:line 20, column 179:
    PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
    
    .(),*%&=-+</> at in is mod remainder not rem
    <an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
    LIKE4_LIKEC_between|| multiset
    06550,00000 - "line %s, column %s:\n%s"
    *Cause: Usually a PL/SQL compilation error.
    *Action:
    Vendor code 6550
    Then I get this right after the other:
    An error was encountered performing the requested operation:
    
    
    ORA-13605: The specified task or boject staName12325 does not exist for the current user.
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.PRVT_ADVISOR", line 4841
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 1093
    ORA-06512: at line 2
    13605.0000 - "The specified task or object %s does not exist for the current user."
    *Cause:   The user attempted to reference an advisor task or object
        using a anme that does not exist in the Advisor repository.
    *Action:  Adjust the name and retry the operation.
    Vendor code 13605
    Can someone help me please? I'm not a DBA, so I confused these error codes.

    Oracle SQL Developer 3.0.04 Build hand - 04.34
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0

    Robert

    Hi Robert,.

    SQL Setup seems stifling bind variables of your query clause-BETWEEN to_date function. Substitute a literal date string, and it seems to handle well. What is a solution?

    I ping the responsible developer and I hope he has time to investigate and to connect to a bug.

    Kind regards
    Gary Graham
    SQL development team

  • ADEP Data associated JEE 4.6 Services 2nd edition

    I'm having a problem associated with Flash builder 4.6 and Adobe air.

    I tried to make the web app and created the data model for what he... It works very well.

    Also, I created the application (air application) the same steps, but does not work...

    Gives error after like 30 seconds

    Could not initialize DataService.

    Unable to connect to the server to load the configuration for destinations: ["AirDemo.Company"]

    Web app it quickly shows the data in the datagrid control.

    But it does not show in the anydata air application...

    You have an idea about this?

    Adobe air, to tweaks?

    Let me know,

    Thank you

    You don't get a connection between the AIR application and the server. You must create ChannelSet and channel way explicit in your MXML file script block. Take a look at http://help.adobe.com/en_US/dataservicesjee/4.6/Modeling/WSf25ff5e57409435b3968fb6f130dbb2 1 d 03 - 8000.html how the entire chain gets set on the service.

    Rohit

  • Data types in pl/sql in bulk?

    Hi I would be offline if I ask this question, re [subject]?


    is it possible in pl/sql to run this.

    test procredure (' procedure_name', [param1,...] ");

    Sorry just new to pl/sql I'm looking for a consideration of php call_user_func_array.

    any thoughts would be greatly appreciated.

    I think the ANYDATA type is what you are looking for.

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/t_anydat.htm

Maybe you are looking for