How many primary keys for one table?can we add more primary keys

In general Table have one  primary key.is it possible to more than one primary key in a table?(ie is it possible to add more than one pirmary key in a table). Help me out.

pls do check this link
[http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ea0b446011d189700000e8322d00/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ea0b446011d189700000e8322d00/frameset.htm]
All the key fields of a table must be stored together at the beginning of the table. A non-key field may not occur between two key fields.
A maximum of 16 key fields per table is permitted. The maximum length of the table key is 255.
If the key length is greater than 120, there are restrictions when transporting table entries. The key can only be specified up to a maximum of 120 places in a transport. If the key is larger than 120, table entries must be transported generically.

Similar Messages

  • How many trigger possible on one table?

    How many trigger possible on one table?

    Hi,
    shiv kumar wrote:
    How many trigger possible on one table?There's no limit.
    If you have more than one trigger that fires at the same time (for example "BEFORE INSERT OR UPDATE ... FOR EACH ROW"), ask yourself why you want or need 2 separate triggers, rather than one (which maybe calls two sparate procedures).

  • How many egift cards for one order?

    I had emailed customer service asking how many egift cards could be used for one online order, and I was told you could use 5 per online order, and 10 in store. But then I saw this link in the customer service catagory, and it says you can use 10 gift cards per online order. 
    http://www.bestbuy.com/site/help-topics/gift-cards/pcmcat203400050004.c?id=pcmcat203400050004
    Can I use 5 or 10 gift cards for a online order? I have 7 $100 gift cards I want to use to make a online purchase. Thank you.

    Hello stephanielynett,
    Thank you for posting your concern on Best Buy Unboxed forum. Ready to use the e-gift cards that you have been saving from Birthdays and special occasions, and not sure on how many can be used in an order, can have an impact on how you place your order.  
    To the best of my knowledge, the most updated information is found on the link that you shared on this forum. You should be able to use to 10 e-gift cards per order.
    Have a great day,
    Karina|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How many of my home computer systems can I add this to?

    I am looking to upgrade to the Lion. I have 2 computers one laptop, one home can I purchase this once and share with both computers?

    Yes. 
    Captfred

  • How many primary key fields  allowed for one table?

    hi,
    when i creating a table , how many primary key fields are allowed for one table.
    please any one give ans
    thanks

    Just checked it,  Its 255, not 155.  You can have as many key fields as you want, but you can not go over the 255 byte length for the total of all key fields.  You will get a warning for over 120, as it says that there is limited functionality with a key over 120 in length.
    Again, this is a total length of all key fields.
    Regards,
    Rich Heilman

  • How many primary keys use in one table

    Hi,
    Please help me. Maximum How many primary keys use with in one table
    Regards,
    Sunil Kumar.T

    Hi,
    For my knowledge, It depends on the Database & version u r working.. Right..
    This is a sample description what I seen for a Database...
    Technical Specification of SAP DB Version 7.4
    Description                            Maximum Value
    Database size                    32 TB (with 8 KB page size)
    Number of files/volumes per database64...4096, specified by a configuration parameter
    File/volume size (data)      518 ...8 GB (dependent on operating system limitations)
    File/volume size (log)1      6 TB (dependent on operating system limitations)
    SQL statement length>=  16 KB (Default value 64 KB, specified by a system variable)
    SQL character string lengthSpecified by a system variable
    Identifier length                32 characters
    Numeric precision              38 places
    Number of tables unlimited
    Number of columns per table (with KEY)  1024
    Number of columns per table (without KEY)  1023
    Number of primary key columns per table  512
    Number of columns in an index  16
    Reward Points if useful

  • How many primary keys can w have in cube, ods objects?

    how many primary keys can w have in cube, ods objects?

    Hi Naresh,
    16 primary keys only possible(for cube: 16 dimensions, ODS - Keyfields)
    For ODS:
    -         You can create a maximum of 16 key fields (if you have more key fields, you can combine fields using a routine for a key field (concatenate).)
    -         You can create a maximum of 749 fields
    -         You can use 1962 bytes (minus 44 bytes for the change log)
    -         You cannot include key figures as key fields
    More info: [Creating ODS Objects|http://help.sap.com/saphelp_nw04/helpdata/EN/4a/e71f39488fee0ce10000000a114084/content.htm]
    Hope it Helps
    Srini
    [Dont forget to close the call by assigning poings.... - Food for Points: Make a Difference through Community Contribution!|https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/007928c5-c4ef-2a10-d9a3-8109ae621a82]

  • How many MDM certificates for different MDM servers can be generated under one  Apple Developers  Subscription

    Hello All
    Please say how many MDM certificates for different MDM servers can be generated under one Apple Developers Subscription?
    Thanks in advance

    So no Meraki MDM?
    Supports Multiple VPP accounts, completely free, fully encrypted, and quite secure.
    Otherwise, you might want to take a look at the mdm that Spiceworks has.

  • How many transaction key used for Service PO

    Hi,
    Please let me know, how many transaction key used for Service PO...
    In OBYC, we have maintained GBB & WRX Transaction key's for Service PO, Is there any other Transaction key skip???
    Please guide...

    Hi,
    GBB is used for Offsetting entry for inventory posting but for Service procurement WRX Transaction key is used for GR/IR clearing-service.
    NOTE: You may use WRX with new account modifier ZZZ  to triggers GR/IR clearing-service only for service procurement where you need to post all separate GR/IR clearing- material , GR/IR clearing-asset and GR/IR clearing-service and can done with user exit.
    #But in special case GBB can be used with VBR key or copy of VBR as ZBR for default G/L account foe service PO.
    For more check the link:
    http://www.bluemarlinsys.com/ns/0603-03.asp
    Regards,
    Biju K

  • How to khow how many foreign key are referenceing the primary key

    sir i would like to know that how many foreign key are referencing the primary key of a table
    is any command to know the table name
    please suggest
    thanks in advance..

    In the query below, table_name is the name of the table whose primary key is referenced.
    SELECT b.owner owner
    ,b.constraint_name foreign_key
    ,b.constraint_type constraint_type
    ,b.table_name referencing_table
    ,b.r_constraint_name primary_key
    ,c.table_name referenced_table
    ,c.column_name referenced_column
    FROM all_constraints a
    ,all_constraints b
    ,all_cons_columns c
    WHERE a.owner = b.owner
    AND a.table_name = :table_name
    AND a.constraint_type = 'P'
    AND b.r_constraint_name = a.constraint_name
    AND b.constraint_type = 'R'
    AND c.constraint_name = a.constraint_name
    AND c.owner = a.owner;
    If the name of the primary key is known, the query below
    select * from all_constraints where constraint_type = 'R' and r_constraint_name = :pk_name

  • HOw many Depriciation Key we can have Maximum

    HOw many Depriciation Key we can have Maximum

    There is no hard and fast rule as to how many.  Usually there are a number of keys that would post to FI/GL from depreciation area 01.  Then there are other keys for tax/reporting purposes.  Many are dependent on country specific requirements/laws. 
    The country specific charts of depreciation that are supplied by SAP contain the more common depreciation keys that are used.  If you need to modify them, you should make a copy of the standard delivered key and then make your changes.

  • Hi, I need a video editing software for my Power Mac G5 system. Hunted all over for one! Can anyone help me and point me in the right direction. Everything I come across is for intel based systems. Many thanks in advance.

    Hi, I need a video editing software for my Power Mac G5 system. Hunted all over for one! Can anyone help me and point me in the right direction. Everything I come across is for intel based systems. Many thanks in advance.

    I have Final Cut Studio V1 - the PPC/Intel V5/5.1 cross-grade version, which would suit your requirements perfectly. (I have it for sale at present down here).
    If you keep looking, you're sure to find a similar second hand copy in your area, without the need to upgrade your graphics card.
    I'd go for Final Cut Pro as above over any version of Express. FCP has the full version of LiveType - not the truncated version that was released later on.

  • How many registration keys come with the new Final Cut Studio

    Hi I'm thinking of buying the new final cut studio and am trying to find out how many registration keys come with the box. I have 2 others in the family that would use it on their comps as well, and my friend had gotten the previous version of final cut studio 2 (final cut pro 6) and said it came with 3 keys inside, which would be great for me. So I'm just making sure that's true. Thanks.
    Also you can bring final cut pro 6 files from another computer onto a computer with final cut pro 7 and still work on them right?

    Hello Gibbs,
    Welcome to the forum.
    Re: your question.
    Your friend is a pathological lier (or delusional - sometimes it's hard to tell the difference).
    FCP is licensed for one laptop and one desktop as long as:
    1. Both machines are owned by YOU (your inlaws don't count as you)
    and
    2. They are not used at the same time.
    If your family wants FCS, time for them to purchase their own copies. (Apple has dropped the price so low that even Junior High School students can afford their own copies now.)
    Yes, FCP6 files will open without issue on FCP7. The reverse is not true.
    Have fun.
    x

  • How many mac-addresses a single port can store ?

    How many mac-addresses a single port can store ?
    And also what is the max limit for mac-addresses on a switch ?
    Regards,
    Chandu

    Hi,
    I don't think there is a limit per port.
    The limit is the max number of entries in the CAM table so if for example the CAM table limit is 8000 and you already got 7200 entries you can have the 800 enties on different ports or on one port.
    Regards
    Alain
    Don't forget to rate helpful posts.

  • What is authorization object and how to create it for a table

    Hi All,
    What is authorization object and how to create it for a table?
    Thanks

    Hi
    Authorization
    For authorization checks, there are many ways of linking authorization objects with user actions in an SAP system. The following discusses three possibilities in the context of ABAP programming.
    Authorization Check for Transactions
    You can directly link authorization objects with transaction codes. You can enter values for the fields of an authorization object in the transaction maintenance. Before the transaction is executed, the system compares these values with the values in the user master record and only starts the transaction if the appropriate authorization exists.
    Authorization Check for ABAP Programs
    For ABAP programs, the two objects S_DEVELOP (program development and program execution) and S_PROGRAM (program maintenance) exist. They contains a field P_GROUP that is connected with the program attribute authorization group. Thus, you can assign users program-specific authorizations for individual ABAP programs.
    Authorization Check in ABAP Programs
    A more sophisticated, user-programmed authorization check is possible using the Authority-Check statement. It allows you to check the entries in the user master record for specific authorization objects against any other values. Therefore, if a transaction or program is not sufficiently protected or not every user that is authorized to use the program can also execute all the actions, this statement must be used.
    AUTHORITY-CHECK OBJECT object
                            ID name1 FIELD f1
                            ID name2 FIELD f2
                            ID namen FIELD fn.
    object is the name of an authorization object. With name1, name2 ... , and so on, you must list all fields of the authorization object object. With  f1, f2 ... , and so on, you must specify the values that the system is to check against the entries in the relevant authorization of the user master record. The AUTHORITY-CHECK statement searches for the specified object in the user profile and checks the useru2019s authorizations for all values of f1, f2 ... . You can avoid checking a field name1, name2 ... by replacing FIELD f1  FIELD f2 with DUMMY.
    After the FIELD addition, you can only specify an elementary field, not a selection table. However, there are function modules available that execute the AUTHORITY-CHECK statement for all values of selection tables. The AUTHORITY-CHECK statement is supported by a statement pattern.
    Only if the user has all authorizations, is the return value sy-subrc of the AUTHORITY-CHECK statement set to 0. The most important return values are:
    ·        0: The user has an authorization for all specified values.
    ·        4: The user does not have the authorization.
    ·        8: The number of specified fields is incorrect.
    ·        12: The specified authorization object does not exist.
    A list of all possible return values is available in the ABAP keyword documentation. The content of sy-subrc has to be closely examined to ascertain the result of the authorization check and react accordingly.
    REPORT demo_authorithy_check.
    PARAMETERS pa_carr LIKE sflight-carrid.
    DATA wa_flights LIKE demo_focc.
    AT SELECTION-SCREEN.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                      ID 'CARRID' FIELD pa_carr
                      ID 'ACTVT' FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE e045(sabapdocu) WITH pa_carr.
      ELSEIF sy-subrc <> 0.
        MESSAGE e184(sabapdocu) WITH text-010.
      ENDIF.
    START-OF-SELECTION.
      SELECT  carrid connid fldate seatsmax seatsocc
        FROM  sflight
        INTO  CORRESPONDING FIELDS OF wa_flights
        WHERE carrid = pa_carr.
        WRITE: / wa_flights-carrid,
                 wa_flights-connid,
                 wa_flights-fldate,
                 wa_flights-seatsmax,
                 wa_flights-seatsocc.
      ENDSELECT.
    Regards
    Hitesh

  • How to create view for xmltype table in oracle

    hi:
    Can some one help me how to create view for xmltype table in oracle?
    XMLType do not have column
    Sem

    Thank you !!
    I read it and become very hard to implement what I want to do.
    Can you give me example please?
    My main goal to create view for xmltype table is to XQuery the XML data?
    Do you have any other suggestion?
    Please help
    Ali_2

Maybe you are looking for

  • External Ethernet/NAS Hard Drive with Time Machine

    Hi, I'm going to be purchasing a Mac Book Pro once leopard is launched and I'm wanting to get an external hard drive to back up using Time Machine. Now, I'm wanting to set this up through a wireless router so that a can make my backups without having

  • Headless Mac mini

    just want to tell you: after installing leo, the mini KEEPS the higher screen resolution (1680x1050).For installation of leopard, i used the 23" cinema display. after finishing the installation routine, i disconnected the cinema display, and- voila,

  • $10 in rewards for pre-ordering Shadow of Mordor?

    On 9/12/14, I pre-ordered Shadow of Mordor for PS4.  I picked it up on release day and it's been four days and I haven't seen the points show up on my account.  I understand that it takes up to 15 days for them to post but when I look up my pre-order

  • VB6 & XML Datasource using Native XML Driver

    We used to use reports that used ADO XML dataset, and in VB 6 we easily told the report which XML file to use by: Dim objCRReport As CRAXDRT.Report Set objCRReport = objCRApplication.OpenReport(App.path & "\crystal\" + rptName) objCRReport.DiscardSav

  • Sharpening for web gallery output?

    I'm just wondering what you all do to sharpen your images for output to web galleries, since LR doesn't offer this as a possibility. I guess one way would be to open the images from the gallery folder and do a batch process in Photoshop. But I'm curi