key preserved table

I try to understand the key preserved table I use following script and using the table schemas HR employee


SQL > create table t2 in select * from hr.employees;
SQL > create table t4 in select * from hr.employees;

Table created.

SQL > create view v2 as
2 Select a.first_name, b.last_name
t4 3 a, t2 b
4 where a.employee_id = b.employee_id;

Created view.


now isn't this view key preserved as I use the primary key of these tables in the join I thought there would be one in a relationship


now when I do this

SQL > update v2
2 set name = 'vinod '.
3 where name = 'Feeney;
Set name = 'vinod '.
*
ERROR on line 2:
ORA-01779: cannot modify a column that is mapped to a table not preserved key

can you please tell me why I get this error

create table as select... does not inherit the primary key.
The t2 and t4 is not a primary key.
This is why you are getting the error.

----------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Key preserved table removal: need help.

    Note When I followed the example of oradoc (in bold large print below):

    DELETE the instructions

    You can delete a view in join provided there is one and the same table in the join key. The key-preserved table can be repeated in the FROM article.

    The following DELETE statement works on the emp_dept view:

    DELETE FROM emp_dept WHERE ename = 'SMITH';

    This DELETE declaration on the emp_dept view is legal, because it can be translated to a DELETE operation on the basis of emp table and because only the emp table is the table of key-preserved only in the join.

    In the following view, a DELETE operation is permitted, because even though there are two tables stored in the key, they are from the same table. In other words, the key-preserved table is repeated. In this case, the delete statement works on the first table of the FROM list ( e1 , in this example):

    CREATE VIEW emp_emp

    SELECT e1.ename, e2.empno, e2.deptno

    E1, e2 emp EMP

    WHERE e1.empno = e2.empno;

    I tried the above and it worked very well. Here's my version of how I tried

    CREATE VIEW emp_emp

    SELECT e1.last_name, e2.employee_id, e2.department_id

    Of e1, e2 used employees2

    WHERE e1.employee_id = e2.employee_id; / * (table employees in the HR diagram) * /.

    delete from emp_emp where employee_id between 100 and 190;

    then I tried my own and not much luck. Notice in the example I use the employees of HR diagram below table

    In any case here it is:

    CREATE VIEW Emp_test AS

    SELECT the name of e1.last_name, e1.employee_id, e2.department_id

    OF Employees2 e1, e2 Employees2

    WHERE e1.employee_id = e2.employee_id;

    delete from emp_test where employee_id = 100;

    Note there is a preserved here, my employees2 table underlying table key.



    Error: ORA-01752: cannot delete the view without exactly a key preserved table

    01752 00000 - "impossible to remove from the view without exactly one key-preserved table.

    * Cause: The deleted table had

    -No table preserved key,

    -several tables preserved key, or

    -the key preserved table was a display not merged.

    * Action: Redefine the view or remove it from the underlying base table.

    In this case, it is simply repeated and as the doc said:

    DELETE the instructions

    You can delete a view in join provided there is one and the same table in the join key. The key-preserved table can be repeated in the FROM article.

    http://docs.Oracle.com/database/121/admin/views.htm#ADMIN11782

    What Miss me in my script...? I haven't tried a few variations, no luck, I can't understand what is wrong.

    In the doc if you ctrl + f, the word 'repeat' it will find repeated preserved much easier key topics (this is the only time the word repetition is used)

    Textbooks are wrong, besides - you can delete a view in join even with several DIFFERENT tables preserved key in the view definition.

    Build a script - followed by the exit.

    create table emp2 in select * from emp;

    ALTER table emp2 add constraint e2_pk key (empno) primary;

    Select count (*) from emp2;

    create or replace view emp_emp as

    Select e1.ename, e2.empno, e2.deptno

    -of emp e1, e2 emp2

    of e1, e2 emp emp2

    where e1.empno = e2.empno

    ;

    delete from emp_emp where empno = 7900;

    delete from emp_emp where empno between 7400 and 7600;

    Select count (*) from emp;

    Select count (*) from emp2;

    -----

    Table created.

    Modified table.

    COUNT (*)

    ----------

    14

    1 selected line.

    Created view.

    1 line removal.

    3 deleted rows.

    COUNT (*)

    ----------

    14

    1 selected line.

    COUNT (*)

    ----------

    10

    1 selected line.

    The script has two options for the FROM clause and (as the manual says in fact) the FIRST table in the from clause is the one whose lines are deleted.

    I thought that I had written something on this several years ago, but if I can't find the article.

    Concerning

    Jonathan Lewis

  • ORA-01445: cannot select ROWID, or sample, a view of join without key - preserved table form w/report and LOV

    I create a page "Form on a Table with Report" (APEX 5). Table I has 3 columns: cat_key, item_value, item_description. The cat_key is a foreign key in a table with columns cat_key, cat_value. I created the report and everything works fine.  The page of the report shows my domain cat_key in number, so I want it instead to display the cat_value. I change the field cat_key to a text based on LOV, select my LOV and now when I view the page of report I get the "'ORA-01445: cannot select ROWID from where sample, a join without key preserved table view ' error." The report uses the ROWID as a link to the edit page field.

    If I use the same tables and even shared LOV in a report page interactive, it works fine.

    What I am doing wrong?

    This is a limitation of the IR Apex will rewrite your query to a query that includes the lookup table and the columns. So now you have actually created a query on an inline view, which causes the error. You can see the query apex created when running in debug mode. APEX will join the table of choice with your primary table. For example from one of my IR:

    Select 'ID '...

    "MSL". "" HIS_COUNTRIES "=> my primary table

    ) ) b,

    (select rv_meaning d, rv_low_value r

    of msl_ref_codes_table

    where rv_domain = "JOHN".

    ) L1 = > query My LOV Lookup

    ...

    So, if possible, base your reports and forms on the real primary key, no rowid.

    You can also write the IR query with the search yourself:

    Select T1.rowid...

    of primary_table T1

    look_table L1

    ...

  • How Oracle determines an as key preserved table or not?

    I tried to join employees and departments in the HR schema. Normally, the departments is not preserved key in the join operation. But I fixed in the view so that each service has exactly one employee, dept_no to become the key for the join. But still, he said, "cannot change the table not preserved key." Any tips? the type of join (left or right or inside or outside) does affect the mechanism on how Oracle determine which are preserved to key and which are not? Thank you.

    Hello

    I would say yes, maybe can depend on join to condition paritially between tables 99% of the time. Because if you see the documentation it says

    "It is not necessary the keys of a table to be selected to be key preserved. It is sufficient if the keys have been selected, then they would also be key (s) of the result of the join. "

    'A table is kept if all keys in the table can also be a key to the result of the join key' - to turn the key role of role by providing the unique character.

    -Pavan Kumar N

  • How to find child every column foreign keys of tables without index {worm 10 g}

    Hi Experts,

    I have need of a query to find child all the foreign keys of table columns, which are not having an index on the foreign key column.

    Try this.

    SELECT T1. OWNER,

    T1. CONSTRAINT_NAME,

    T1. TABLE_NAME,

    T2. COLUMN_NAME,

    T1. CONSTRAINT_TYPE

    OF ALL_CONSTRAINTS T1,.

    ALL_CONS_COLUMNS T2

    WHERE T1. CONSTRAINT_NAME = T2. CONSTRAINT_NAME

    AND T1. TABLE_NAME = T2. TABLE-NAME

    AND T1. OWNER = T2. OWNER

    AND T1. CONSTRAINT_TYPE = 'R '.

    AND T2. COLUMN_NAME NOT IN (SELECT COLUMN_NAME FROM ALL_IND_COLUMNS T WHERE TABLE_NAME = T1.) TABLE_NAME AND COLUMN_NAME = T2. COLUMN_NAME);

    Post edited by: Parth272025

  • ORA-02266: permit to unique/primary keys in table referenced by foreign keys

    Hello
    I'm trying to delete data from a table by dropping a partition. I've identified all the child tables by running the following command.

    Select "select count (*) from ' |" table_name |' where employee_id = 100; »
    of dba_constraints
    where constraint_type = 'R '.
    and r_constraint_name in
    (select constraint_name from dba_constraints
    where constraint_type in ('P', 'U') and table_name =' EMPLOYEE);


    "SELECTCOUNT (*) OF | TABLE_NAME | "WHEREEMPLOYEE_ID_ID = 100; »
    -----------------------------------------------------------------------------------------------
    Select count (*) in the PT_ORDERS where employee_id = 100;
    Select count (*) in the PT_DEP where employee_id = 100;
    Select count (*) in the PT_SKILLSET where employee_id = 100;

    I dropped the score for number 100 in all child tables. The count (*) select returns 0 rows for each of the foregoing.

    When I try to run the command on the EMPLOYEE table, below I get ' ORA-02266: unique/primary keys in table referenced by foreign keys enabled.

    Drop partition ALTER table EMPLOYEE EMP_ID_100;

    I don't see why I am unable to give up this partition now because it is data child present in any of the referenced tables. Any suggestions or help on this would be greatly appreciated.

    Thank you.

    RGS,
    Rob

    You must first disable foreign key constraints and delete the partition. Deletion of lines or a fall in childs partitions do not work in this case
    as you have the overall dependence:


    SQL > create table scott.t (x int primary key, int y)
    2 partition by (list (y)
    3 values p_1 (1) partition, partition values p_2 (2))
    4.

    Table created.

    SQL > create table scott.t_c (x int references scott.t (x), int y)
    2 partition by (list (y)
    3 values p_1 (1) partition, partition values p_2 (2))
    4.

    Table created.

    SQL > insert into scott.t values (1,1)
    3 N

    1 line of creation.

    SQL > insert into scott.t values (2,2)
    3 N

    1 line of creation.

    SQL > insert into scott.t_c values (1,1)
    3 N

    1 line of creation.

    SQL > insert into scott.t_c values (2,2)
    3 N

    1 line of creation.

    SQL > commit;

    Validation complete.

    SQL > alter table scott.t_c drop partition p_2.

    Modified table.

    SQL > alter table scott.t drop partition p_2.
    ALTER table drop partition p_2 scott.t
    *
    ERROR on line 1:
    ORA-02266: permit to unique/primary keys in table referenced by foreign keys

    SQL > select constraint_name from dba_constraints
    2 where owner = 'SCOTT' and constraint_type = 'P '.
    3 and table_name = 't';

    CONSTRAINT_NAME
    ------------------------------
    SYS_C0011058

    SQL > select constraint_name from dba_constraints
    2 where owner = 'SCOTT' and constraint_type = 'R '.
    3 and r_constraint_name = "SYS_C0011058";

    CONSTRAINT_NAME
    ------------------------------
    SYS_C0011059

    SQL > alter the constraint to disable scott.t_c table SYS_C0011059;

    Modified table.

    SQL > alter table scott.t drop partition p_2.

    Modified table.

    SQL > alter table scott.t_c enable novalidate constraint SYS_C0011059;

    Modified table.

    I guess you should consider options such as partitioning Referencial (with some restrictions).

    Best wishes
    Dmitry.

  • ORA-02449: unique/primary keys in table referenced by foreign keys

    SQL > create table empinformation
    () 2
    primary key pk_empinformation number (6) 3 forced mobileno
    4 address varchar (100),
    5 salary number (10),
    6 personalid varchar (10) constraints fk_employees_section references employee (emp_id));

    Table created.


    SQL > drop table empinformation;

    ORA-02449: unique/primary keys in table referenced by foreign keys

    solution

    This error happens when the foreign key of a table is referenced by the primary key of the other table.

    If you want to remove the table had refernce key then, you must
    need to remove this table with the foreign key is referenced.

    or

    SQL > drop table EMPLOYEE CASCADE CONSTRAINTS;
    Deleted table.

    This will remove the table parent without droping the child table.

    Published by: Ritesh Singh October 3, 2011 14:04

  • foreign key ALTER TABLE QUERY PROBLEM

    HAI ALL,

    ANY SUGGESTION PLEASE?

    UNDER: foreign key ALTER TABLE QUERY PROBLEM

    I want TO CREATE AND ALTER TABLE foreign key:

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_PATIENT_NUM
    WITH
    TABLE: PATIENTS_MASTER1
    COLUMN: PATIENT_NUM (THIS IS THE KEY PRIMARY AND UNIQUE)

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_TEST_NAME
    WITH
    TABLE: TESTS_MASTER1
    COLUMN: TEST_NAME ((C'EST LA CLÉ UNIQUE))
    ---------------


    SQL + QUERY DATA:
    -----------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002742_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.
    ---------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002735_1 foreign (HMTLY_TEST_NAME)
    references TESTS_MASTER1 (TEST_NAME);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002735_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.

    ==============

    4 TABLES OF LABORATORY CLINIC FOR DATA ENTRY AND GET REPORT ONLY FOR THE TESTS CARRIED OUT FOR PARTICULAR

    PATIENT.

    TABLE1:PATIENTS_MASTER1
    COLUMNS: PATIENT_NUM, PATIENT_NAME,

    VALUES:
    PATIENT_NUM
    1
    2
    3
    4
    PATIENT_NAME
    BENAMER
    GIROT
    KKKK
    PPPP
    ---------------
    TABLE2:TESTS_MASTER1
    COLUMNS: TEST_NUM, TEST_NAME

    VALUES:
    TEST_NUM
    1
    2
    TEST_NAME
    HEMATOLOGY
    DIFFERENTIAL LEUKOCYTE COUNT
    -------------

    TABLE3:HAEMATOLOGY1
    COLUMNS:
    HMTLY_NUM, HMTLY_PATIENT_NUM, HMTLY_TEST_NAME, HMTLY_RBC_VALUE, HMTLY_RBC_NORMAL_VALUE

    VALUES:
    HMTLY_NUM
    1
    2
    HMTLY_PATIENT_NUM
    1
    3
    MTLY_TEST_NAME
    HEMATOLOGY
    HEMATOLOGY
    HMTLY_RBC_VALUE
    5
    4
    HMTLY_RBC_NORMAL_VALUE
    4.6 - 6.0
    4.6 - 6.0
    ------------

    TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
    COLUMNS: DLC_NUM, DLC_PATIENT_NUM, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE, DLC_POLYMORPHS_

    NORMAL_VALUE,

    VALUES:
    DLC_NUM
    1
    2
    DLC_PATIENT_NUM
    2
    3
    DLC_TEST_NAME
    DIFFERENTIAL LEUKOCYTE COUNT
    DIFFERENTIAL LEUKOCYTE COUNT
    DLC_POLYMORPHS_VALUE
    42
    60
    DLC_POLYMORPHS_NORMAL_VALUE
    40-65
    40-65
    -----------------


    Thank you
    RCS
    E-mail:[email protected]
    --------

    ALTER TABLE HAEMATOLOGY1
    ADD Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

  • Function table in pipeline and the key-preservation - (ORA-01779)

    Hey oraclers,

    If I had to use a function table in the pipeline to cover complex application logic, I rarely update a subset of...

    (simplified example)
    create type derived_t as object ( key integer, value varchar2(100) );
    create type derived_tc as table of result_t;
    
    create or replace function new_derivations( p_param varchar2 ) return derived_tc pipelined
    is
      l_derived derived_t;
    begin
     
      loop
        /* do stuff here */
        .....
        pipe row( l_derived );
      end loop;
    return;
    end;
    /
    
    create table derivations
    as 
    ( 
      key integer primary key,
      value varchar2(100)
    );
    
    
    insert into derivations select t.* from table( cast( new_derivations( 'test' ) as derived_tc ) ) t;
    But when I try...
    update ( 
       select d.rowid,
                d.key,
                d.value,
                t.value new_value
       from   derivations d,
                table( cast( new_derivations( 'test' ) as derived_tc ) ) t
       where d.key = t.key 
       and     d.key between :low_key and :high_key
    )
      set value = new_value;
    I get ORA-01779: cannot modify a column that is mapped to a table not preserved key...

    OK... so reading around us need to be able to tell Oracle that each row in the result set view is preserved key - the 'key' of derivations from the table column and the column "key" to the result of the function in the pipeline are unique (and compatible).

    Is it possible to hint Oracle (11.2.0.2.0 on Windows) to achieve this?

    Thanks muchly,.

    Lachlan Pitts

    You can rewrite this kind of update in a MERGE statement statement, which I think does not suffer the problem you are experiencing:

    merge into derivations d
    using (select t.key, t.value new_value from table( cast( new_derivations( 'test' ) as derived_tc ) ) t) s
    on (d.key = s.key and d.key between :low_key and :high_key)
    when matched then update set d.value = t.new_value
    

    (Not checked for syntax errors)

    You can also watch this:
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:760068400346785797

    Published by: Toon Koppelaars February 8, 2011 05:40

  • Primary keys in Tables Oracle EBS Standard

    Hello! I was checking a few standard EBS tables and I just found it odd that there is no primary keys in the columns which (I think) should be the primary key:

    an exaple:

    AP_INVOICE_LINES_ALL DESC;

    Column nameIDPKNull value?Data typeBy defaultHistogram
    INVOICE_ID1NNUMBER (15)Yes
    LINE_NUMBER2NNUMBERYes
    LINE_TYPE_LOOKUP_CODE3NVARCHAR2 (25 bytes)Yes
    REQUESTER_ID4THERENUMBER (15)Yes
    DESCRIPTION5THEREVARCHAR2 (240 bytes)Yes
    LINE_SOURCE6THEREVARCHAR2 (30 bytes)Yes
    ORG_ID7THERENUMBER (15)NULL VALUEYes
    LINE_GROUP_NUMBER8THERENUMBERYes
    INVENTORY_ITEM_ID9THERENUMBERYes
    ITEM_DESCRIPTION10THEREVARCHAR2 (240 bytes)Yes
    SERIAL_NUMBER11THEREVARCHAR2 (35 bytes)Yes
    MANUFACTURER12THEREVARCHAR2 (30 bytes)Yes

    GL_CODE_COMBINATIONS DESC;

    Column nameIDPKNull value?Data typeBy defaultHistogram
    CODE_COMBINATION_ID1NNUMBER (15)Yes
    LAST_UPDATE_DATE2NDATEYes
    LAST_UPDATED_BY3NNUMBERYes
    CHART_OF_ACCOUNTS_ID4NNUMBER (15)Yes
    DETAIL_POSTING_ALLOWED_FLAG5NVARCHAR2 (1 byte)Yes
    DETAIL_BUDGETING_ALLOWED_FLAG6NVARCHAR2 (1 byte)Yes
    ACCOUNT_TYPE7NVARCHAR2 (1 byte)Yes
    ENABLED_FLAG8NVARCHAR2 (1 byte)Yes

    I checked 11i and R12 versions of our Tables to EBS, but both contain primary keys.

    Is this normal or just tell set primary keys?

    Please notify.

    Thank you!

    PS.* I'm trying to settle our scripts and he is still running a full table scan, because it doesn't have a primary key.

    Hello

    This is the standard installation done by oracle at time of installation of EBS in your organization therefore does not necessarily create a new primary key or an index

    on the table.

    The key primary is a combination of unique key constraint not null, and if you look at the script or the definition of the table, you will get the already

    Ed configuration not null not forced and a unique index on some of the columns required by oracle.

  • Primary key for tables

    Hi guys,.

    I had a simple order form when you add products.

    So I had 2 tables, ORDER (order_id, order_date) and ORDER_ITEMS (order_id, product_id, product_qty)

    My ORDER_ITEMS are added through tabular form
    select * from ORDER_ITEMS WHERE ORDER_iD = :P21_ORDER_ID;
    I can't create a 1 time order, as I create the ORDER first to get the primary key to add to ORDER_ITEM. I tried the Return key in point and placed the DML above the ApplyMRU process. But no luck.

    THE P21_ORDER_ID is display only save session state.

    Bit at a loss how to create both and to order and add its items in a single time instead of creating the order first then order items. Anyone know how I can accomplish this?

    Return key point seems to be the solution for this but I can't get it to work. Thank you very much.

    Take a look at your request, I changed the driver to the new process page, products and create an order which returns the primary key. Now you can create the initial product registration with in the process. do not disable the multirow process that always allows you to add or update records.

  • Lost after activation of the version foreign key relationship tables

    I created 2 tables to test this: approach the table and the Customer table that has a column AddressId referencing the Id primary key column in the Address table.

    So I ran the following statement in pl/sql developer:

    Start
    dbms_wm. EnableVersioning (' address, customer ', 'VIEW_WO_OVERWRITE');
    end;

    Then I couldn't find the foreign key in the table customer_lt or. What's not here?

    Thanks for any clue.

    -Nico-

    Hello!

    which is expected. OWM manages foreign in their own country keys when you encounter tables enabled version, that's why you don't see them anymore.
    Please see Chapter 1.9 ('constraint with Workspace Manager support') in the documentation for more information.
    When you open a DDL session on a version-enabled table, you can see the foreign keys on the temporary table _LTS. It is also the only way later on Add/Remove foreign key constraints.
    Apart from this, you can use the views ALL_WM_RIC_INFO or USER_WM_RIC_INFO to display foreign key metadata.

    hope that helps.

    Kind regards

    Andreas

  • Help with primary key in table

    Hello

    I created a table in Oracle and it filled with information, but I need a primary key (such as an AutoNumber in Access) to identify each record. How can I do this for an existing table?

    Thanks much for any help you can provide!

    Hello

    You can leave down the old sequence and then create a new, or same but make sure that the sequence must be referenced in the trigger to generate IDs.

    drop sequence ;

    Let me know if its works for you or not.

    concerning

    Published by: OrionNet on March 9, 2009 20:50

  • Help with SQL (sum and last key of table)

    I have a cust_transaction of the table (see def. below)

    The data are:
    CUST_ID TIMESTAMP PP_KEY TRANS
    * 39384 2009-10-08 2229345-2 *.
    * 39384 2009-10-09 2229346-1 *.
    * 39384 2009-10-20 2229345-1 *.

    What I want is a select statement that sum (trans) but get the last PP_KEY by customer_id.
    So, the result would be:
    * 39384 2229345 2 *.

    I tried som on patrition stuff but I saw not just.

    Any ideas?

    -Table def: +.
    CREATE TABLE TB. CUST_TRANSACTIONS
    +(+
    CUSTOMER_ID NUMBER,
    DATE TIME STAMP,
    NUMBER OF PP_KEY
    NUMBER OF TRANS
    +)+
    TABLESPACE TB
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    +)+
    Logging
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING;

    -INSERTS +.
    TOGETHER TO DEFINE
    Insert into CUST_TRANSACTIONS
    + (CUSTOMER_ID, TIMESTAMP, PP_KEY, TRANS) +.
    Values
    + (39384, TO_DATE (OCTOBER 20, 2009 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), 2229345, 1); +
    Insert into CUST_TRANSACTIONS
    + (CUSTOMER_ID, TIMESTAMP, PP_KEY, TRANS) +.
    Values
    + (39384, TO_DATE (9 OCTOBER 2009 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), 2229346, - 1); +
    Insert into CUST_TRANSACTIONS
    + (CUSTOMER_ID, TIMESTAMP, PP_KEY, TRANS) +.
    Values
    + (39384, TO_DATE (8 OCTOBER 2009 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), 2229345, 2); +
    COMMIT;
     SELECT customer_id,
      SUM(trans)       ,
      MAX(pp_key) KEEP (DENSE_RANK FIRST
    ORDER BY TIMESTAMP )
       FROM cust_transactions
    GROUP BY customer_id
    

    Ravi Kumar

    Published by: ravikumar.sv on December 4, 2009 16:10

  • Key of Table column button passes and access different (detail page)

    So in the tutorials, you usually have a w shape / buttons navigation (first/previous/next/last), then you add a button w / an action that refers to a case of control flow.

    Instead of a form, I am using a table with a push button as one column per row to emulate this feature. I guess I have to use a clove of support for the page and pass in an affair, but I'm at a loss. Looking for advice, or examples, or any help.

    Sorry for these question n00b - searched via OTN but couldn't find what I was looking for.

    See if this helps: http://blogs.oracle.com/shay/2009/02/selecting_a_row_in_a_table_to.html

Maybe you are looking for