Long - more than 60-character - texts in BI 7.0

I need to load a long text for the 0Mat_sales object - more than 60 characters. I know there are plenty of postings in SDN about this subject, but just wanted to know if there is something new to solve this restriction in BI 7.0 other than having to create separate objects for each 60-character portion of the text. We have already upgraded our backend to 7.0 and will use the 7.0 front end tools for reporting. Any help is appraciated. Thanks!.

There is nothing new in 7.x.  My guess is that this is a COBOL issue that they can't get around just yet.  But then again I could be wrong.
Brian

Similar Messages

  • Find texts with more than one Character Style applied

    Hi,
    If you need to find - and replace/restyle - texts where more than one Character Style is applied - here is tool for you - for ID CS3 and ID CS4:
    http://www.adobescripts.com/search.php?query=multi+findreplace+grep&action=results
    You can define options for up to 8 characters - by using GREP expressions.
    Script is only for PC platform.
    robin
    www.adobescripts.com

    Never tried with bullets but nested styles might work... I think you can chain two or more nested style, and then you can define first nested style to effect only first character, second nested style to next character and so on....

  • Writing all the rows in one line but cannot write more than 32767 character

    Dear All,
    i am trying to write the column of a table to a file with the '||' seperators. i want to write all the rows in one line of the file.
    for E.g
    Column1 Column2
    A B
    C D
    in the file the output needs to be gone like
    A||B||C||D
    but after 32767 character it gives a write error. could please someone let me know what is wrong with my function below or how can i write more than 32767 character in one one.
    CREATE OR REPLACE FUNCTION CORP_IB_DUMP_FILE (
    P_QUERY IN VARCHAR2,
    P_SEPARATOR IN VARCHAR2 DEFAULT '',
    P_DIR IN VARCHAR2,
    P_FILENAME IN VARCHAR2
    RETURN NUMBER AUTHID CURRENT_USER
    IS
    L_OUTPUT UTL_FILE.FILE_TYPE;
    L_THECURSOR INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_THECURSOR2 INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_COLUMNVALUE VARCHAR2 (4000);
    L_STATUS INTEGER;
    L_COLCNT NUMBER DEFAULT 0;
    L_SEPARATOR VARCHAR2 (10) DEFAULT '';
    L_CNT NUMBER DEFAULT 0;
    BEGIN
    L_OUTPUT := UTL_FILE.FOPEN (P_DIR, P_FILENAME, 'w', 32767);
    DBMS_SQL.PARSE (L_THECURSOR, P_QUERY, DBMS_SQL.NATIVE);
    FOR I IN 1 .. 255
    LOOP
    BEGIN
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, I, L_COLUMNVALUE, 4000);
    L_COLCNT := I;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF (SQLCODE = -1007)
    THEN
    EXIT;
    ELSE
    RAISE;
    END IF;
    END;
    END LOOP;
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, 1, L_COLUMNVALUE, 4000);
    L_STATUS := DBMS_SQL.EXECUTE (L_THECURSOR);
    LOOP
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (L_THECURSOR) <= 0);
    L_SEPARATOR := '';
    FOR I IN 1 .. L_COLCNT
    LOOP
    DBMS_SQL.COLUMN_VALUE (L_THECURSOR, I, L_COLUMNVALUE);
    UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
    L_SEPARATOR := P_SEPARATOR;
    UTL_FILE.FFLUSH (L_OUTPUT);
    END LOOP;
    UTL_FILE.FFLUSH (L_OUTPUT);
    L_CNT := L_CNT + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR (L_THECURSOR);
    UTL_FILE.FCLOSE (L_OUTPUT);
    RETURN L_CNT;
    END CORP_IB_DUMP_FILE;
    /

    user577300 wrote:
    Dear All,
    i am trying to write the column of a table to a file with the '||' seperators. i want to write all the rows in one line of the file.
    for E.g
    Column1 Column2
    A B
    C D
    in the file the output needs to be gone like
    A||B||C||D
    but after 32767 character it gives a write error. could please someone let me know what is wrong with my function below or how can i write more than 32767 character in one one.
    CREATE OR REPLACE FUNCTION CORP_IB_DUMP_FILE (
    P_QUERY IN VARCHAR2,
    P_SEPARATOR IN VARCHAR2 DEFAULT '',
    P_DIR IN VARCHAR2,
    P_FILENAME IN VARCHAR2
    RETURN NUMBER AUTHID CURRENT_USER
    IS
    L_OUTPUT UTL_FILE.FILE_TYPE;
    L_THECURSOR INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_THECURSOR2 INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_COLUMNVALUE VARCHAR2 (4000);
    L_STATUS INTEGER;
    L_COLCNT NUMBER DEFAULT 0;
    L_SEPARATOR VARCHAR2 (10) DEFAULT '';
    L_CNT NUMBER DEFAULT 0;
    BEGIN
    L_OUTPUT := UTL_FILE.FOPEN (P_DIR, P_FILENAME, 'w', 32767);
    DBMS_SQL.PARSE (L_THECURSOR, P_QUERY, DBMS_SQL.NATIVE);
    FOR I IN 1 .. 255
    LOOP
    BEGIN
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, I, L_COLUMNVALUE, 4000);
    L_COLCNT := I;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF (SQLCODE = -1007)
    THEN
    EXIT;
    ELSE
    RAISE;
    END IF;
    END;
    END LOOP;
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, 1, L_COLUMNVALUE, 4000);
    L_STATUS := DBMS_SQL.EXECUTE (L_THECURSOR);
    LOOP
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (L_THECURSOR) <= 0);
    L_SEPARATOR := '';
    FOR I IN 1 .. L_COLCNT
    LOOP
    DBMS_SQL.COLUMN_VALUE (L_THECURSOR, I, L_COLUMNVALUE);
    UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
    L_SEPARATOR := P_SEPARATOR;
    UTL_FILE.FFLUSH (L_OUTPUT);
    END LOOP;
    UTL_FILE.FFLUSH (L_OUTPUT);
    L_CNT := L_CNT + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR (L_THECURSOR);
    UTL_FILE.FCLOSE (L_OUTPUT);
    RETURN L_CNT;
    END CORP_IB_DUMP_FILE;
    /Check your logic very carefully. You are using UTL_FILE.PUT() which should not automatically put end-of-line characters i n your file but you are reassigning l_seperator with p_seprator after the first time.
    What value are you pasising in as p_seperator?
    UTL_FILE.PUT() should allow you to write a string of bytes without newlines as long as its arguments are less than 32K, and you can control when the newlines get written. If your arguments are > 32K can you split them up without writing the newlines until you need to do so? Try something like (untested)
    --         UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
               UTL_FILE.PUT (L_OUTPUT, substr(L_SEPARATOR || L_COLUMNVALUE,1,32767));
               UTL_FILE.PUT (L_OUTPUT, substr(L_SEPARATOR || L_COLUMNVALUE),32767*2-1,32767));Edited by: riedelme on Sep 10, 2012 6:11 AM

  • Create synonym name with more than 30 character.

    I have created a synonym for a table which is more than 30 character long.
    After creating the synonym with create synonym... synonym created message is showing.
    but when i am checking in all_objects view that syninym is not available there, and
    select * from <synonym_name> also not returtning any rows.
    What is the reason for this ? if oracle is showing message like Syninym Created then where its has stored ?
    Thanks in Advance...

    To demonstrate the above...
    SQL> select * from user_synonyms;
    no rows selected
    SQL> create synonym MY_EMPLOYEE_RECORDS_VERY_LONG_NAME for EMP;
    Synonym created.
    SQL> select * from user_synonyms;
    SYNONYM_NAME                   TABLE_OWNER                    TABLE_NAME                     DB_LINK
    /9c4d39ff_MY_EMPLOYEE_RECORDS_ SCOTT                          EMP
    SQL> select * from MY_EMPLOYEE_RECORDS_VERY_LONG_NAME;
    select * from MY_EMPLOYEE_RECORDS_VERY_LONG_NAME
    ERROR at line 1:
    ORA-00972: identifier is too long
    SQL> select * from "/9c4d39ff_MY_EMPLOYEE_RECORDS_"
      2  ;
         EMPNO ENAME      JOB              MGR HIREDATE                   SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17/12/1980 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 20/02/1981 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 22/02/1981 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 02/04/1981 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 28/09/1981 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 01/05/1981 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 09/06/1981 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 19/04/1987 00:00:00       3000                    20
          7839 KING       PRESIDENT            17/11/1981 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 08/09/1981 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 23/05/1987 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 03/12/1981 00:00:00        950                    30
          7902 FORD       ANALYST         7566 03/12/1981 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 23/01/1982 00:00:00       1300                    10
    14 rows selected.
    SQL>

  • Trouble nesting more than one Character Style...

    I am trying to create the below heading in CS5 on a Mac:
    Lesson 2.1: Who am I?
    So I made the Lesson 2.1 a character style called "Lesson #." And then I made Who am I? a paragraph style called "Lesson title" and nested the "Lesson #" though 1 colon. And that worked great. But then I felt like the space between "Lesson #" and "Lesson Title" was too big. (This seems really nit-picky I know but the boxes the lesson titles need to fit in are small and the titles vary in length so I was trying to save all the space I could for the longer titles.)
    Lesson 2.1: Who am I?
    So I made the space (see the underline above) a character style of it's own that was the same as the "Lesson Title" in all aspects except that it was 11 pt font. I then made this a nested style in the "Lesson Title" that came after "Lesson #" through 1 letter.
    But it doesn't seem to be working very well...which made me question if there was something else I needed to do in order to nest more than one character style? Or whether I should be even approaching this issue in this way....
    Thank you for any thoughts on this!

    YES!!! IT WORKED! I think InDesign and I are now friends. All my styles are working! (knock on wood.)
    Weird that the horizontal scaling would work though and not changing the font size? or maybe I jsut don't understand exactly how InDesign thinks yet...

  • Unable decrypt more than 63 charactes

    I'm using Base64 encryption & decryption. I am storing encrypted DB URL in database. After reading from database I'm decypting the URL.
    In decryption, It's throwing following exception.
    Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
    at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
    at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
    at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA12275)
    at javax.crypto.Cipher.doFinal(DashoA12275)
    This happening only when I use more than 63 character in DB URL.

    Without any code to go on, there's no way we can really tell. But several things bother me:
    Base64 isn't a cipher, it's an encoding.
    The error your getting says you're using AES.
    The error you're getting suggests that you're decrypting and have specified a padding option.
    The error you're getting suggests that the data you're trying to decrypt using AES isn't an integral number of blocks long.
    All of this suggests to me that when/if you give us the code you're using to attempt the decryption, we're going to tell you something like "if you know it's Base64-encoded, you need to Base64-DEcode it BEFORE you attempt to decrypt."
    But I'm just guessing...
    Grant

  • Need help in EMAIL Sending -  more than 255 character length

    Hi Guys,
    Please help me in sending the Email attachment which has more than 255 character lengh using 'TXT format.
    if i create an internal table having a field of type char225.
    then break ur each record into many parts having len <= 255.
    how can i mingle both lines to single line in the output list.
    Please help me ..
    thanks in advance..
    Prabhu

    Hi,
    Check the following link:
    http://www.sap-img.com/abap/sending-email-with-attachment.htm
    Regards,
    Bhaskar

  • I want application name can display more than 13 character.  Could you tell me how to fix this problem?

    I want application name can display more than 13 character.
    Could you tell me how to fix this problem?

    Backup and restore your software via iTunes. If the problem continues, restore as a NEW device. If this solves it, that means there is some corruption in your backup file. If the problem is still there, you should take it to the Genius Bar at an Apple Store for evaluation.

  • ORA-00494: enqueue [CF] held for too long (more than 900 seconds)

    Hi ,
    I am getting this error , the database is in no archive mode and there is frequent log switch.
    However following few metalink notes I have set the hidden parameters like
    killcontrolfile_enqueue_blocker=false
    killenqueue_blocker=1
    I wanted to reduce the frequece log switch how to reduce it.
    ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by 'inst 1

    One way is to make the size of the redo logs bigger and another way is to do some less work :)
    Changing Redo Log File SizesEach Redo Log File member in a Group must be identical in size. If you need to make your Redo Log Files larger, use the following steps.
    1. Use the V$LOG view to identify the current active Redo Log Group.
    SQL> SELECT group#, status FROM v$log;
    GROUP# STATUS
    1 INACTIVE
    2 INACTIVE
    3 CURRENT
    4 INACTIVE
    2. Drop one or more of the inactive Redo Log Groups keeping at least two current On-line Redo Log Groups.
    3. Use operating system commands to delete the files that stored the dropped Redo Log Files.
    4. Recreate the groups with larger file sizes. Continue this sequence until all groups have been resized.
    Edited by: TSharma on Jan 17, 2013 11:52 AM

  • Can't select more than ONE conditional text tag in FrameMaker 10?

    Hi, I work with lots and lots of Conditional Text (CT) tags in FrameMaker. We moved to v10, and now I can't select more than ONE CT tag at a time---this means when I need to apply 10 CT tags to one item, I have to select the item, click one tag, click In, and then click Apply---3 clicks, 10 separate times = 30 clicks! (I used to be able to select the item, select all the CT tags I wanted applied into the In box, and then click Apply.) This is very frustrating. I've tried to click all the Ctrl, Shift, and Alt keys separately and then try and select more than one tag, but nothing works. Please help---this is going to be a nightmare for me if this can't work!
    Please help and show me that I can add more than one tag to an item at a time. Thanks so much!!!

    Unfortunately, this capabiliy wasn't carried over to the Conditional Text pod when the new interface design was created. You're stuck selecting the tags one at a time and then applying a condition. It's a bit faster if you select the conditions sequentially, then you have fewer clicks for applying subsequent tags to the same content.
    I fully agree that this sucks.
    Please fill in a bug report and a wish list item at: FrameMaker Bugs & Wish List
    You can also add/vent to the following thread (that is monitored by Adobe):
    Seeking inputs on desired features in FrameMaker

  • How to prevent the String Tokenizer filter more than one character

    I am wrinting a simple program to cut the long string into small piece of data with the delimiters "#####" by using StringTokenizer
    For example:
    String output ="Apple Company #####APPLECOMPANY48877 #####2005-01-01 #####TESTING1 ##### ##### ##### ##### #####MR.Apple Wong #####[email protected] #####0-852-34183741 #####0-852- #####XYZ #####Apple in the tree road #####ROOM 3T099, LEVEL 9, All WIN BLDC ##### ##### #####NT #####34KJFG45 |||||0.0000 |||||1 |||||3 |||||3";
    StringTokenizer st = new StringTokenizer(output,"#####");
    int i=0;
    while(st.hasMoreTokens()){
    System.out.println("The number is: " i" "+st.nextToken());
    i++;
    The result is
    The number is: 0 Apple Company
    The number is: 1 APPLECOMPANY48877
    The number is: 2 2005-01-01
    The number is: 3 TESTING1
    The number is: 4
    The number is: 5
    The number is: 6
    The number is: 7
    The number is: 8 MR.Apple Wong
    The number is: 9 [email protected]
    The number is: 10 0-852-34183741
    The number is: 11 0-852-
    The number is: 12 XYZ
    The number is: 13 Apple in the tree road
    The number is: 14 ROOM 3T099, LEVEL 9, All WIN BLDC
    The number is: 15
    The number is: 16
    The number is: 17 NT
    The number is: 18 34KJFG45 |||||0.0000 |||||1 |||||3 |||||3----->
    It is correct!!!!!!
    But, if the one of the small string in the long string contain the character "#", I found the "#####" and "#" also trace as delimiters by StringTokenizers to filter the String such as following example:
    I only add one more "#" in String "ROOM 3T099, LEVEL 9," from the above example:
    String output ="Apple Company #####APPLECOMPANY48877 #####2005-01-01 #####TESTING1 ##### ##### ##### ##### #####MR.Apple Wong #####[email protected] #####0-852-34183741 #####0-852- #####XYZ #####Apple in the tree road #####ROOM #3T099, LEVEL 9, All WIN BLDC ##### ##### #####NT #####34KJFG45 |||||0.0000 |||||1 |||||3 |||||3";
    StringTokenizer st = new StringTokenizer(output,"#####");
    int i=0;
    while(st.hasMoreTokens()){
    System.out.println("The number is: " i" "+st.nextToken());
    i++;
    But the result is:
    The number is: 0 Apple Company
    The number is: 1 APPLECOMPANY48877
    The number is: 2 2005-01-01
    The number is: 3 TESTING1
    The number is: 4
    The number is: 5
    The number is: 6
    The number is: 7
    The number is: 8 MR.Apple Wong
    The number is: 9 [email protected]
    The number is: 10 0-852-34183741
    The number is: 11 0-852-
    The number is: 12 XYZ
    The number is: 13 Apple in the tree road
    The number is: 14 ROOM
    The number is: 15 3T099, LEVEL 9, All WIN BLDC
    The number is: 16
    The number is: 17
    The number is: 18 NT
    The number is: 19 34KJFG45 |||||0.0000 |||||1 |||||3 |||||3
    I have found that the StringTokenizer trace "#####" and "#" to be delimiters to filter the String, I only want to filter the String by StringTokenizer with "#####" not include "#"
    So What Can I Do? Is it
    StringTokenizer st = new StringTokenizer(output,"#####");
    not Correct?
    It is thank a lot if anyone can help me! thx!!

    If I must use StringTokenizer, How can I do it? You completely misunderstand how StringTokenizer works.
    StringTokenizer st = new StringTokenizer(output,"#####");Each character is used as a delimiter. So you have specified the same delimiter 5 times.
    As suggested above you would need to rewrite the entire code, to treat the String as a delimiter, intead of each character as a delimiter.

  • Using more than 1 recordset text in page

    Ok, im not sure how to explain this, but basically, if i use
    more than one of these
    <%=(RScomments.Fields.Item("comment_notes_text").Value)%>
    So in this example;
    <%=(RScomments.Fields.Item("comment_notes_text").Value)%>
    <%=(RScomments.Fields.Item("comment_notes_text").Value)%>
    Then the second or subsequent ones show as blank in the page,
    can anyone help?
    I need to do an if then else statement, and because of this
    issue, the conditions work but the data does not display.
    Darren

    Not sure this is right, but it might depend on your database
    and SELECT statement order. If it's e.g. MS SQL, and
    "comment_notes_text" is a blob field (e.g. ntext or other
    memo-style field), then you should make sure your SELECT statement
    selects all the blob/text fields after any other kind of field, and
    then in order. Like this:
    SELECT nonblobfield1, nonblobfield2, nonblobfield3,
    nonblobfield4, blobfield1, blobfield2
    If you don't do that, then your blob fields might not display
    on the page.

  • Sending mail with excel  more than 255 character in a line

    Dears,
    In my program , I use SO_NEW_DOCUMENT_ATT_SEND_API1  to send email with EXCEL attacment.
    But when i want output a line more than 255 characters  in the excel I met the problem, it only appeared 255 characters
    describe table mailbin lines tab_lines.
        mailpack-transf_bin = c_checked.
        mailpack-head_start = 1.
        mailpack-head_num = 1.
        mailpack-body_start = 1.
        mailpack-body_num = tab_lines.
        mailpack-doc_type = c_xls.
        mailpack-obj_name = space.
        mailpack-obj_descr = lv_mail_title. "the excel file name
        mailpack-doc_size = tab_lines * 255.
        append mailpack.
    * Sending the document
          call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
            exporting
              document_data              = maildata
              put_in_outbox              = space
              commit_work                = c_checked
            tables
              packing_list               = mailpack
              object_header              = mailhead
              contents_bin               = mailbin
              contents_txt               = mailtxt
              receivers                  = mailrec
            exceptions
              too_many_receivers         = 1
              document_not_sent          = 2
              operation_no_authorization = 4
              others                     = 99.
    But i have to output those characters in one line.
    Anyone could help me?
    Thanks a lot.
    Sincerely,
    Julie

    data: objpack    like sopcklsti1 occurs 2 with header line.
    data: objhead    like solisti1 occurs 1 with header line.
    data: objbin     like solisti1 occurs 10 with header line,
            is_objbin  type  solisti1 .
    data: objtxt     like solisti1 occurs 10 with header line,
            is_objtxt  type solisti1 .
      data: l_tab(1)   type c value cl_abap_char_utilities=>horizontal_tab,
           con_cret   type c value cl_abap_char_utilities=>cr_lf.
    data: tab_lines  like sy-tabix,
            : tab_lines1 like sy-tabix.
      data : lenth_string type string,
            s_string     type string.
    data : L type i, i type i,cplen type i, balance type i,
    before describe table mailbin lines tab_lines ... Use below logic.
    Loop at your_internaltable.
    concatenate field_1
                field_2
                field_3
           into lenth_string separated by l_tab.
    concatenate  lenth_string con_cret into lenth_string.  
    concatenate s_string lenth_string into s_string.
    endloop.
           L = strlen( s_string ).
           i = 0.
           cplen = 255.
           balance = l.
        do.
          if balance <= 0.
            exit.
          endif.
          if balance < 255.
            cplen = balance.
          else.
            cplen = 255.
          endif.
          objbin = s_string+i(cplen).
          i = i + cplen.
          balance = balance - cplen.
          append objbin.
        enddo. 
    ...... after this use ur exesting code....describe table mailbin lines tab_lines and so
        describe table objbin lines tab_lines1.
        clear objpack-transf_bin.
        objpack-transf_bin = ' '.
        objpack-head_start = 1.
        objpack-head_num = 1.
        objpack-body_start = 1.
        objpack-body_num = tab_lines1.
        objpack-obj_langu = 'E'.
        objpack-doc_type = 'XLS'.
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
    -tables
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = objbin
          receivers                  = reclist
    Regards,
    Sri.
    Edited by: sridhar arjunan on Jul 28, 2009 4:22 PM
    Edited by: sridhar arjunan on Jul 28, 2009 4:23 PM

  • Histograms on more than 32 character values

    I am having histogram on one of my varchar2(80) column. 30% of the records in the column have first 40 chars same because of which it is creating histograms for 80 buckets with similar endpoints and generating large cardinality though the actual resultset cardinality is only 2/3 records. Because of large cardinality query is going for FTS when searching for these strings and index scan when searching for values with 10 char string.
    In actual cardinality of the column is very low but optimizer is calculating it high because of incorrect histograms.Any idea on how to deal with histograms with more than 32 chars columns with first 32 chars similar or I should not create histograms on this column?

    Do not use histograms unless you need them. Is the data distribution for that column that far from uniform? You can run this simple query to see if you need histograms:
    select col , count(*)
    from tab
    group by col
    order by 2 descIf the difference in counts is not that great (you understand that this is an informal method), then you probably do not need histograms.
    Or you can try to calculate statistics, such as skew, to see if you need histograms.
    In case you need histograms:
    ->I do not think there is anything you can do for the 30% of the records that share the same first 40 characters. You can solve the issue by changing your table structure and queries, but that’s another topic.
    ->You might be able to create your own custom (fake) histogram about the other 70% of your data. Jonathan Lewis has a number of great posts about that - http://jonathanlewis.wordpress.com/2010/03/23/fake-histograms/
    Iordan Iotzov
    http://iiotzov.wordpress.com/

  • Insert an hyperlink in a mail text but the URL is too long (more than 255)

    Hi to all,
    I was asked to insert an hyperlink in a mail text. I was  thinking to use '<A href =" ' command . I'm usin BSC interface but my problem is that the internal table in wich I'm loading the body message is 255 character while the URL i'm trying to include in the e-mail si too long . Any fast solution ?
    Thanks
    Andrew

    You don't need to put the entire anchor tag contents on one line in the table before you append it to the body contents.  The reading application (Outlook, etc.) knows the entire tag contents based on the open/close of the tag.  I often chunk up my anchor tags like that via text elements so they're easier to read in the code.  Though you can't really see it, this is an anchor tag:
      begin_table 0.
      begin_row.
      begin_cell 100.
      gs_email_contents-line = text-s03.
      append_content.
      gs_email_contents-line = text-s04.
      append_content.
      gs_email_contents-line = text-s05.
      append_content.
      end_cell.
      end_row.
      end_table.

Maybe you are looking for

  • File Receiver Adapter

    Hi Guys, How can i read a text file using the File Receiver Adapter Can anybody help me, please?

  • Issues using 11.1.1.7.0 demo material on Windows 64 bit env

    I use ODI 10g - so downloaded 11gR1 version 11.1.1.7.0 and worked through demo to find out more about 11g functionality.  I installed 11gR1 on Windows 7.   I have found an issue with the SRC_SALES_PERSON datastore in the "Parameters - FILE" folder un

  • DBMS_LOB.ISOPEN throws the error ora-22275 invalid lob locator

    DBMS_LOB.ISOPEN throws the error below error. ora-22275 invalid lob locator The below assume that i am getting the v_lob_length as empty. But i am getting error when it comes to DBMS_LOB.ISOPEN. Please correct me if i am wrong. here is my code: DBMS_

  • Error signature noma

    when I try to open creative play center I get an error message on my computer screen error signature ctplay2 .exe and play center disappears .have tried re installing to no avail any help appreciated thanks .

  • Initiating guided procedures  from web dynpro

    Hi All ,          I am working on Netweaver 7.1  with guided procedures . I want to handle all process from web dynpro , i.e. i want to initiate process from web dynpro not from portal. Thanks in advance Regards Kavita