What Oracle Table contains Partition Key Field Name?

What Oracle table/view maintains the partition key field name?
All_Tab_Partitions does not appear to maintain such information.
When I use Toad -> Schema -> Tables -> Partitions, it lists the partition key field name that the partition is based.
Thank You

all_part_key_columns
or
USER_part_key_columns
Edited by: OrionNet on Dec 5, 2008 3:56 PM

Similar Messages

  • What SAP Table contains the info that a screen fields is hidden

    What SAP table contain screen painter information. Specifically what table contain the logic that a Infotype screen field is vivisable / hidden from the online user. I have been looking in SM51 and cannot track down the table used for this purpose...

    Hi Ryan,
    Please post this question in ABAP forum.

  • SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field

    Hi,
    I am using Access 2013 and I have the following VBA code, 
    strSQL = "INSERT INTO Master SELECT * from Master WHERE ID = 1"
     DoCmd.RunSQL (strSQL)
    when the SQL statement is run, I got this error.
    SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field
    Any suggestion on how to get around this?
    Please advice and your help would be greatly appreciated!

    Rather than modelling the many-to-many relationship type by means of a multi-valued field, do so by the conventional means of modelling the relationship type by a table which resolves it into two one-to-many relationship types.  You give no indication
    of what is being modelled here, so let's assume a generic model where there is a many-to-many relationship type between Masters and Slaves, for which you'd have the following tables:
    Masters
    ....MasterID  (PK)
    ....Master
    Slaves
    ....SlaveID  (PK)
    ....Slave
    and to model the relationship type:
    SlaveMastership
    ....SlaveID  (FK)
    ....MasterID  (FK)
    The primary key of the last is a composite one of the two foreign keys SlaveID and MasterID.
    You appear to be trying to insert duplicates of a subset of rows from the same table.  With the above structure, to do this you would firstly have to insert rows into the referenced table Masters for all columns bar the key, which, presuming this to be
    an autonumber column, would be assigned new values automatically.  To map these new rows to the same rows in Slaves as the original subset you would then need to insert rows into SlaveMastership with the same SlaveID values as those in Slaves referenced
    by those rows in Slavemastership which referenced the keys of the original subset of rows from Masters, and the MasterID values of the rows inserted in the first insert operation.  This would require joins to be made between the original and the new subsets
    of rows in two instances of Masters on other columns which constitute a candidate key of Masters, so that the rows from SlaveMastership can be identified.
    You'll find examples of these sort of insert operations in DecomposerDemo.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    In this little demo file non-normalized data from Excel is decomposed into a set of normalized tables.  Unlike your situation this does not involve duplication of rows into the same table, but the methodology for the insertion of rows into a table which
    models a many-to-many relationship type is broadly the same.
    The fact that you have this requirement to duplicate a subset of rows into the same table, however, does make me wonder about the validity of the underlying logical model.  I think it would help us if you could describe in detail just what in real world
    terms is being modelled by this table, and the purpose of the insert operation which you are attempting.
    Ken Sheridan, Stafford, England

  • SAPKE60027 - "T591A" contains invalid key fields

    Hi,
    I'm busy applying Support Packages for ERP 6, the BASIS and ABA patches were loaded success fully, but when loading the HR queue the implementation of SAPKE60027 stops with an error:
    Error in phase: XPRA_EXECUTION
    Reason for error: TP_STEP_FAILURE
    Return code: 0008
    Error message: OCS Package SAPKE60027, tp step R, return code
    0008
    Post-import method AFTER_IMP_NROB started for NROB L, date and time: 20100913210327
    2EENR397HThe subobject value table "T591A" contains invalid key fields
    2EENR893INumber range object "HR_ZA_LABR" " "
    Errors occurred during post-handling AFTER_IMP_NROB for NROB L
    AFTER_IMP_NROB belongs to package SZN
    The errors affect the following components:
       BC-SRV-NUM (Number Range Management)
    Post-import method AFTER_IMP_NROB completed for NROB L, date and time: 20100913210328
    does anyone have an idea what to check?
    thanks,

    Hi Rainer,
    Thank you, I got the same problem and resolved by implemention the SAP Note 1484591
    Regards,
    Sandeep

  • Diferent key field names within a recordset

    Hi
    Can we have different key field names for records within a recordset.
    When i give different key field names for Header and detail records in a recordset i get the error below: -
    message not processed: com.sap.aii.messaging.adapter.trans.TransformException: Transformer Conversion3.0.5227 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403)
    Thanks

    Hello Pratihchi,
                   One keyfield name is allowed, eventhough we have different records per recordset. Because we can differentiate the rows based on the keyfieldvalue and those value we need to mention in the fieldname. Check below link which contains the example on this.
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5393- [original link is broken] [original link is broken]> [original link is broken] File Adapter->Sender File Adapter for Content Conversion
    Regards.
    Prasanna.

  • Problem in key field name in FCC

    hi,
    I am using FCC on the sender side.
    Source file is
    1;;PY;X101;20060630;06;20060630;GBP;Ref.1;Payroll June 2006; (Header)
    1;1;40;S2225000;;1050;;;;;;;;;;;;;;;X101003;;;;;;;;;;;;;;;
    1;2;240;S2225000;;4563;;;;;;;;;;;;;;;X101004;;;;;;;;;;;;;;;
    1;3;31;3100001;;5013;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1;4;31;3100002;;600;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2;;PY;X101;20060630;06;20060630;GBP;Ref.2;Payroll June 2006;  (Header)
    2;1;40;S2225000;;530;;;;;;;;;;;;;;;X101003;;;;;;;;;;;;;;;
    2;2;40;S2225000;;2490;;;;;;;;;;;;;;;X101004;;;;;;;;;;;;;;;
    2;3;31;3100002;;3020;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    The first field in the header is the key field to identify the header, which keeps incrementing for evry occurence of the header.
    So for the first occurence of the header first field of header will be 1, first field of item will be 1( same as header) and second field of item will be the key field now  which will increment with evry occurence of item within the header.So there is no constant value for key field name.
    So how do i perform FCC for this type of structure?
    Regards,
    Loveena

    Hi,
    You can create a custom Adapater Module and add it in your Sender Adapter. This will add a Unique Identifier to your Header and Record item which you can give in FCC.
    For more details refer to this forum
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=6143385
    Thanks
    Amit

  • FCC configuration in Sender File Channel Without any key field name

    Hi Everyone,
    We have below flat file generated from ECC using standard tcode.
    The flat file is fixed length file and first record is header record followed by line items.
    There is no key field name in the file name.
    Can we read the file and convert into xml without any key field name?
    I want to understand if the FCC configuration for above file can be done without key name or not.
    Thanks,
    Vertika

    Hello,
    AFAIK, using FCC i really doubt u can convert file into xml.
    So technically, there are two options either read each line one by one and then do conversions in ur mapping or write a custom module which will read ur input file and convert into xml.
    Configuring Generic Sender File CC Adapter
    Thanks
    Amit Srivastava

  • Set up table contains the enhanced field information?

    Hi Experts,
    I am enhancing a field in the datasource 2lis_11_vaitm,
    Things i did :
    1.Enhanced the ext.structure with the required field.
    2.Activated the ext.structure.
    3.Witten the logic in the CMOD.
    4. Deleted the Setup table and refilled.
    Now my question is :
    1.Did the setup table contains the ENHANCED FIELD with the historical data ?if so where to see that?
    I checked in RSA3 the enhanced field is displayed with the records.
    The code i have wriiten is WHEN "DATASOURCE " then -> logic from the base table.
    Now will the data come from the base table or from the setup table?
    Can any one help me in this issue.
    Best Regards
    Jelina

    Why do we need to delete the setup table after doing enchancement with standard Datasource.
    Ans :
    You neednot refill the setup table just because you enhanced the datasource.
    You need to delete and refill if the postings happened after you filled the setup table.
    Meaning you will miss the current posting.Unless you have done a init in BI/BW side.
    Hope this helps.

  • Which table contains function module program name

    Hi,
    Which table contains function module program name.
    Regards,
    raj

    Hi,
    We have one function module called 'FUNCTION_INCLUDE_INFO'.
    Where u ll get the program name to which it belongs to, function group and the include number. (e.g if the function group program name contains 9 function modules and ur function module  is in 3rd include then it will return the include name to which it belongs )

  • Which FM can append table sturcture(add key fields and so on)

    Hi everybody,
    does any one of u know a FM which append structures of table (to add the key fields and so on) in ABAP dictionary.
    The FM DDIF_TABL_PUT is only used to write a new table and I don't want to call this FM twice to realize my application.
    Thanks in advance!
    Liying

    Hi Raja,
    I got a runtime error:Perform_NOT_FOUND
    EXCEPTION:CX_SY_DYN_CALL_ILLEGAL_FORM
    following is my codes:
    DATA ATA DDFIELDS LIKE DDFIELD OCCURS 2 WITH HEADER LINE.
    DATA NAME LIKE DD02L-TABNAME.
    DDFIELDS-FIELDNAME = 'F3'.
    DDFIELDS-POSITION = '3'.
    DDFIELDS-KEYFLAG = 'X'.
    DDFIELDS-DATATYPE = 'INT4'.
    APPEND DDFIELDS.
    DDFIELDS-FIELDNAME = 'F4'.
    DDFIELDS-POSITION = '4'.
    DDFIELDS-KEYFLAG = ''.
    DDFIELDS-DATATYPE = 'INT4'.
    APPEND DDFIELDS.
    NAME = 'ZTEST'.
    CALL FUNCTION 'DB_ADD_TABLE_FIELDS'
        EXPORTING
            TABNAME = NAME
        TABLES
            DDFIELDS = DDFIELDS
        EXCEPTIONS
            FIELDS_NOT_ADDED = 01
            PROGRAM_NOT_GENERATED = 02
            PROGRAM_NOT_WRITTEN = 03
            TABLE_DOES_NOT_EXIST = 04.
    What might be the reason?
    B.R.
    Liying

  • How to add a new data element for existing table filed(Primary key field)

    Hi Experts,
    How to add a new data element for existing table field(Primary key field)
    For this filed ther is no foreign key relation ships and even check table.
    while activating table it is giving message like below.
    can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
    Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)           
    Primary key change not permitted for value table /TC/VENDOR
    Check on table  /TC/VENDOR resulted in errors              
    Thanks
    Ravi

    Hi,
    Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
    You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
    Maybe there are other ways, but this works.
    Success,
    Rob

  • Multiple entries in a Z table with same key fields

    Hi
    I do have a ZTABLE, with 3 key fields defined earlier. It consists of around 1 lakh records. Later onwards, two of the non keyfields have been made to key fields.
    This table is being populated with records at the time of saving a ztransaction.
    But some times, the system is updating the same records, some times twice, sometimes thrice, etc. I got to know that all fields (both key fields and non-key fields) of the record are same. That is, records are being updated in to the database table n number of times may be depending of some false logic in the program.
    If I tried to enter the same using SM30, it is showing me an error message stating that the record is already existing.
    What can be the reson?

    Hi,
    It seems there is some kind of data inconsistency..try to get all the records and then delete the duplicate entries through program....Now once u r done , from now onwards there won't be any duplicate entiers.,also before updating table use filters to avoid the duplication..
    Regards,
    Nagaraj

  • Which all table contains a particular field

    Hi
    Can any one give me the query for finding which all tables in the database contains a particular field.
    Like I want to find out all the tables which has fields with field name like '%LOC%'
    Thank You
    .S

    select table_name from dba_tab_columns where column_name like '%LOC%'

  • Column Containing Partition Key Condition Information

    I am using 11.2.0.2 on AIX 6.1.
    I am creating a range partition table as below.
    CREATE TABLE SALES_RANGE
      ( prod_id       NUMBER(6)
      , cust_id       NUMBER
      , time_id       DATE
      , channel_id    NUMBER(3)
    PARTITION BY RANGE (time_id)
    ( PARTITION sales_q1_2012 VALUES LESS THAN (TO_DATE('01-APR-2012','dd-MON-yyyy'))
    , PARTITION sales_q2_2012 VALUES LESS THAN (TO_DATE('01-JUL-2012','dd-MON-yyyy'))
    , PARTITION sales_q3_2012 VALUES LESS THAN (TO_DATE('01-OCT-2012','dd-MON-yyyy'))
    , PARTITION sales_q4_2012 VALUES LESS THAN (TO_DATE('01-JAN-2013','dd-MON-yyyy'))
    );I can find all the information related to this table in dictionary tables like below.
    SQL> SELECT OWNER,
           TABLE_NAME,
           PARTITIONING_TYPE,
           SUBPARTITIONING_TYPE,
           PARTITION_COUNT,
           PARTITIONING_KEY_COUNT,
           STATUS,
           DEF_TABLESPACE_NAME
    FROM DBA_PART_TABLES
    WHERE OWNER='SCOTT';
    OWNER                          TABLE_NAME                     PARTITION SUBPARTIT PARTITION_COUNT PARTITIONING_KEY_COUNT STATUS   DEF_TABLESPACE_NAME
    SCOTT                          SALES_RANGE                    RANGE     NONE                    4                      1 VALID    USERS
    SQL> SELECT TABLE_OWNER,
           TABLE_NAME,
           COMPOSITE,
           PARTITION_NAME,
           PARTITION_POSITION,
           TABLESPACE_NAME,
           LAST_ANALYZED
    FROM DBA_TAB_PARTITIONS
    WHERE TABLE_OWNER='SCOTT'
    ORDER BY PARTITION_POSITION;
    TABLE_OWNER                    TABLE_NAME                     COM PARTITION_NAME                 PARTITION_POSITION TABLESPACE_NAME                LAST_ANAL
    SCOTT                          SALES_RANGE                    NO  SALES_Q1_2012                                   1 USERS                          17-FEB-12
    SCOTT                          SALES_RANGE                    NO  SALES_Q2_2012                                   2 USERS                          17-FEB-12
    SCOTT                          SALES_RANGE                    NO  SALES_Q3_2012                                   3 USERS                          17-FEB-12
    SCOTT                          SALES_RANGE                    NO  SALES_Q4_2012                                   4 USERS                          17-FEB-12
    SQL> SELECT * FROM DBA_PART_KEY_COLUMNS WHERE OWNER='SCOTT';
    OWNER      NAME            OBJEC COLUMN_NAME     COLUMN_POSITION
    SCOTT      SALES_RANGE     TABLE TIME_ID                       1But where can i find the partition key condition i.e. *"VALUES LESS THAN (TO_DATE('01-APR-2012','dd-MON-yyyy'))"* in any dictionary table ?

    Thanks for your quick reply....
    I have already checked and included in my example given.
    SQL> SELECT * FROM DBA_PART_KEY_COLUMNS WHERE OWNER='SCOTT';
    OWNER      NAME            OBJEC COLUMN_NAME     COLUMN_POSITION
    SCOTT      SALES_RANGE     TABLE TIME_ID                       1It's only giving the column name on which partitioning is done, not the partitioning condition.
    My question was, in which table i can check the criteria on which i have range partitioned a table ? Is there an dictionary table which holds information like:
    PARTITION_NAME     PARTITION_CONDITION
    SALES_Q1_2012       VALUES LESS THAN (TO_DATE('01-APR-2012','dd-MON-yyyy')I hope i am clear in my question......

  • Data from two tables with no key fields

    Hi Friends,
    I want to retrieve data from mara and mseg tables,matnr from mara and menge from mseg but problem is there is no key fields
    from these two tables how can i retrieve the data from these two tables?
    regards,
    bikash

    Hi,
    You need to have a common field between 2 tables if you want to put a join between them.
    Or otherwise,
    Find the check table of the primary keys of the tables.
    Try to find the common fields from one of the check tables of the primary keys.
    Example,
    If you want to join tables A and B.
    Both tables don't contain common fields.
    A has primary key fields X and Y.
    go to check table of X or Y.
    Let check table of X is C.
    check any field in C which are exist in table B.
    Join tables A and C.
    Based on this pick the data from B.
    Regards,
    Prashant

Maybe you are looking for

  • Boot Camp Update 2.1 will not run

    I'm trying to install Windows XP on my Intel Macbook. It's a legal copy purchased from Microsoft so no trouble there. The Bootcamp Assistant worked fine and the Windows install worked fine. I'm now at the point of trying to install the Boot Camp driv

  • Need help!  Adobe Acrobat 9 Standard will not print to printer, only want to print to prn file.

    I have done a repair on the file,  I have installed the lastest updates, and nothing works.  My next step would be to uninstall and reinstall the program.  Does anyone have a fix for this?  I have always been able to print PDF files and this just sta

  • Custom component Search and Result view using value node :pls help

    Hi Experts, I am creating a Custom component with Search and Result view using value nodes. This is the code I wrote in the Search button event handler method. The data which gets in lv_search I need to put in lv_col . Can somebody guide me for this.

  • Snipping tool for pdf files

    Although I can easily use snipping tool for word documents I cannot find the way to use snipping tool for pdf files because pdf files appear in a full screen and the taskbar does not exist -  as well as the snipping tool which I have already pinned i

  • Key..

    Hi abapers ! how many primary key can we put for a table ? we can put only one primary key or we can put as many as we can ..! ( i hear that we can have more than one field Combination as primary key but not more than one primary key ( what does the