Maximum characters of field

Hi,
I'm trying to find out what the maximum number of characters per field is.
Here is my case:
We are trying to have several 10k+ fields on one BC/table. We wanted what the maximum number per field is and how many of those field you can have.
On a field level we would use dtype notes which is mapped to the physical type of LONG. However, I found out that you can have at most 1 LONG field per table.
Are there any ways to have several large columns per table?
Thanks, Claus

Claus
Please remember that a single BC can map several tables however you are correct Oracle SGBD can only support one column of type LONG per Table.
If you can manage to restrict to less than 4000 bytes you can stay with VARCHAR type.
You can also consider using attachment to store large amount of information that can be accessed or indexed as well.
You should refer to Metalink3 article entitled "Support LONG field" (Doc ID 602146.1), you should also be aware that with version 8.0 and upward CLOB type is supported.
Good luck
JD
Edited by: EvtLogLvl on Oct 6, 2008 10:52 PM

Similar Messages

  • Maximum Characters Input Box

    What is the fattest letter? i.e. what should I use to test
    that content always fits within an input box regardless of what the
    user types? Is it the letter "M"? I know M is used as a standard in
    other design circles.
    Thanks

    Thank you. Is there an easy way to do the opposite, have a
    user's text adapt to the textfield? For example, I have an input
    textField that is 100 pixels in width, single-line, size 20 _sans
    font (Maximum Characters turned off for demo. purposes). You can
    input 5 "M's" before the field begins scrolling right, or you can
    enter 24 lowercase "l's". In this case the input is for a form that
    will be printed, therefore scrolling cannot occur (since it wouldnt
    show up on the print form), and Maximum characters must be turned
    on. So I would have to limit maximum characters to 5 right? In
    reality I'm working with much larger textfields, but you get the
    idea. Is there a way to set the maximum characters based on user
    input?

  • Send attachment with maximum characters

    I need to extract data from a table into a .csv and then send that .csv as an attachment.
    I am converting the data to csv and assigning it to clob variable but table has huge data therefore procedure gets error out after around 7000 characters with
    ORA-06502: PL/SQL: numeric or value error.
    Please suggest a way to send attachment with maximum characters.
    With the below sample code i am able to send atttachement upto 7000 characters.
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test subject';
    v_Mail_Host VARCHAR2(30) := 'mail.mycompany.com';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    v_message clob;
    BEGIN
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
    'Content-Type: multipart/mixed;'|| crlf ||
    ' boundary="-----SECBOUND"'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    'Content-Transfer_Encoding: 7bit'|| crlf ||
    crlf ||
    'some message text'|| crlf ||     -- Message body
    'more message text'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    ' name="excel.csv"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="excel.csv"'|| crlf ||
    crlf ||
    v_message|| crlf ||     -- Content of attachment
    crlf ||
    '-------SECBOUND--'               -- End MIME mail
    utl_smtp.Quit(v_mail_conn);
    EXCEPTION
    WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    Thanks,

    Thanks for your help Billy.
    I am able to segment the data but I am not getting any attachment instead segmented data is showing in the mail body.
    Can you please have a look and let me where it is going wrong?
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test mail';
    v_Mail_Host VARCHAR2(30) := 'localhost';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    v_message clob;
    message clob;
    BEGIN
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    v_message := 'date: ' || to_char(sysdate, 'DD-MON-YYYY HH24:MI:SS')||chr(10)||
    'from: '||v_From|| chr(10) ||
    'to: '||v_Recipient ||chr(10)||
    'subject: '||v_Subject || chr(10) || chr(10);
    utl_smtp.open_data (v_Mail_Conn);
    utl_smtp.write_data(v_Mail_Conn , v_message );
    --MIME header.
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'MIME-Version: 1.0' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Type: multipart/mixed;' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,' boundary="-----SECBOUND"' ||crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,crlf);
    -- Mail Body
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'-------SECBOUND'|| crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Type: text/plain;' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Transfer_Encoding: 7bit' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, 'Please see the attachments' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, crlf);
    -- Mail Attachment
    utl_smtp.write_data(v_Mail_Conn,'-------SECBOUND' || crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Type: text/plain;' || crlf);
    utl_smtp.write_data(v_Mail_Conn,'name="excel.csv"' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Transfer_Encoding: 8bit' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Disposition: attachment;' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'filename="excel.csv"' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,crlf);
    message := 'OBJECT_TYPE, OBJECT_FOREIGNKEY, OPERATION, EVENT_ID, STATUS_ID, NUM_BLOCKED, MODIFIED_DATE, INT_UPDATEEVENT_FMWID, ERROR_DESCRIPTION';
    utl_smtp.write_data(v_Mail_Conn , message );
    for rec in (
    select object_type, object_foreignkey, operation, x.event_id, x.status_id, num_blocked,
    e.modified_date, e.INT_UPDATEEVENT_FMWID, replace(substr(e.error_description,1,100),',',' ') error_description
    from (
    select b2.object_type, b2.object_foreignkey, t.operation, e2.event_id, e2.status_id, count(1) num_blocked
    from EVENT e
    INNER JOIN TRANSACTION t
    ON e.transaction_id = t.transaction_id
    inner join transaction_dependency d
    on t.transaction_id = d.transaction_id
    inner join transaction_block b
    on t.transaction_id = b.transaction_id
    inner join transaction_block b2
    on d.transaction_id <> b2.transaction_id
    and d.object_type = b2.object_type
    and d.object_foreignkey = b2.object_foreignkey
    inner join transaction t2
    on b2.transaction_id = t2.transaction_id
    and t.source_type = t2.source_type
    inner join event e2
    on t2.transaction_id = e2.transaction_id
    where t.source_type = 'CRM_OD_To_OP'
    and e.created_date >=(sysdate - 1)
    and e.status_id <1000
    and e2.status_id <1000
    group by b2.object_type, b2.object_foreignkey, t.operation, e2.event_id, e2.status_id
    ) x
    inner join event e
    on x.event_id = e.event_id
    and e.status_id = 900
    order by num_blocked desc, object_type, object_foreignkey
    ) loop
    message := crlf || rec.object_type||','||rec.object_foreignkey||','|| rec.operation|| ','|| rec.event_id||
    ','||rec.status_id||','||rec.num_blocked||','||rec.modified_date||','||rec.INT_UPDATEEVENT_FMWID||','||rec.error_description;
    utl_smtp.write_data(v_Mail_Conn , message );
    end loop;
    utl_smtp.write_data(v_Mail_Conn,crlf);
    utl_smtp.write_data(v_Mail_Conn,'-------SECBOUND');
    utl_smtp.close_data(v_mail_conn);
    utl_smtp.quit( v_mail_conn );
    EXCEPTION
    WHEN others then
    dbms_output.put_line('error ' || sqlerrm);
    END;

  • Maximum characters in line of notepad line

    Hi,
    I am reading and writing data on notepad file. Can anybody tell me maximum characters which can be written on single line of notepad file.
    thanks in advance.

    golden_moon wrote:
    Sabre150 I have tested and up to 1024 characters supported on single line but I need confirmation.Why not test it up to 2^32 or greater? How do you expect to get an authoritative answer on a Sun forum about a Microsoft product? If someone here says "1,000,000 characters" then what makes you confident that they know what they are talking about?
    P.S. Why are you only considering Notepad?
    Edited by: sabre150 on Apr 16, 2008 11:30 AM

  • What is the max characters  memo field can hold on crystal Xi?

    Post Author: chulheekim
    CA Forum: General
    Can anyone help me with memo field that I have on crystal XI?
    I see only about 200 characters on a memo field.
    what is the max characters  memo field can hold on crystal XI?
    I've got to bring this answer to the meeting tomorrow morning. I'm doomed.

    Hi Umesh,
    as for as i know SAP PO system can handle the file till GB also but this will be based upon your system resources and configuration as well.
    Please find the below link for further information.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/10/18/pixi-pi-73-processing-of-large-files--teaser
    Regards,
    Naveen

  • FML Field Table - maximum number of fields?

    Hello,
    in our Tuxedo-environment we are using the "FML Field Table" (text file) to define fields and FLDIDs to access and manipulate fields in a fielded buffer.
    My questions are:
    o is there a maximum number of fields one can define in the field table?
    o is it ok that this file grows very big if every application-relevant field is to be put into this table? (in our company we have services up to 80 fields...)
    o is it better practice to define universal FML fields (such as CHAR_01, CHAR_02, NUMBER_01...) to avoid that every service-field has its own field-defínition?
    Thank you for your help!

    Hi,
    1. FML/FML32 really have a maximum number.
    # For FML: between 1 and 8191, inclusive
    # For FML32: between 1 and 33,554,431, inclusive
    But you should pay attention that some fields are reserved by Tuxedo, you can get the reference at http://edocs.bea.com/tuxedo/tux100/fml/fml04.html
    2. It depends on how you use FML routines. Some routines, such as Fldid which map the name to the numeric identifier, sure it needs a little cpu cycle for the searching if you defined hundreds thousands of fields. But for most APIs, such as add/change/update/delete, the API only requires the numeric C macro definition, so there is no performance issue. A number of 80 fields is adequate absolutely. You should not worry about that in a very long future.
    3. From my personal point of view, I think it is a good habit to define the fields universally in Tuxedo applications. You will feel more administration benefit if you want to extend Tuxedo to Java by JOLT, to web services by SALT etc.
    Regards,
    Wayne

  • Maximum Number of Fields Reached

    I read on one of the forums that there is no hard number to maximum number of fields. However, I received this message: "You have reached the limit on the number of items allowed in a FormsCentral form. You may delete or modify existing items."
    Why is this?
    I have subscribed to Basic pack.
    Thanks.

    Thanks Josh,
    Splitting forms does not help my cause. It is a governement form which requires a lot of information in it. If the information can not be filled in one form, I am affraid that this product is not suitable for our organisation. Is there a way that I can seek a refund?
    Thanks.

  • Maximum number of field in table?

    hi...
    What is the limit of maximum number of fields in oracle 9i table?
    Regards,
    S.Ashokkumar

    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_73a.htm#2095335
    "The absolute maximum number of columns in a table is 1000"
    Rgds.

  • Maximum number of field values for an Authorization object

    Hello Experts,
    What is the maximum number of field values can be put into the role, Is there any restriction for number of values in any authorization field?
    I have put 326 values for field OBJTYPE in authorization object S_DEVELOP but not able to generate the role it is showing error.
    I know I can split the values in two or more instance but wanted to know if there any other way out for this (without creating more instances)
    Thanks
    DK

    If the values for OBJTYPE are not uniquely the same, then the system will not merge them - so nothing will be lost.
    Here is another trick for you: Choose one of the transactions in the role (or create a "symbolic" one for it") where you want to have the OBJTYPE proposed automatically from. Now maintain one or two of them in SU24 and then download it to your PC. Now from the F4 value range of the OBJTYPE, add all of those values you want via copy&paste into the file and then upload into SU24 again. A read old / merge new in PFCG will then swing all the values in for you.
    Single values are always better, as you do not know what else is hidden in the range or might be added in future. It is however common to see FROM / TO ranging around values such as DEBUG and FUGR although all aspects of S_DEVELOP are dangerous - even in display mode.
    Cheers,
    Julius

  • Maximum number of fields on form?

    What is the maximum number of fields that can put be put on a FormsCentral form that can that responses can be collected for?

    Josh_Corey wrote:
    Hi abhvor;
    We used to recommend keeping forms under 200 fields but did not enforce a limit, we now do have a limit at 500 fields.
    Thanks,
    Josh
    Hey Josh_Corey,
    Is there any way to have more that 500?? Like by disabling something or asking a certain person at Adobe??
    Thanks,
    Gary

  • ALV displays a maximum of 130 characters for field

    Hi all!
    I have a problem with the ALV display and Debug textbox.
    I have a var which has 220 of length but alv only displays the first 130.
    Also, debugging, this var is showed in the textbox with the first 130 characters, but if I write l_message+100 i can see that the rest of message exists.
    The ALV is Ok. I have changed the length of the field to 200 chars instead the l_message type but it still happens. I think that there is any routine or something that is forcing the vision of 130 characters in the ALV and DEBUG.
    Do u know anything?
    Thanks!

    I am able to get upto 255 characters. Are you doing grid or ALV list.
    check whether you gave line size in report line.
    check the fieldcatalog output length what you gave and if any reference table name filed name you gave.

  • Maximum characters in textEdit field

    Hi all,
       I am using TextEdit control. now i want to set the maximum character for the control. for example 100 characters.
      how to achieve this.
    Regards,
    Shanthakumar.

    Hi,
    You should use LengthValidator to set the maximum character for the control.
    Check this:
    Client-side Input Validation with HTMLB - Intermediate
    Regards,
    Praveen Gudapati

  • Problem setting maximum characters for a date field.

    Good morning all. I am trying to ensure that a date field on the form I am working on validates if the entry is not more than 8 digits, and if it is more, it should display a message, and return the focus back to the field until it is correct. Below is the code I wrote but it is not working:
      if(DATE1.length>"8"){
        xfa.host.messageBox(Enter eight digits for the date in the format YYYYMMDD or use the drop down calendar.);
    xfa.host.setFocus("form1.Page1.DATE1");
    I do not know why it is not working, i need help. I have this code on the exit event.
    Thanks
    v/r
    Tammy

    Well you are missing the " around the text in your messagebox but even then it doesn't seem to work. I am not a javascript expert so am not sure why but it works in formcalc like this:
    if(Len($) > 8) then
        xfa.host.messageBox("Enter eight digits for the date in the format YYYYMMDD or use the drop down calendar.")
        xfa.host.setFocus("$")
    endif

  • How to set maximum characters to TextBox?`

    i have a textBox and i dont want that to user will fill in more than two
    characters
    Thanks

    That only works on a JTextField. The OP is using a TextField.You're right - I hadn't seen that.
    I've already asked the OP to be clear and precise with the question.I'm not sure what you mean - the question is not that unclear, is it? What I understand from it (and I like guessing) is that he wants to restrict the number of characters that can be entered into a text field.
    It's been a long time since I last worked with AWT, but looking at the Javadocs, I don't see an easy solution. You could override processEvent and not forward key events if the maximum length has been met, but that would fail when text is being pasted. You'd have to look at the code if there is a single entry point for text inserts.

  • Maximum length of field in ALV GRID Display.

    Hi,
    I have a requirement in a report where i have to display long text related to WBS elements and Networks whose maximum length is 640 characters. I want all the 640 characters of the text to be displayed in one single line but ALV is showing only 128 characters ( or 132 ). Does anybody know how to achieve this.
    Thanks in advance.
    Sharath kumar R.

    Hi,
    have a look to foll. link
    Display String in ALV List
    regards Andreas

Maybe you are looking for

  • WM_INPUT message no longer sent in Windows Technical Preview build 9879?

    I had software that relied on the WM_INPUT message and it used to work with previous builds (and Win 8.1). I needed it for remapping a wireless keyboard's fn key to CTRL key (I was using an Autohotkey script which captures WM_INPUT). But now looking

  • IWeb after re-install

    I want to reformat my hard drive and do a full reinstall of all my software. (I just do, ok?) Does this have any implications for my iWeb sites? When I reinstall iLife 06, will it recognize that I am the "editor" of these sites and allow me to modify

  • Control Error

    Hi, Can any on help me to find out the reason for the enclosed Control Block , as per enclosed screenshot. Thanks in Advance

  • Red hat 4 AS and Oracle9 problem (libstdc++-libc6.1-1.so.2)

    Is there any doc about installation problem when installing Oracle9.2.0.4 On RH4 AS. I get "Error While Loading Shared Libraries: libstdc++-libc6.1-1.so.2". There is note (Doc ID:      Note:198577.1) but there fix is not possible: Install the require

  • PNG files?

    I have downloaded a file (NYC subway map) and I can find it on my ipod, but I can't seem to get it to open. When I find it, its ends up showing PNG and doesn't give me any other options and doesn't show me a picture. When I open the file on my pc, th