Limit on length of table name?

I created a table named LEARNING_PLAN_COURSE_MAPPING in SAP DB, when I deleted a record in it through EJB, it failed, following is the log.
Any advice will be appreciated.
12:14:07,947 ERROR [STDERR] javax.ejb.FinderException: Find failed: com.sap.dbtech.jdbc.ex
ceptions.DatabaseException: SAP DBTech SQL: [-4004] (at 42) Unknown table name:LEARNING_PLAN_COU_V17Q1U

I checked, the Max table name length limitation is 32. But how to modify it? I'd like to enlarge it from 32 to 64. Maybe I should ask on SAP DB forum.

Similar Messages

  • Maximum length of table name

    Hi,
    I am new  to Abap. Can any one tell me what is the maximum laength of a table can be....In help.sap. i found that it is 18 characters... but when i am trying it here it is allowing to give only 16 letters... And the other error i am getting is the second character of table can´t be "_"..
    Regards,
    Shiva..

    Yes, it is a little misleading.    If you look at the data in DD02L,  there is a  table categories field in each record, notice that all names with TRANSP as the table category are 16 or less, but if you look at the INITTAB category, you will see that these can be up to 30 characters.  The INITTAB category is for structures, and we know that structure names can be up to 30 characters, which is why this field is defined like this in DD02L.
    Hope this helps.
    Regards,
    Rich Heilman

  • How to change the limitation of Table name's length?

    The length of table's name or field's name is limited to 30 characters.
    Can I change it? If I want to create a long name table,then how can I do?
    Thanks in advance!

    This is a duplicate of another question
    How to change Table name's length?
    The short answer is no, you cannot.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Maximum length allowed for column name, index name and table name?

    Hi,
    I want to know what is the maximum length allowed for coulmn name, table name and index name in MaxDB ?
    Regards
    Raj

    Hi Raja,
    simply check the catalog:
    sqlcli bwt=> \dc domain.columns
    Table "DOMAIN.COLUMNS"
    | Column Name      | Type         | Length | Nullable | KEYPOS |
    | ---------------- | ------------ | ------ | -------- | ------ |
    | SCHEMANAME       | CHAR UNICODE | 32     | YES      |        |
    | OWNER            | CHAR UNICODE | 32     | YES      |        |
    | TABLENAME        | CHAR UNICODE | 32     | YES      |        |
    | COLUMNNAME       | CHAR UNICODE | 32     | YES      |        |
    and
    sqlcli bwt=> \dc domain.indexes
    Table "DOMAIN.INDEXES"
    | Column Name        | Type         | Length | Nullable | KEYPOS |
    | ------------------ | ------------ | ------ | -------- | ------ |
    | SCHEMANAME         | CHAR UNICODE | 32     | YES      |        |
    | OWNER              | CHAR UNICODE | 32     | YES      |        |
    | TABLENAME          | CHAR UNICODE | 32     | YES      |        |
    | INDEXNAME          | CHAR UNICODE | 32     | YES      |        |
    regards,
    Lars

  • JKM DB2 400 column and table name 10 character limit

    I am trying to set up CDC on an iSeries. I have successfully loaded data with the LKM SQL to Oracle, and now I want to set up CDC for the table and am trying to use "JKM DB2 400" . I get invalid token errors when I try to start journalizing, and it appears to be the table and column names, used to set up CDC, which are more than the 10 character limit. Tables like SNP_JRN_SUBSCRIBER seem to come from the getJrnInfo function and other table and column names are hard coded. I want to copy the JKM and reduce all of the names to less than 10 characters.
    Where else are these names used? How does the interface know which table names to use when set to use only journalized data and how can I change it to use the new shorter names? Is there a better solution?

    Thanks to all for assistance. It turns out that the 10 character limit, about which the server people warned me, isn't an issue with my ODBC connection. The invalid token error was being caused by some missing qualifiers in the generated sql which caused appearances of ".tablename" rather than "tablename" and other similar. I was able to modify the knowledge module to eliminate this issue and the CDC worked correctly on my first test.

  • Problem with table name lengths.

    Has anyone experienced with table name length problem?
    When tables are created with schema registration, and the name is longer than 14 characters, the table is created. But when I "select * from xxxx_xxxx_xxxx_xxxx" it says that the table doesn't exist.
    What's the max length of a table name? Or is this a problem with XDB?
    Thanks,
    Benjamin

    Found the problem.
    All table names must be all capitalized and seperated with underscore.
    Is there something I need to set in oracle? or is this a bug? The tables are created but can't be accessed because of the case of table name... that doesn't make sense.

  • View/Table Name Length

    I noticed the View/Table Name length in 9i is still 30
    characters. This poses a problem when migrating applications
    from SQLServer to Oracle. Is there a more convenient workaround
    in lieu of renaming object and re-writing the existing
    application code referencing these objects? Are there any plans
    to increase this length in a future release? If so, which
    release?
    Thanks.
    -Brian

    You first understand your conditions and put the detailed query, Don't put the whatever you have in your spec. It is very difficult to understand. Just give me your query then i can help you out
    Warm Regards,
    Vijay

  • Deleting table name containing special characters/length

    hey all -
    a modeling program (erwin) created this table, which i am currently unable to drop. i am using dbvisualizer to connect to the db. the table name is:
    DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0
    trying to kill it:
    drop table DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0
    ORA-00933: SQL command not properly ended
    drop table "DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0"
    ORA-00972: Identifier is too long
    drop table 'DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0'
    drop table '"DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0"'
    drop table 'DBDB.BIN$6YefzzGY8ingMAB/AQBlXA\=\=$0'
    drop table '"DBDB.BIN$6YefzzGY8ingMAB/AQBlXA\=\=$0"'
    ORA-00903: invalid table name
    i have played with some other things as well. still can't kill it - any suggestions?? tell me how to kill this thing!!

    please read the posting below:
    deleted item in oracle

  • Bex Query: Too many table names in the query The maximum allowable is 256

    Hi Experts,
    I need your help, Im working on a Query using a multiprovider of 2 datastores, I need to work with cells to assign specific acconts values to specific rows and columns, so I was creating a Structure with elements from a Hierarchy, but I get this error when I'm half way of the structure:
    "Too many table names in the query. The maximum allowable is 256.Incorrect syntax near ')'.Incorrect syntax near 'O1'."
    Any idea what is happening? is ti possible to fix it? do I need to ask for a modification of my Infoproviders? Some one told me is possible to combine 2 querys, is it true?
    Thanks a lot for your time and pacience.

    Hi,
    The maximum allowable limit is 256 holds true. It is the max no. of characteristics and key figures that can be used in the column side. While creating a structure, you create key figures (restricted or calculated) and formulas etc.. The objects that you use to create these should not be more than 256.
    http://help.sap.com/saphelp_nw70/helpdata/EN/4d/e2bebb41da1d42917100471b364efa/frameset.htm
    Not sure if combination of 2 query's is possible.  You can use RRI. Or have a woorkbook with 2 queries.
    Hope it helps.

  • Help needed in making table name and column name dynamic

    please check the below query? in the below message
    Message was edited by:
    460425
    Message was edited by:
    460425

    thanks Dmytro,
    below is the script i was looking for it got it..any way thanks.
    just need to replace dbms_output.put_line with utl_file.put_line
    to put the code on server directory.
    and execute as and when required.
    Reg.
    AAK
    CREATE OR REPLACE PROCEDURE p_ad_log
    IS
         CURSOR tbl_cursor IS
              SELECT table_name FROM user_tables WHERE table_name IN('EMP','EMP1') ;
         CURSOR col_cursor( cp_table_name varchar2) IS
              SELECT column_name FROM user_tab_columns WHERE table_name=cp_table_name;
         --v_file_handle      utl_file.file_type;
         --v_file_dir          varchar2(30)      :=     'DIRECTORY PATH'     ';
         --v_file_name     varchar2(30)       :=       'AD_TRIGGER_TEXT.TXT';
         tbl_cursor_value     tbl_cursor%ROWTYPE;
         col_cursor_value     col_cursor%ROWTYPE;
         v_string          varchar2(4000);
         v_string_val     varchar2(4000);
    BEGIN
         DELETE audit_triggers_status;
         COMMIT;
         --v_file_handle := utl_file.fopen(v_file_dir,v_file_name,'W',32000);
         OPEN tbl_cursor;
         LOOP
              FETCH tbl_cursor into tbl_cursor_value;
              EXIT WHEN tbl_cursor%NOTFOUND;
              OPEN col_cursor(tbl_cursor_value.table_name);
              DBMS_OUTPUT.PUT_LINE( 'CREATE OR REPLACE TRIGGER' ||' ad_'||tbl_cursor_value.table_name); -- short name for audit trigger coz table name will be appended to it and result should not exceed 30 char
              DBMS_OUTPUT.PUT_LINE( 'BEFORE INSERT OR UPDATE OR DELETE ON '||tbl_cursor_value.table_name);
              DBMS_OUTPUT.PUT_LINE( 'FOR EACH ROW');
              DBMS_OUTPUT.PUT_LINE( 'BEGIN');
              v_string:='INSERT INTO'||' ad_'||tbl_cursor_value.table_name||'(';
              v_string_val:='values(';
              INSERT INTO audit_triggers_status( table_name,trigger_name,audit_flag) VALUES (tbl_cursor_value.table_name,' ad_'||tbl_cursor_value.table_name,'Y');
                   LOOP
                        FETCH col_cursor into col_cursor_value;
                        EXIT WHEN col_cursor%NOTFOUND;
                        v_string:=v_string||col_cursor_value.column_name||',';
                        v_string_val:=v_string_val||':new.'||col_cursor_value.column_name||',';
                   END LOOP;
                   CLOSE COL_CURSOR;
              v_string:=substr(v_string,1,length(v_string)-1);
              v_string_val:=substr(v_string_val,1,length(v_string_val)-1);
              v_string:=v_string||') ';
              v_string_val:=v_string_val||');';
              --DBMS_OUTPUT.PUT_LINE(v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('IF INSERTING THEN');
              DBMS_OUTPUT.PUT_LINE('     '||v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('END IF;');
              DBMS_OUTPUT.PUT_LINE('IF UPDATING THEN');
              DBMS_OUTPUT.PUT_LINE('     '||v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('END IF;');
              DBMS_OUTPUT.PUT_LINE('IF DELETING THEN');
              --DBMS_OUTPUT.PUT_LINE('     '||v_string||REPLACE(v_string_val,':new.',':old.');
              V_STRING_VAL:=REPLACE(v_string_val,':new.',':old.');
              DBMS_OUTPUT.PUT_LINE('     '||v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('END IF;');
              DBMS_OUTPUT.PUT_LINE('END '||' ad_'||tbl_cursor_value.table_name||';');
              DBMS_OUTPUT.PUT_LINE(' ');
         END LOOP;
         CLOSE TBL_CURSOR;
         COMMIT;
    END;

  • File naming on Russian and limitation on length of file names

    Hi.
    I post this message as a note for any users for whom English is not native language and in everyday practice they use native language on Linux systems.
    Torrents and Linux
    System:
    OS: Archlinux x86_64
    FS: Reiserfs
    Locale: UTF-8
    Client: rtorrent
    torrent: http://torrents.ru/forum/viewtopic.php?t=1445641
    Problem:
    if one try to download this torrent with the help of rtorrent he see message
    Hashing: Storage error: [Hash checker was unable to map chunk: Слишком длинное имя файла]
    (this in on Russian, on English this is: 'File name too long')
    Namely rtorrent couldn't handle this file
    Белов А. В. - Микроконтроллеры AVR в радиолюбительской практике. Автоматика. Радиоэлектроника. Связь. Радио. Радиосвязь. Любительская радиосвязь.(2007)(336).djvu
    (on Russian again).
    The same message prints Transmission when one try to download this particular file.
    Reason:
    the name is exceeded the limitation on length of file name: 255 bytes. See, e.g.
    $ echo 'Белов А. В. - Микроконтроллеры AVR в радиолюбительской практике. Автоматика. Радиоэлектроника. Связь. Радио. Радиосвязь. Любительская радиосвязь.(2007)(336).djvu' | wc -c
    279
    The problem doesn't depend on type of FS, it is in Linux kernel (Linux VFS). Reiserfs has limit in 4032 bytes on length of file name, Reiser4 has limit in 3976 bytes.
    In this case NTFS is more advanced FS:
    the limitation on length of file name is 255 UTF-16 code units (255*2 bytes).
    Of course if one use 8-bit locale (e.g. cp1251, koi8-r and etc) then this problem for THIS file is not appeared:
    echo 'Белов А. В. - Микроконтроллеры AVR в радиолюбительской практике. Автоматика. Радиоэлектроника. Связь. Радио. Радиосвязь. Любительская радиосвязь.(2007)(336).djvu' | iconv -f utf-8 -t koi8-r | wc -c
    162
    Nevertheless there is no guarantee that someone won't face with longer named files and in that situation the advantage of NTFS against any Linux FS is evident.
    Info about FS limitation is taken from wikipedia.
    I would glad to hear comments and suggestions about this particular problem (because I don't know how to download files of this torrent and store them on my Linux box).
    P.S. As I understand FreeBSD has the same problem in this case.
    P.P.S. I think that this problem could appear for example on Linux which serves as samba server (file server) when windows user want to place file with native alphabet letters in name on server.

    This is a reported bug.

  • How to pass the Dynamically table name and RELID in IMPORT  x TO y FROM DATABASE dbtab(ar) ID Key

    Hello Expert,
    I wanted to know is there any way through which we can dynamically pass the table name in IMPORT condition.
    For e.g.
    DATA : PCLT TYPE DD03L-TABNAME.
    DATA: SET_RELID TYPE T52RELID-RELID.
    DATA: key TYPE PCLKEY.
    DATA: text_version TYPE PVRSN.
    DATA: BEGIN OF ptext OCCURS 132.
    DATA: line(132).
    DATA: END OF ptext.
    SET_RELID = 'TX'.
    PCLT = 'PCL1'.
    KEY = '00001000004005     9999123119960101000'.
    TEXT_VERSION = '01'.
    IMPORT TEXT_VERSION PTEXT FROM DATABASE <PCLT>(<SET_RELID>) ID KEY.
    If i use this then it gives me error message "The Dictionary structure or table "<PCLT>" is either not active or does not exist."
    Kindly help me in this matter.
    Thanks
    Srikanth

    Hi Srikanth
    I dont know if there is another solution, but this is what i did using a dynamic subroutine, please check it
    just add this lines to your code
    DATA: prog  TYPE c LENGTH 8,
           mess TYPE string,
           sid  TYPE string,
           wrd  TYPE string,
           dir  TYPE trdir,
           OFF(3).
    DATA: lt_code TYPE TABLE OF rssource-line.
    DATA: ls_code TYPE rssource-line.
    perform call_import using pclt set_relid key.
    form call_import USING p_pclt p_set_relid p_key.
       ls_code = 'PROGRAM SUBPOOL.'.
       append ls_code to lt_code.
       ls_code = 'form get_text tables ptext using p_key changing text_version.'.
       append ls_code to lt_code.
       ls_code = 'IMPORT text_version ptext from database'.
       append ls_code to lt_code.
       concatenate p_pclt '(' p_set_relid ')' into ls_code.
       append ls_code to lt_code.
       ls_code = 'id p_key.'.
       append ls_code to lt_code.
       ls_code = 'endform.'.
       append ls_code to lt_code.
       generate subroutine pool lt_code
                           name prog
                           message mess
                           SHORTDUMP-ID sid
                           WORD WRD
                           OFFSET OFF.
       IF SY-SUBRC EQ 0.
         perform GET_TEXT IN PROGRAM (prog) tables ptext
                                              USING p_key
                                              CHANGING text_version .
       ENDIF.
    endform.
    Hope this help
    Regards
    MC

  • Table without table name

    Is it possible to create a table without table name and retrieve the information from that table?
    Edited by: Kamesh on Sep 20, 2010 11:05 AM

    Kamesh wrote:
    Is it possible to create a table without table name and retrieve the information from that table?
    Edited by: Kamesh on Sep 20, 2010 11:05 AMNo, every table in a schema has to have a unique name. Any string will do.
    If the name does not conform to the standard rules for identifiers (including the rule about no special characters, such as spaces) then the name must be enclosed in double-quotes. As William pointed out, " " (with a single space between the quotes) is a name; it has a length of 1.
    This reminds me of a great story. It's so good, it probably didn't really happen, but it's so good, I'm going to repeat it anyway.
    IBM once had an "executive apptitude test" that they would give to job applicants. There were some questions you might call general knowlege or trivia questions, and each question had a weight (for example, answering an unimportant queestion might score one point, an important question might be 5 points.) One of the questions was "What is the standard width of a mobile home?", and the weight of the question was -20: answering the question correctly did serious harm to your score. The reasoning was that the more you knew about mobile homes, the less likely you were to be their kind of executive.
    I wonder if this was the same kind of trick question.
    I agree with Mtefft; the correct answer is something like "Why would you want to?"

  • R/3 Table Name.

    Hi All,
    I have a list of say 600 field names along with their table names. (eg MARA table & BUKRS field)
    Now, i want to have the technical propertires of all those fields in the R/3 (only the data type and the length).
    So, is there any way out for determining the Length and data type in one go by any transaction or any firld name so that i dont ahve to go individually each field to rake its characteristic detail.
    Thanks in advance!
    Neha.

    Hi All,
    Problem is solved.The correct approach to go for the bulk number of fields is through a view "DDO3P" which gives the data type along with the length in one go.
    Thanks for your answers.

  • ALL_TAB_COLUMNS table name showing with fancy characters

    Dear All
    when i execure followowing query and got a table name as BIN$eeHkLT/tL+PgRAAhKBTEWA==$0
    select * from all_tab_columns
    where column_name like '%APPLICATIONORDER%'
    Please let me know what is this and how to select the data from it
    thanking you

    its recycle bin ; please refer to oracle documentation to understand this feature;
    see below from oracle documentaion : (http://www.oracle.com/technology/pub/articles/10gdba/week5_10gdba.html)
    Managing the Recycle Bin
    If the tables are not really dropped in this process--therefore not releasing the tablespace--what happens when the dropped objects take up all of that space?
    The answer is simple: that situation does not even arise. When a tablespace is completely filled up with recycle bin data such that the datafiles have to extend to make room for more data, the tablespace is said to be under "space pressure." In that scenario, objects are automatically purged from the recycle bin in a first-in-first-out manner. The dependent objects (such as indexes) are removed before a table is removed.
    Similarly, space pressure can occur with user quotas as defined for a particular tablespace. The tablespace may have enough free space, but the user may be running out of his or her allotted portion of it. In such situations, Oracle automatically purges objects belonging to that user in that tablespace.
    In addition, there are several ways you can manually control the recycle bin. If you want to purge the specific table named TEST from the recycle bin after its drop, you could issue
    PURGE TABLE TEST;
    or using its recycle bin name:
    PURGE TABLE "BIN$04LhcpndanfgMAAAAAANPw==$0";
    This command will remove table TEST and all dependent objects such as indexes, constraints, and so on from the recycle bin, saving some space. If, however, you want to permanently drop an index from the recycle bin, you can do so using:
    purge index in_test1_01;
    which will remove the index only, leaving the copy of the table in the recycle bin.
    Sometimes it might be useful to purge at a higher level. For instance, you may want to purge all the objects in recycle bin in a tablespace USERS. You would issue:
    PURGE TABLESPACE USERS;
    You may want to purge only the recycle bin for a particular user in that tablespace. This approach could come handy in data warehouse-type environments where users create and drop many transient tables. You could modify the command above to limit the purge to a specific user only:
    PURGE TABLESPACE USERS USER SCOTT;
    A user such as SCOTT would clear his own recycle bin with
    PURGE RECYCLEBIN;
    You as a DBA can purge all the objects in any tablespace using
    PURGE DBA_RECYCLEBIN;
    As you can see, the recycle bin can be managed in a variety of different ways to meet your specific needs.

Maybe you are looking for

  • How create report with data from table and some columns results function ?

    Hi, How can i create on apex report region with some columns (of the report) as returned from a table and the other columns as results of plsql functions ? for example , I want to create a report like that: device last_date error_msg stop/start kodak

  • Doubt on GUI status in Report

    Hi Friends, I have created a GUI Status for a Report program. I have written the functionalities for Application Tool bar. But i have not written any thing for my Functional Keys having Standard Tool bar will the keys in the standard tool bar will wo

  • Error when creating a A/P Invoice

    We continue to get a error - No matching records found 'WHSE Journal' (OINM) (ODBC -2082) [Message 131-183] We are currently on SAP B1 2005 SP1 PL 29 -- We will be upgrading 2007 once we get out hardware upgraded. We get this error when ever we attem

  • Which is stable SOA 10.1.3.4.0 MLR#10 and 10.1.3.5.0 MLR#2

    Hi All- We are planning to move from SOA 10.1.3.3.0 to higher version in 10g, can anybody tell me which version is stable? If anybody can tell some points about which one is better, will be very helpful to me. Thanks Sreejit

  • Why do I have this HTML coding in all my posts on web forums nput id="mac_address" type="hidden" value="" /

    Whenever I use internet forums such as the eBay discussion boards or RV.net, I have this string of HTML code automatically and without my knowledge entered in to the text box on the forums. What led to this activity and how do I stop it from occurrin