How do I create the table collection


Here is the format of data that I got: (dd/mm/yy, value)
2007:12:3, 123
2007:12:5, 1124
....

After that I got the following data I want to draw a line chart.

According to the example code provided by Adobe, I need to create an arrayCollection collection, as
[Bindable]
public var aapl:ArrayCollection = new ArrayCollection([)
{date: "2005, 8, 1 ', nearby: 42.71},.
{date: "2005, 8: 2", nearby: 42.99},.
{date: "2005, 8, 3 ', nearby: 44}
]);

How can I do?

A big thank you!

April



I'm not very familiar with ACE (I work mainly with Java), but I think you can do it by instantiating an object for each entry in your collection target. Of course, you can dynamically add properties to objects, and so I think you can use the fields xaxis and x-axis of your object chartFormat as field names in a new object. It may well be a much more appropriate way to do! I think something along the lines of:

var ac: ArrayCollection collection = new ArrayCollection();
var acEntry: Object = new Object();
var time: String = "xaxis;
var value: String = "yaxis";
acEntry [time] = 1;
acEntry [value] = 2;
ac.addItem (acEntry);
for (var s: String in ac.getItemAt (0))
{
Alert.Show (s);
}

This will show the names of the properties in the entrance of the collection are 'xaxis' and 'yaxis. If agree you then you just need to create an object for each two entries in your split channels. Only, you need get domain names once, of course (you do not need to get them in each iteration of the loop). I don't know what you need to do in the way of garbage... I don't know if you need to 'remove' the objects when you are finished with them.

Andy

Tags: Flex

Similar Questions

  • How to find which create the table?

    Let's say I have a user named IMSDBA, and many users have IMSDBA privilege account.
    They can log on using that account and do some operations under this scheme.

    And someday, someone has created a table under the scheme. So I wonder if it is possible to know who actually created this table?

    PS: Each user who can log in as IMSDBA has corresponding Emplyee ID and address related to specific PC.

    Any ideas would be highly appreciated :-)
    Thanks in advance!

    Published by: PhoenixBai on September 17, 2009 10:40

    Now, if you are using Oracle audit to audit things like CREATE TABLE for IMSDBA, SYS. AUD$ seize among other things, the USERHOST and TERMINAL. Assuming you're only worried about the direct connections, not of three applications at several levels, this should give you the information you need determine which machine was used and, therefore, that the user. In hindsight, if your database is in ARCHIVELOG mode and you have logs archived in time of creating the table, you can use LogMiner to get this information as well.

    Of course, standard safety advice would be that each user has a separate Oracle account that they use to simplify the task of checking who did what.

    Justin

  • How do I update the table in Jdev

    Hello

    I use Jdev 11.1.1.7.1.

    The control of data, I added that ADF only read the table. When I click on the button create and return to the report screen, highlight lines are added.

    Highlighted those who is not inserted into the DB table but he showed in the report. How to remove it. How can I update the table?

    Kindly advice me.

    Thank you

    Swathi

    That's what I got:

    -You have a table read-only, and a link to create.

    -When you press the link create a popup will be launched with a new record (may be a form in the same table iterator).

    -When you press save to save the changes validation triggers, stop you to insert the record.

    -After the fire of validation you will close the pop-up window (by pressing icon or by pressing Cancel).

    -After closure of the pop-up window, you will find that reading one table has some blank lines.

    If it is your problem if you have 2 choices:

    1. in the AppModule you can make a new instance on the view object (to which redirect the table) If your view object called 'EmployeesView', so, in AppModule, you should have EmployeeView1 and EmployeeView2 and your table may point to EmployeeView1, and when you create new line create in EmployeeView2 and after completing the creation you can run the query and then refresh the table (as shown in the following code).

    2 - the second option in the popup cancelListener link at the rear bean method then you can update the table by program as:

        DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
        iter.getViewObject().executeQuery();
        RequestContext.getCurrentInstance().addPartialTarget(getTableComponent());// from table Binding property bind it to object in back bean
    
  • How can I update the table table of contents for the sub condition?

    Hi guys,.

    I have a custom table that must be updated in a table source 'abc ';

    I have to update 8 fields of 'abc', based on five keys corresponding between custom and abc records

    Here is the syntax I have a suite please let me know the effective way to do this.

    I get the error message for the syntax below. I think that 'FROM' keyword must not be use GTA?

    update of custom table one

    Set a.field1 = b.field1, a.field2 = b.field2, a.field3 = b.field3

    ABC b

    where value = ' 05 "

    Hello

    Whenever you have a problem, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) of all the tables involved, so that people who want to help you can recreate the problem and test their ideas.

    Also post the exact results you want from this data, as well as an explanation of how you get these results from these data, with specific examples.

    If you ask yourself on a DML statement, such as UPDATE, then the CREATE TABLE and you post instructions INSERT must re - create the tables as they are to the DML, and the results will be the content of the or a modified tables when it's all over.

    Simplify the problem as much as possible.  For example, if your real problem involves 8 columns, try to post an issue affecting only 2 or 3 columns.

    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?

    2766124 wrote:

    Hi guys,.

    I have a custom table

    What is a custom table?  How is it different from a regular table?

    that must be updated in a table source 'abc ';

    I have to update 8 fields of 'abc', based on five keys corresponding between custom and abc records

    Here is the syntax I have a suite please let me know the effective way to do this.

    I get the error message for the syntax below. I think that 'FROM' keyword must not be use GTA?

    update of custom table one

    Set a.field1 = b.field1, a.field2 = b.field2, a.field3 = b.field3

    ABC b

    where value = ' 05 "

    An example of the correct syntax for the use of a subquery in an UPDATE statement is:

    UPDATE one

    SET (Field1, Field2, Field2) =

    (SELECT field1, Field2, field3

    ABC

    WHERE value = ' 05 "

    );

    This is a correct syntax, but I don't know if this will do exactly what you want, because I don't know exactly what you want.

    FUSION is often easier and sometimes more effective than updated.

  • Generate the DDL to create the table in the database

    Hi all

    I want to create the new fact and Stadium as being under the statement:

    (1) in the designer, access the models > Oracle BI Applications (folder) > (model) Oracle BI Applications > done (sub-model) step, right click on the WC_SAMPLE_FS data store and select duplicate the selection.

    2) double-click the new data store, and then rename it. Name and resource name must match the name of the actual table. Alias can be the same or greater value easy to use.

    (3) in the sub-tab of the columns, add all columns.

    (4) repeat the same steps to create the fact Table by copying the data store WC_SAMPLE_F under the submodel of "facts".

    (5) for the fact table, define the type of OLAP to "fact Table.

    (6) generate the DDL to create the table in the database.

    In step 6, I don't know where and how to generate the DDL to create the database table. Please help me. If you have another tutorial with screenshot, please share with me. Thank you.

    Kind regards

    Cong

    Hi Cong,

    Please see section 6.3 DDL generation of scripts in this link:

    Working with the Designer of the common Format - 11g Release 1 (11.1.1)

    I hope this helps.

    Thank you!

    Saran.

  • Could not commit: ORA-00928: lack of creating the table SELECT keyword

    Hello guys.
    I tried to create the table with web interface on oracle 11g.

    I just follow this path on interface: schema-> table-> create-> standard (lot organized)-> SQl select on (set using the)->
    and I just use these scripts to create the table:

    CREATE TABLE suppliers
    (the number (10) of supplier_id not null,)
    supplier_name varchar2 (50) not null,
    Contact_Name varchar2 (50)
    );

    but this error occurred: failed to commit: ORA-00928: lack of SELECT key word!
    Please lock on this picture for more information: http://s17.postimg.org/kgoumzmvz/attachment.jpg

    could you help me please?
    and I could not find any manual for working with the web interface in oracle 11g.
    Please give me somesources to start.
    Thank you.

    1003778 wrote:
    Thank you sybrand_b
    but I already read this document.
    Unfortunately, there is nothing on the creation of table with sql scripts in this document!

    and I really don't understand how to create table with SQL commands! My question has not yet been answered.
    you please give me little details about it?
    for example, how can create table using this sql command:

    CREATE TABLE suppliers
    (the number (10) of supplier_id not null,)
    supplier_name varchar2 (50) not null,
    Contact_Name varchar2 (50)
    );

    Thank you.

    Edited by: 1003778 may 3, 2013 11:43

    When you got to the CREATE TABLE screen, you have selected "set using the--> SQL.
    Did you notice in the window that appears, just above this entry field is this text: "enter a SQL * select * statement below.» ' + This query results will be used to fill the table with Canada.* + "(underlining)
    And hip, just to the left of this field is this text: «CREATE TABLE AS»

    He tries to build a ' CREATE TABLE AS SELECT... ». Creates a table with the same structure as the table in which you SELECT and fills with the results of this SELECT '. With your entry, you create a CREATE TABLE AS CREATE TABLE to read statement...

    If you want to create your tables with a simple CREATE TABLE command, go to sqlplus and do it. You want to have a graphical interface to help build a simple CREATE table, when you get to the CREATE TABLE page, just to stay there with the default "use Define-> column specification." If you want, after completing "build" your table specification here, you will have a "Show sql" option to show you the actual sql statement that will be executed to create your table.

  • Create the Table as and hybrid columnar Compression

    I'm looking to connect to tables help to create the table as I had a question about columnar Compression hybrid. For the test, I found that the uncompressed daata will be approximately 10 to and compressed data will be around 1 TB. I anticipate compress the table when the table to create as an instruction and wanted to know in what order Oracle forge do compression, that is, the table will be created then Oracle will compress the data or will the compressed table that the table will be created. The motivation behind the question is to see how much storage I need to complete the operation.

    Thank you

    If you are using
    create table xxx compress for query high what to choose...

    While the data will be compressed before insertion, so in your case, it will use about 1 TB of disk space

  • create the table in SELECT (question)

    Hello

    In regards to create the table as subquery, I read that:

    The data type of column definitions and the NOT NULL constraint are passed to the new table. Note that only the explicit NOT NULL constraint is inherited. The PRIMARY KEY column will not function NOT NULL column null. Any other rule of constraint is not passed to the new table. However, you can add constraints in the column definition.

    Can someone explain to me how to do this? Or, how we need to specify the constraints (and also the default values for columns, because it is possible) for the columns in the column definition?

    In addition, I do not understand this: the PRIMARY KEY column will not function NOT NULL column zero.
    Can someone give me some small examples regarding these?
    For example, it generates an error:
    create table test1 (a, b, c default sysdate) 
    as 
    select 1, 'b' from dual
    Thank you!

    Edited by: Roger22 the 01.09.2011 11:37

    Hello

    When you set a primary key consists of a unique constraint and a constraint not null, but they are both implicit with the primary key. When you create the table because it will copy only the explicitly declared NOT NULL constraints so it isn't look upward than the implicit NOT NULL primary key.

    SQL> create table dt_pk
      2  (   id      number primary key,
      3      col1    number not null,
      4      col2    number
      5  )
      6  /
    
    Table created.
    
    SQL> desc dt_pk
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     ID                                        NOT NULL NUMBER
     COL1                                      NOT NULL NUMBER
     COL2                                               NUMBER
    
    SQL> create table dt_pk2 as select * from dt_pk;
    
    Table created.
    
    SQL> desc dt_pk2;
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     ID                                                 NUMBER
     COL1                                      NOT NULL NUMBER
     COL2                                               NUMBER
    
    SQL> select constraint_name,constraint_type from user_constraints where table_name='DT_PK'
      2  /
    
    CONSTRAINT_NAME                C
    ------------------------------ -
    SYS_C006935772                 C
    SYS_C006935773                 P
    
    SQL> select constraint_name,constraint_type from user_constraints where table_name='DT_PK2'
      2  /
    
    CONSTRAINT_NAME                C
    ------------------------------ -
    SYS_C006935774                 C
    

    However, a primary key can reuse existing constraints and indexes instead of declaring new. For example, we can explicitly declare a constraint not null on the column id and then create a primary key. This means that we will now inherit the constraint not null in the ETG, as it has been explicitly declared and is a constraint separate in there own right that has been 'borrowed' by the pk constraint.

    SQL> create table dt_pk3 (id number not null, col1 number not null, col2 number);
    
    Table created.
    
    SQL> alter table dt_pk3 add constraint dt_pk3_pk primary key (id);
    
    Table altered.
    
    SQL> select constraint_name,constraint_type from user_constraints where table_name='DT_PK3'
      2  /
    
    CONSTRAINT_NAME                C
    ------------------------------ -
    SYS_C006935775                 C
    SYS_C006935776                 C
    DT_PK3_PK                      P
    
    SQL> create table dt_pk4 as select * from dt_pk3;
    
    Table created.
    
    SQL> desc dt_pk3;
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     ID                                        NOT NULL NUMBER
     COL1                                      NOT NULL NUMBER
     COL2                                               NUMBER
    
    SQL> desc dt_pk4;
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     ID                                        NOT NULL NUMBER
     COL1                                      NOT NULL NUMBER
     COL2                                               NUMBER 
    

    Regarding the definition of the default values, you must always specify the column in the select, but doing so means follow you the semantics of a default in a standard INSERT statement, i.e. you specified the column, you must provide a value, in which case even if the value is null, the default value will not be used. However, the new inserted rows where the column with the default value is not specified will revert to the default.

    SQL> create table test1 (a, b, c default sysdate)
      2  as
      3  select 1, 'b' from dual
      4  /
    create table test1 (a, b, c default sysdate)
                        *
    ERROR at line 1:
    ORA-01730: invalid number of column names specified
    
    SQL> create table test1 (a, b, c default sysdate)
      2  as
      3  select 1, 'b', null c from dual
      4  /
    select 1, 'b', null c from dual
                   *
    ERROR at line 3:
    ORA-01723: zero-length columns are not allowed
    
    SQL> create table test1 (a, b, c default sysdate)
      2  as
      3  select 1, 'b', cast(null as date) c from dual
      4  /
    
    Table created.
    
    SQL> select * from test1;
    
             A B C
    ---------- - ---------
             1 b
    
    SQL> insert into test1(a,b) values(2,'b');
    
    1 row created.
    
    SQL> select * from test1;
    
             A B C
    ---------- - ---------
             1 b
             2 b 01-SEP-11
    

    To create a constraint, you must list all columns without the data types and constraints list online.

    SQL> create table dt_cons (id number, col1 number, col2 number, constraint chk2 check(col2 IS NULL or col2>10))
      2  as select * from dt_pk3
      3  /
    create table dt_cons (id number, col1 number, col2 number, constraint chk2 check(col2 IS NULL or col2>10))
                          *
    ERROR at line 1:
    ORA-01773: may not specify column datatypes in this CREATE TABLE
    
    SQL> create table dt_cons (constraint chk2 check(col2 IS NULL or col2>10))
      2  as select * from dt_pk3
      3  /
    create table dt_cons (constraint chk2 check(col2 IS NULL or col2>10))
                         *
    ERROR at line 1:
    ORA-00904: : invalid identifier
    
    SQL> create table dt_cons (col2 constraint chk2 check(col2 IS NULL or col2>10))
      2  as select * from dt_pk3
      3  /
    create table dt_cons (col2 constraint chk2 check(col2 IS NULL or col2>10))
                          *
    ERROR at line 1:
    ORA-01730: invalid number of column names specified
    
    SQL> create table dt_cons (id,col1,col2 constraint chk2 check(col2 IS NULL or col2>10))
      2  as select * from dt_pk3
      3  /
    
    Table created.
    
    SQL> desc dt_cons
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     ID                                        NOT NULL NUMBER
     COL1                                      NOT NULL NUMBER
     COL2                                               NUMBER
    
    SQL> insert into dt_cons values(2,2,2);
    insert into dt_cons values(2,2,2)
    *
    ERROR at line 1:
    ORA-02290: check constraint (JJACOB_APP.CHK2) violated
    
    SQL> insert into dt_cons values(2,2,10);
    insert into dt_cons values(2,2,10)
    *
    ERROR at line 1:
    ORA-02290: check constraint (JJACOB_APP.CHK2) violated
    
    SQL> insert into dt_cons values(2,2,11);
    
    1 row created.
    
    SQL> insert into dt_cons values(2,2,null);
    
    1 row created.
    
    SQL>
    

    HTH

    David

  • Creating the table with time stamp

    I need to create the table with the data inside buffer

    Can you help me pls

    If it works today,

    create the table test_04NOV2010 in select * from product where product_code = '101'

    If executed tmrw,

    create the table test_05NOV2010 in select * from product where product_code = '101'
    declare
    
    v_date varchar2(25);
    v_sql  varchar2(20);
    
    begin
    
    select to_char(sysdate,'DDMONYYYY') into v_date from dual;
    
     v_sql := ' create table ' ||TEST||'_'||'v_date'|| 
                 ' as '
                 ' select * from Product where product_code = '101'
              
     EXECUTE IMMEDIATE v_sql;
    
    end;
    can is it you pls let me know how to use it in PL SQL

    Can you help me pls

    Thank you very much
    declare
    
    v_date varchar2(25);
    v_sql  varchar2(2000); --Noted this. this was also small.
    
    begin
    
    select to_char(sysdate,'DDMONYYYY') into v_date from dual;
    
     v_sql := ' create table TEST_'||v_date||
                 ' as select * from Product where product_code = ''101''';
    
     EXECUTE IMMEDIATE v_sql;
    
    end;
    

    You can use the Q operator also.

    DECLARE
    
    v_date varchar2(25);
    v_sql  varchar2(2000);
    
    BEGIN
    
    select to_char(sysdate,'DDMONYYYY') into v_date from dual;
    
     v_sql := ' create table TEST_'||v_date||
                Q'[ as select * from Product where product_code = '101']';
    
     EXECUTE IMMEDIATE v_sql;
    
    END;
    

    Published by: mohamed on November 4, 2010 05:32

  • Creating the table and get the invalid identifier

    Thank you so much Ed (and all those who responded) to my previous post!, you all be extremely useful.

    In fact, I have another question... Can I repost a new thread or continue on this one?

    Here's my problem.

    create the table DonationEvent
    ('ID' NUMBER (1,1) Not Null,)
    "EventNumber" NUMBER (1,1) Not Null,
    'Type' char (30) Not Null,
    "OrganizerName' char (30) Not Null,
    'Location' char (30) Not Null,
    'Date' NUMBER (10.1) Not Null,
    'Time' char (30) Null,
    "DonationTotal" NUMBER (10.1) Not Null,

    Primary Key (ID),



    );

    Getting ORA-00904: invalid identifier

    Also I use Express Edition 10g, how can I get a view of context to see the line where error occurs?

    Cushgod wrote:
    I always get invalid identifiers... Your focus is so useful! My teacher is not useful. At his table did not work it would be copy and paste that work and say that he didn't had the time to debug it... I can't even say what my mistake is on in the Express edition...

    What do you use to write/test your sql? That's why I asked sqplus. This is the basic sql shell. In the examples I showed you I had by the sql in a text (doit.sql) file, shot to the top of sqlplus, connect to the base, execute "doit.sql".

    You're my only hope! Thank you very much in advance, I learn a little which makes me question why my teach would even use "" eventid NUMBER (1,1) not null "" after your explanation. " It's not supposed to have a decimal number to a primary key event IDS... anyway thanks in advance.

    create the table DONATIONEVENT
    (eventid NUMBER (5) Not Null,)
    eventnumber NUMBER (9) Not Null,
    EventType VARCHAR2 (30) Not Null,
    OrganizerName VARCHAR2 (30) Not Null,
    location VARCHAR2 (30) not Null,
    EventDate DATE Not Null,
    duration VARCHAR2 (30) Null,
    donationtotal NUMBER (10.2) Not Null,

    Primary Key (ID),

    );

    If I use a DATE instaed (4) no setting, I get "' missing right parenthesis"... once again. I counted my bracket and the match 10 (and 10)
    See below.

    DATE is right. Where did you get the idea of DATE (4)?

    The documentation site (tahiti.oracle.com) Oracle seems to be down at the moment, but you really, * really *, * REALLY * need to get there and take the reference SQL and SQL * reference manuals more.

    create the table DONATIONEVENT
    (eventid NUMBER (5) Not Null,)
    eventnumber NUMBER (9) Not Null,
    EventType VARCHAR2 (30) Not Null,
    OrganizerName VARCHAR2 (30) Not Null,
    location VARCHAR2 (30) not Null,
    EventDate DATE (4) Not Null,
    duration VARCHAR2 (30) Null,
    donationtotal NUMBER (10.2) Not Null,

    Primary Key (ID),

    );

  • Trying to create the table using Clause any Union with Select multiple stmts

    The motion seeks to get the substring of the value to for example.
    If the value is * ASA 2 * then so do ASA
    where as if the value is * 1.5 TST * it sholud come as TST as wise for others too.
    I am trying to execute stmt SQL written but in error as below:

    * ' ORA-00998 must appoint this expression with the alias column 00998.00000 - must appoint this expression with the column alias. "

    CREATE TABLE TEST_CARE AS
    (
    SELECT row_id, old_care_lvl, SUBSTR(old_care_lvl,3), len test_care_lvl FROM
    WHERE LENGTH (old_care_lvl) = 5
    UNION ALL
    SELECT row_id, old_care_lvl, SUBSTR(old_care_lvl,3), len test_care_lvl FROM
    WHERE LENGTH (old_care_lvl) = 7
    UNION ALL
    SELECT row_id, old_care_lvl, SUBSTR(old_care_lvl,3), len test_care_lvl FROM
    WHERE LENGTH (old_care_lvl) = 14
    UNION ALL
    Row_id SELECT, old_care_lvl, SUBSTR (old_care_lvl, 3), LEN test_care_lvl
    WHERE LENGTH = 7 AND old_care_lvl (old_care_lvl) = "Regular."
    );

    I want to create the table using the above given the multiple selection by using the Union ALL clause, but trying to create run query error like "ORA-00998 must appoint this expression with the alias column 00998.00000 - must appoint this expression with the column alias.

    Please guide me how to approach to solve this problem.
    Thanks in advance.

    Try this->

    CREATE TABLE TEST_CARE
    AS
      select *
      from (
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =5
              UNION ALL
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =7
              UNION ALL
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =14
              UNION ALL
              SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3),LEN FROM test_care_lvl
              WHERE LENGTH(old_care_lvl) =7 AND old_care_lvl ='Regular'
          );
    

    N.B.: Not tested...

    Kind regards.

    LOULOU.

  • create the table, otherwise there is?

    I need to run a script that includes create table and insert some in this table, but it fails after the second run because the table exists.

    Is it possible to have a command like.., create the table, otherwise it is..., which does not give me of the errors after the second run?

    CREATE TABLE BREND

    (

    ID VARCHAR2 (10) PRIMARY KEY NOT NULL,

    NAME VARCHAR2 (100) NOT NULL

    );

    INSERT IN BREND (ID, NAME) VALUES ('1 ', 'o2');

    CREATE TABLE USER_BREND

    (

    ACTIVATE THE 'USER_ID' NUMBER (19.0) NOT NULL,

    ACTIVATE THE "BREND_ID" VARCHAR2 (10) NOT NULL,

    'USER_BREND_PK' CONSTRAINT PRIMARY KEY ('USER_ID', 'BREND_ID'),

    "USER_BREND_USER_FK' FOREIGN KEY ('USER_ID') CONSTRAINT

    ACTIVATE THE REFERENCE 'USER' ('ID') ON DELETE CASCADE,

    "USER_BREND_BREND_FK' FOREIGN KEY ('BREND_ID') CONSTRAINT

    SELECT REFERENCES "BREND' ('ID') ON DELETE CASCADE

    );

    COMMENT ON THE COLUMN "USER_BREND." ' ' User_id ' IS "associated Foreign key for the user;

    COMMENT ON THE COLUMN "USER_BREND." "BREND_ID" IS "foreign key for the associated brend ';

    INSERT INTO 'USER_BREND' (SELECT ID as USER_ID, '1' user BREND_ID')

    Hello

    Try the code below, I placed an exception for no data found:

    DECLARE
    v_emp int:=0;
    BEGIN
      SELECT count(*) into v_emp FROM dba_tables where table_name = 'BREND' and owner ='ME'; 
    
     EXCEPTION WHEN NO_DATA_FOUND then
         EXECUTE IMMEDIATE 'create table BREND ( ID VARCHAR2(10) PRIMARY KEY NOT NULL, NAME VARCHAR2(100) NOT NULL)';
    END;
    /
    

    Kind regards.

  • How to find all the table names in all modules in EBS R12?

    How to find all the table names of all the modules in EBS R12?

    In addition, you can go to http://etrm.oracle.com, you select the version of the EBS, select "FND Data" or "S/n data", select the Type of the object TABLE and you will get all the tables of EBS in module.

  • How do I get the table cells?

    It's my get code that any object in propagation.

    Int32 childCount = parent-> GetChildCount();

    for (int32 /IndexEnfant = 0; childIndex < childCount; /IndexEnfant ++)

    {

    InterfacePtr < IHierarchy > child (parent-> QueryChild (childIndex));

    ChildUIDRef = UIDRef: GetUIDRef (child);

    TextFrame table

    }

    How do I get the table cells?

    You can access the table using ITableModel and GridAddresscell.

    But to get to the ITableModel since ITextModel implies some complexity.

    Few things to understand:

    -L'interface that corresponds to the written document is ITextModel

    -The recommended method to iterate tables in a story done by ITextStoryThreadDictHier

    -Get the ITextStoryThreadDictHier on the history and the main thread as ITextStoryThreadDictHier::NextUID()

    -Now get ITextStoryThreadDict for UID and query for ITableModel. If you get ITableModel, then you have found the table.

    Once you have ITableModel you can get ITableCell as follows:

    ITableModel:QueryCellContentBoss(GridAddress); Give ITableCell

    You can refer to SnipperRunner (SnpManipulateTextModel).

    Download text template table model:

    InterfacePtr textModel (storyUIDRef, UseDefaultIID());

    InterfacePtr textStoryDictHier (textModel, UseDefaultIID());

    NextUID UID = sourceStory.GetUID (); / / Download the main thread dictionary

    Now loop the dicthier to iterate through all the threads dicts.

    InterfacePtr textStoryThreadDict (sourceStory.GetDataBase (), nextUID, UseDefaultIID());

    InterfacePtr tableModel (textStoryThreadDict, UseDefaultIID());

    If (tableModel) / / the storythreaddict represents a table

    {

    You are now in a table

    }

  • How do I create the file zxp of the aip, generation after generation of the solution file.

    How do I create the file zxp file aip, generation after generation of the solution (program code)

    I build example file from CC (given with the sdk) 2015 Sdk for the creation of the aip file, so I want to create file zxp that generate PID file

    How do I do that please help me

    Thanks and greetings

    Kundan

    Yes, you must rebuild your plugin using the SDK CC headers. I thought that you had already done, but looking back through the thread you started saying the problem was with the DrawArt sample in the SDK of CC and then move to your plugin.

Maybe you are looking for