Column naming standard..table naming  standard..

Currently I am working in one of my clients place..and here i see column names more than 35 characters..
According to me column name should not be more than 15 characters...
Is there a limit ??
Is there any table naming column naming standard..

I found couple of link for Oracle Naming convensions:
http://www.oracle-base.com/articles/misc/NamingConventions.php
http://www.dba-oracle.com/standards_schema_object_names.htm
http://www.gplivna.eu/papers/naming_conventions.htm
http://ss64.com/ora/syntax-naming.html
Hth
Girish Sharma

Similar Messages

  • Can we update oracle standard table Attributes column by custom trigger?

    Can we update the oracle Standard table's Attributes column using custom trigger? Is it allowed by oracle? Is this supported?
    Thanks

    ATTRIBUTE columns store DFF information and therefore custom code can be used to update their contents. Care must be taken that such updates do not cause "logical" corruption (an ATTRIBUTE column may be designed to store the color of a product, for example, but an incorrect SQL statement can update the value to a numeric one, thus causing corruption - Oracle does not have a means to check the validity of these update statements). Also, some localizations, such as Brazil and India, reserve some ATTRIBUTE columns for their use - updating such columns is not supported. More information may be found in the Flexfields Guide for your release at http://www.oracle.com/technology/documentation/applications.html
    HTH
    Srini

  • Correct way to handle updates of XMLtype columns in standard tables.

    Hello to whoever may read this,
    I am currently studying the XML functionality of oracle DB for a uni project.
    We have been asked to compare/contrast solutions to publishing product and price data for data stored in standard relational tables, and data stored in XML type tables. For extra marks, i am looking at a table containing an XMLType column for multiple items of data relating to the primarykey.
    I have managed to get my head around publishing the data - pretty straight forward, but we have also been asked to show how we can update data, which isn't a problem within the standard tables/columns, but when it comes to the XMLType columns/tables, i dont have a clue.
    At the moment i am working on trying to update an XMLtype column. The table itself is a "product" table, and contains product information, as well as an XMLType column containing multiple changes to the prices. In the relational tables, this "product" table has a one-to-many link to another table called price_history which contains details about past prices (which is populated by a trigger on update/insert of a new price). But in this table all the product changes are stored in XML format in the XML type column "prices".
    Table columns: id number(4), name varchar2(25), prices xmltype;
    example data: 1781, CDW 20/48/E, <product_prices><price_change>
    <change_id>1</change_id>
    <date_changed>2009-10-13</date_changed>
    <details>price increased</details>
    <new_value>234</new_value>
    </price_change>
    <price_change>
    <change_id>2</change_id>
    <date_changed>2009-10-13</date_changed>
    <details>price increased</details>
    <new_value>235</new_value>
    </price_change></product_prices>
    We need to give examples of an update. I have been looking around the net, and these forums for a solution now for about 4 hours. My own thoughts are that to update this with a new price change i need to, SELECT the current data INTO a variable, then concatenate that variable with the new price change info e.g.
    <price_change>
    <change_id>3</change_id>
    <date_changed>2009-10-13</date_changed>
    <details>price decreased</details>
    <new_value>230</new_value>
    </price_change>
    then insert that whole chunk of data again to overwrite the old data.
    Now im fairly certain there is some function somewhere which will allow me to do this update/insert operation without going through this process... After i am done with this update of XMLType column data, i need to tackle updating data in an XMLType Table with XQuery(? apparently), so if you have any pointers for that please let me know.
    Could one of you experts point me in the right direction for this? Any advice at this stage is a great help and will stop me losing my mind.
    p.s. im sorry about the lengthy description of the problem/solution required. How to describle something i dont understand? I ask myself.

    Hi,
    You really need to take a look at the XMLDB Developers guide.
    For updating XML with SQL/XML see UPDATEXML and for XQuery see [Using XQuery with Oracle XMLDB|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_xquery.htm#sthref1673]
    HTH,
    Chris

  • OWB Naming Conventions and Development Standards

    Hi all,
    I am developing a project in OWB. Could any one give me 'OWB Naming Conventions and Development Standards' document.

    Hi,
    You want to post this to the OWB forum:
    Warehouse Builder
    Thanks, Mark

  • Naming Conventions and Development Standards'

    Hi all,
    I am developing a project in OWB. Could any one give me 'OWB Naming Conventions and Development Standards' document.
    Thanks

    Hi,
    You want to post this to the OWB forum:
    Warehouse Builder
    Thanks, Mark

  • Column in standard table disabled

    Hi ,
    I am working on standard webdynpro components. Now my issue is with newly added field to an standard table in layout of standard SRM Webdynpro component that is /SAPSRM/WDC_UI_SC_DOTC_BD.In this component I added VNAME  field as an input field and added it as an  column 2 and maintained all the properties as required in metadata thru spro .But now the issue is whenever I get the table the column is showing as an read only ..but once if i am entering all the details in an row and trigger enter  button then I am getting this input field as non - read only .But by default I want to make it as an non read only .I checked with all the properties in SPRO and Properties of the column .All are enabled but I am getting as disabled .So pls help me in this to solve the issue ..
    Thanks ,
    Sandeep

    Hi Sandeep,
    Only newly added column is coming as read only or compelte table? what about other columns(fields).
    Try by creating one more attribute of type WDY_BOOLEAN say ENABLE and bind this to your added field enable property.
    and in WDDOINT of pre or post exit set this attribute to ABAP_TRUE. it might works..
    Cheers,
    Kris.

  • Best practices in Internal table naming convention GT ,  GS , LT  ,  LS  ??

    Hi Gurus,
         Are GT_ ,  GS_ ,  LT_  ,  LS_  --- the  Best practices in Internal table naming convention ????
         I  have  seen this  naming convetions adhered in standard programs .
         What each one  of  the  below  signify
         GT_ ,  GS_ ,  LT_  ,  LS_   ??????? 
    Regards
    Jaman
    Message was edited by:
            ABAP Techie

    Hello
    I use the following naming conventions:
    - G = global variable
    - L = local variable
    - T = internal table
    - S = structure
    - D = field
    That's how the combinations look like:
    - GT_ITAB     = global itab
    - GS_STRUC = global structure
    - GD_FIELD   = global field
    - LT_ITAB     = local itab
    - LS_STRUC = local structure
    - LD_FIELD   = local field
    Function module parameters have to stick to the following rules:
    - I = importing
    - E = exporting
    - [C = changing -> never used]
    - IT_ITAB = imported table type (itab)
    - IS_STRUC = imported structure
    - ID_FIELD   = imported field
    - ET_ITAB = exported table type (itab)
    - ES_STRUC = exported structure
    - ED_FIELD   = exported field
    Depending on their semantics TABLES parameters look like:
    - IT_ITAB = imported data
    - ET_ITAB = exported data
    - XT_ITAB = changing data (import & export)
    Here are the conventions for FORM routine parameters:
    - UT_ITAB = using itab (data are usually treated like constants; no changes will be transfer - although possible - to the calling program)
    - CT_ITAB = changing itab (if it is semantically an exporting itab then one of the very
    first statements in the routine is: REFRESH ct_itab. )
    - US_STRUCT
    - UD_FIELD
    - CS_STRUCT
    - CS_FIELD
    Conventions for class/interface parameters:
    - IT_ITAB = importing table type
    - IS_STRUC = importing structure
    - ID_FIELD = importing field
    - ET_ITAB = exporting table type
    - ES_STRUC = exporting structure
    - ED_FIELD = exporting field
    - RT_ITAB = returning table type
    - RS_STRUC = returning structure
    - RD_FIELD = returning field
    Conventions for class/interface attributes:
    - MT_ITAB = table type
    - MS_STRUC = structure
    - MD_FIELD = field
    - MC_CONST = constant
    <b>Question</b>: Are there any advantages of such elaborated naming conventions?
    My answer to this question is: Yes, definitively.
    I believe that the advantage of semantically differentiating TABLES parameters of function modules is quite obvious:
      CALL FUNCTION 'Z_BAD_NAMING'
        TABLES
           itab1 = ...
           itab2 = ...
           itab3 = ... .
      CALL FUNCTION 'Z_GOOD_NAMING'
        TABLES
           it_itab1 = ...
           et_itab2 = ...
           xt_itab3 = ... .
    I also believe that my naming conventions clearly enhance <b>readability </b>and <b>maintainability </b>of my programs.
    Regards
      Uwe

  • How to create olap cube using Named Query Table in Data source View

     I Create on OLAP Cube using Existing Tables Its Working Fine But When i Use Named Query Table with RelationShip To other Named query Table  It Not Working .So give me some deep Clarification On Olap Cube for Better Understanding
    Thanks

    Hi Pawan,
    What do you mean "It Not Working"? As Kamath said, please post the detail error message, so that we can make further analysis.
    In the Data Source View of a CUBE, we can define a named query. In a named query, you can specify an SQL expression to select rows and columns returned from one or more tables in one or more data sources. A named query is like any other table in a data source
    view (DSV) with rows and relationships, except that the named query is based on an expression.
    Reference:Define Named Queries in a Data Source View (Analysis Services)
    Regards,
    Charlie Liao
    TechNet Community Support

  • Want to add field in standard table control - me21n , me22n , me23n

    Dear All ,
    I have come across a situation where I want to add a field in a standard table control .
    But how to proceed for tht I am not getting .
    In the standad transation me22n in the ITEM  OVERVIEW table control I want to add Curreny field in the table control structure
    i.e MEPO1211 I have append the field in MEPO1211_DATA it is even visible in run time in the structure but not visible in table control and in table control settings also.
    How can I add one more column or some standard procedure to do that. Please suggest .
    Thanks & Regards
    Aryan

    hi,
    If you don't want to access key...then only option is ,you have to search USER Exit or BADi (Try using BADI ME_GUI_PO_CUST) for me22n transaction......to adding the field.
    Regards
    Gaurav

  • Let me know the standary primary key tables in standard table??

    let me know the standary primary key tables in standard table??

    Hi,
    You can go and check the primary keys of a table in SE11 by entering the table name and pressing display.
    You will get to see that there will be some fields with a tick mark in the primary key column.The fields which have such tick marks are the primary keys of that table.
    As far as I know there is nothing called primary key tables.All tables have some fields as primary keys based upon which a record is uniquely defined in that table.
    Hope it was useful.
    Thanks,
    Sandeep.

  • How to store custom data in standard tables?

    How can I to store data in standard tables without creating a Z table?
    I want to store the next rows:
    SRD 100 R3D 100
    SRD 110 R3D 110
    SRD 120 R3D 120
    SRD 130 R3D 130
    But I prefer to avoid to use a Z table because the maintenance in a upgrade system.
    Somebody knows if some standard data type exists?
    Or how to make it to avoid the creation of a Z table?

    Hi Juan,
    The data store in the standard table is also custom data. If it is a customizing table then you can very easily add data using SM30 or if it is transaction table then use any transaction to create the data.
    If you want to add more fields in the existing table (extra columns) then you can use APPEND or INCLUDE structure.
    Regards,
    Atish

  • Size Category of a standard table  - - Urgent

    Guys,
    Suppose the data in the table exceeds the size category of the table defined, will there be any problem??
    Is there any possibility of changing the size category of the standard table??
    Regards
    Jiku

    Hi,
    <u><b>Internal tables</b></u>
    Internal tables provide a means of taking data from a fixed structure and storing it in working memory in ABAP. The data is stored line by line in memory, and each line has the same structure. In ABAP, internal tables fulfill the function of arrays. Since they are dynamic data objects, they save the programmer the task of dynamic memory management in his or her programs. You should use internal tables whenever you want to process a dataset with a fixed structure within a program. A particularly important use for internal tables is for storing and
    formatting data from a database table within a program. They are also a good way of including very complicated data structures in an ABAP program.
    Like all elements in the ABAP type concept, internal tables can exist both as data types and as data objects. A data type is the abstract description of an internal table, either in a program or centrally in the ABAP Dictionary, that you use to create a concrete data object. The data type is also an attribute of an existing data object.
    <b>Internal Tables as Dynamic Data Objects</b>
    Data objects that are defined either with the data type of an internal table, or directly as an internal table, are always fully defined in respect of their line type, key and access method. However, the number of lines is not fixed. Thus internal tables are dynamic data objects, since they can contain any number of lines of a particular type. The only restriction on the number of lines an internal table may contain are the limits of your system installation. The maximum memory that can be occupied by an internal table (including its internal administration) is 2
    gigabytes. A more realistic figure is up to 500 megabytes. An additional restriction for hashed tables is that they may not contain more than 2 million entries. The line types of internal tables can be any ABAP data types - elementary, structured, or internal tables. The individual lines of an internal table are called table lines or table entries. Each component of a structured line is called a column in the internal table.
    Regards,
    Bhaskar

  • Append to standard table

    Hello,
    I would like to maintain BW related classification in R3 standard table. For example , I would like to add couple of columns to material type table (T134) and populate it with values.
    I would like to ask you the following questions :
    Do you think its a right approach?
    What is the down side of this approach?
    How to populate these values as table looks not open for modify
    Thanks

    Hello,
    I see no problem with your approach only pay attention with the following :
    1/
    Make sure you use unique field names.
    Example start all your field names with ZZ and make sure you don't use SAP fieldnames.
    This is important to avoid duplicate field names in future SAP releases for the table where you would like to add fields.
    Duplicate field names will result in problems during patching of the system and can cause eventual data loss when handled incorrectly.
    2/
    Pay attention when future support packs, upgrades, enhancement packages, ... are installed in your system that there is a change that the table you are going to append will appear in the SPDD list because SAP provides a new version of the table.
    It is then up to the basis team to handle this SPDD correctly and re-implement the append structure to prevent data loss.
    This is the only side effect that I see.
    Wim Van den Wyngaert

  • Can we insert data directly in standard table

    hi
    how can we insert data in standard table directly.
    pls reply urgently.

    Hi sapna yes u can insert data to the SAP tables, as shown below...
    use the table mara in the place of m
    REPORT  ZTEST_INSERT.
    TABLES: <m>.
    DATA: wa_m TYPE <m>.
    wa_m-ernam = 'ZTEST'.
    insert into <m> VALUES wa_m.
    if sy-subrc = 0.
      WRITE / 'Records inserted Successfully'.
    ENDIF.
    reward if usefull,
    Vishnu. R
    Edited by: vishnu ramanathan on Sep 18, 2008 2:17 PM

  • Can we enter data in any standard table directly through custom form??

    Dear All,
    Can we enter data in any standard table directly through custom form??
    I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
    Awaiting regards,

    Hi,
    Can we enter data in any standard table directly through custom form??
    I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
    Awaiting regards,
    I would not recommend touching the standard tables at all unless you are being guided by the SR. For a record to be in the standard table it should go through series of validations based on the what operation you are performing and some times datas are dependent upon the other tables, and also some times the same records are hit to so many other tables simultaneously.
    Therefore I would not recommend this brother.
    Thanks &
    Best Regards,

Maybe you are looking for

  • Iphone 4s not syncing to itunes

    I have had my iphone 4s about 2 years now and I am now having trouble syncing my phone to itunes.  My ipad mini has no problem being recognized but my iphone isn't being recognized.  I wanna put some music into my phone but I can't since itunes won't

  • Purpose of All Movies Folder

    What is the purpose of the All Movies Folder contained in the finder? I see many movie files I completed and movies I viewed on line. Can I delete these files when I'm finished with them. thanks ,Gene

  • How to avoid additional cut in multicam editing?

    When I cut multicam and switch camera angles, an additional cut is made in the timeline when I stop playback. furthermore, the camera angle switches as well. That is totally nonsense! How can I avoid it? I use Premiere Pro CS6. Please don't recommend

  • Question about Gimp...

    Hey guys. I have a quick question about Gimp(2.6). After I edit a photo and save it (to what I think is my iPhoto folder) I cant find it when I open up iPhoto. Where am I going wrong? I am trying to save a copy of the image to an existing iPhoto fold

  • Compression or optimizing for embedding onto website

    I'm brand new to Premiere elements.  I can see how to trim portions of an hour and a half recorded webinar I made, but it takes FOREVER (like 3 days or more) to save/convert the file.  Is there a way to compress or optimize?  The original file was a