Problem in save long length of character

Dear All
I have data that length 1500000 charcter what is the suite datatype to save it in the database.
i cant save in varchar2 because the maximum length is 4000.
thanks in advance.
Edited by: user8942603 on 17/08/2010 06:43 ص

Try this:
SQL> create table my_Tab(col1 clob);
Table created.
SQL> ed
Wrote file afiedt.buf
  1* insert into my_tab values(RPAD('*',1500000000,'*'))
SQL> /
1 row created.
SQL> commit;
Commit complete.
SQL> select * from my_tab;
COL1
SQL>

Similar Messages

  • Problem in displaying long string in JTextField

    Hi All,
    I got problem in displaying long String in JtextField. It does center alignment & I can see middle part of string where length of JTextfield is 6 char. How can I do left alignement so that I can see starting 6 character?
    --Harish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    you may try this:
    yourTextFieldName.setHorizontalAlignment(JTextField.LEFT);
    or
    yourTextFieldName.setHorizontalAlignment(JTextField.LEADING);
    hth.

  • A problem about a string length of the JTextField.

    Hi, all.
    I have a problem of check the length of the text in the JTextField. Look at the following program snippet.
    import javax.swing.text.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.DocumentListener;
    import javax.swing.event.DocumentEvent;
    public class test extends JFrame
    JTextField jTextField1 = new JTextField(50);
    static final int MAX_LENGTH = 10;
    public static void main(String[] asArgs)
    test testFrm = new test();
    testFrm.setVisible(true);
    class newDocument extends PlainDocument
    public void insertString(int offs,String str,AttributeSet a) throws
    BadLocationException
    String strTmp;
    strTmp = jTextField1.getText();
    int nSize1 = strTmp.getBytes().length;
    int nSize2 = str.getBytes().length;
    if(nSize1 + nSize2 > MAX_LENGTH)
    return;
    else
    super.insertString(offs,str,a);
    public test() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    jTextField1.setText("");
    this.getContentPane().add(jTextField1, BorderLayout.NORTH);
    newDocument myDocument = new newDocument();
    jTextField1.setDocument(myDocument);
    public void removeUpdate(DocumentEvent e)
    jTextField1.setText(sOldStr);
    System.out.println("removeUpdate");
    Attention please: I want to check the bytes of the inputted string. It is no problem with english string inputting, but if I input a string with other charset such as A Japanese string or a Chinese string, it doesn't work(when your input string is as long as the MAX_LENGTH, it doesn't work well). How can solve it? Thank you very much.

    i believe the problem is that you didn't set the font of the JTextField.
    I don't know what's the default Font of the JTextField is (i think it's dialog)
    the default textfield cannot display chinese character (and mort unicode character - latin 2 - extends and above).
    You need to set the font that can handle displaying the CHinese & Japanese characters (however, your application may not work if you port your app to another computer..and they don't have the font that you specified (unless you ship the font with it))
    // why are you getting converting the String to byte and then get the length???
    int nSize1 = jTextField1.getText( ).length();

  • SQL Loader Multibyte character error, LENGTH SEMANTICS CHARACTER

    Hi,
    startet SQL Loader Multibyte character error
    {thread:id=2340726}
    some mod locked the thread, why?
    the solution for others:
    add LENGTH SEMANTICS CHARACTER to the controlfile
    LOAD DATA characterset UTF8 LENGTH SEMANTICS CHARACTER
    TRUNCATE                              
    INTO TABLE utf8file_to_we8mswin1252
      ID    CHAR(1)     
    , TEXT  CHAR(40)
    )Regards
    Michael

    Hi Werner,
    on my linux desktop:
    $ file test.dat
    test.dat: UTF-8 Unicode text, with very long lines
    my colleague is working on a windows system.
    On both systems exact the same error from SQL Loader.
    Btw, try with different number of special characters (german umlaute and euro) and there is no chance to load without the error
    when to many (?) special characters or data is long as column length and special characters included.
    Regards
    Michael

  • Problem with paragraph style overrides and character formatting

    I've had this problem for a long time, and sometimes it resolves itself, sometimes it doesn't. Finally I'm begging for help.
    I am typesetting academic articles into a journal.  We use endnotes. The endnotes have both italic and regular formatting--italics for book and journal titles, and foreign phrases.
    Sometimes when I place the text, the formatting reverts to whatever it was in Word.  To try to fix that, I've begun stripping the Word formatting from the original document, making everything "Courier New" and just importing it like that.  I figured this would clear a lot of the problems I've had with fiddly formatting issues.
    I was mistaken. 
    Here is what happens:
    When I place the document it comes up in the original Courier New font, with italics and other formatting intact.  If I click "article style" which is the main article paragraph  style format, normally it changes.  but if I right click and select "apply article style" it is more likely to change the paragraph to the proper style, with italics and other formatting still intact.
    But when it gets to endnotes, I'm sort of screwed.
    My endnotes style is a bulletted style, so that I can have the endnote numbers consistent.  but this seems to screw all the style formatting.
    Here is what I do:
    With the cursor in endnote text, I click "bulleted endnote style".  The character format remains the same, with a + beside the style. The endnote number format is different, however.  If I click "clear overrides" it does in fact change to the proper formatting, but it strips any italics or other character in the text.  This is frustrating because many of these endnotes have lots of italicized journal and book titles, and it takes a long time to figure out which ones I need to reitalicize manually.
    I have tried to use the "customize style import>Style mapping" but it has not fixed anything.
    Please help me figure out how to make these transitions more smoothly.  I am open to suggestions both on how to make the changes once the document is placed in the Indesign file, and also making modifications to formats in the native Word file so that I don't have these problems. 
    Thanks
    Dan

    Sorry, that last message wasn't supposed to send (if that's not obvious!). I was writing it and got interrupted.  Damn iphone. 
    I know why there are two numbers.  This is not an issue. What I didn't finish writing was that, the note number before i bullet it is a different font/ format. Again, not a problem.  Here is something interesting, though.  If I delete that original number by placing the cursor in the middle of it (say a between the 4 and 2 of 42) then delete everything by Shift+arrow forward, press delete then delete the rest of the unnecessary characters, THEN apply the style formatting, it works just fine.  Is it something to do with the character codes of those original note numbers? 
    Word drops in so many hidden codes that it screws everything up!

  • My 1st generation Time Capsule/2007 keeps shutting off and disconnecting from internet?  What could be the problem?  How long do the Time Capsules usually last?

    My 1st generation Time Capsule/2007 keeps shutting off and disconnecting from internet?  What could be the problem?  How long do the Time Capsules usually last?

    That it is still working is miraclous.. most have died.. lots started flaking out at 18months to 2years..
    See deadtimecapsule.org
    The few that remained now seem to have reached EOL.. you can repair if you have some skills.. fairly cheaply.
    But it is well and truly time to replace.
    https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair

  • Problem in Saving long texts from IC Webclient

    Hi,
    I have a little problem with BP long text transfert.
    In IC Webclient, I identify a account and I create a long text (for exemple a Accounting Note).
    I can find this text in CRM (t-code BP->long text) but, it is not transfert to ECC (XD03->Extra->text).
    If I create a accounting note directly in CRM, it is transfert to ECC !!
    The transaction PITX is customized in ECC.
    I work with CRM5.0 and ECC6.
    What I missed ?
    Gaétan

    Hi Gaétan,
    Maybe the BDOC BUPA_MAIN responsible to export the change to ECC is not being created when you make the change in IC Webclient.
    Can you confirm it in SMW01? Try to make a change in a partner long text in IC webclient, and check if the bdoc was sent to R3.
    Then try it in BP t-code, and check it again.
    If this is the problem, maybe you should contact OSS suport.
    Kind regards,
    Garcia

  • Problem in converting Long Raw to Varchar2

    Hi
    I need to analyze the contents of a 'Long Raw ' field to proceed further. In an attempt to do that, using the following code, I could not see the data in a readable format.Kindly Help...
    create or replace procedure lr2vc1 (lv_id number) is
    c1 long raw;
    note_varchar2 varchar2(32000);
    begin
    select value into c1 from Test_table where id=lv_id; /*value is the Long Raw field*/
    note_varchar2 := utl_raw.cast_to_varchar2(c1);
    insert into lr2vc (prid,lrvalue) values (lv_id, note_varchar2);
    commit;
    --dbms_output.put_line(c1);
    end;
    Thanks
    Sandeep

    Whats wrong with the answer given here?:
    <br>
    Problem while converting Long Raw data to Varchar2

  • Problem in downloading long text

    Hi Experts,
    I am facing problem  while downloading long text.
    previously it was working 5ne. now it is giving the error meaasge
    ID ST Language En not found
    is there any settings to do.
    Thanks & Regards
    Sangareddy

    In a SAPscript you do not need to use ABAP code to retrieve long text - Just use the INCLUDE command in SAPSCRIPT - see help for details
    /: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p]
    this puts the complete long text in and formats it for the window
    Long text problem in sap script
    Reward points..

  • Problem in "Save & refresh data" in epm ribbion

    Hi Experts,
                     I got a problem in Save data option .
    I had a report with values but now i changed it into input-form to enter values . After entering my values i'm clicking on SAVE DATA button in epm tab but my problem is it is showing success but the data in the input-form is not changing...
    can anyone provide me solution please................

    Thanks for reply, but my problem is that it is not saving the data in the cube dimension, must apply the notice specified above.
    Greetings and Thanks

  • Problem in Save and Save As Option

    Hi All,
    I hv developed a swing application in that,
    I hv a problem in save and saveas option. When i click "saveAs" and choose a directory the file is getting saved to the directory which i choose. And after that if change anything and click "Save" the file is saved to the default directory i.e the program execution directory.
    Is there anyway to change this. Kindly help me.
    Thanks in Advance.
    ss

    First thing is not to cross-post.

  • Problem in uploading long text in service master through AC02

    hi experts,
    while iam recording the LSMW through T Code AC02 the system is not linking to the longtext in service master. Kindly guide me in this regard to upload service master with service long text together

    I have the same problem where the long text is not being updated through a AC02 BDC session.  Did you find a solution to the problem yet?
    Thanks
    Johan

  • HT5521 I have a lightning to usb cable which is 2m in length.  Is there any known issues with trying to recharge an iPad 4 with this longer length.  It seems to me it is taking much longer than a 1m cord to recharge.

    I have a lightning to usb cable which is 2m in length.  Is there any known issues with trying to recharge an iPad 4 with this longer length?  It seems to me it is taking much longer than a 1m cord to recharge.

    Axel,
    I'm afraid a new SSD won't be different from your bad USB stick. I had similar issues over USB with both a (no-brand) stick and TWO 64gb Kingston SSDNow's (running Kubuntu 12.04 with Kernel 3.11, ia_64): it all runs exceptionally well (wanna know how it feels like booting in 5 sec?) for a few days - then suddenly you find yourself facing that dreaded (initramfs) prompt. You ask yourself: why? Did I upgrade grub lately? Did I upgrade the Kernel? I don't recall so. Ok, let's fix this... insert favorite live cd, boot, fsck...what???? THOUSANDS of errors??? Hundreds of files and directories corrupted, and the system is unusable - Reinstall everything from scratch onto another drive.
    Rinse and repeat: did this 3 times. Then I found this analysis:
    http://lkcl.net/reports/ssd_analysis.html
    I also suspect USB power interrupts more abruptly than SATA power, at shutdown - basically aggravating any power interruption damages. So now I'm going to:
    - buy an Intel S3500!
    - add commit=1 to my mount options in /etc/fstab
    - edit shutdown procedure to add a 5-10 sec pause after unmounting drives.
    Just my two cents.
    Andrea
    Last edited by andreius (2013-12-29 16:51:04)

  • Just updated to itunes 12.1.0.71 - big problem - can no longer access the legacy "Get Info" where you could change multiple files, easily add artwork, add album name for TV show, and much more. In previous iTunes 12 you'd right click

    Just updated to itunes 12.1.0.71 - big problem - can no longer access the legacy "Get Info" where you could change multiple files, easily add artwork, add album name for TV show, and much more. In previous iTunes 12 you'd right click and hold shift key and be able to get to it. Anyone figured this out?

    The "legacy" metadata editors, for which there was a "back door" in iTunes 12.0, have gone from 12.1.  However, the revised editors in 12.1 provide access to (almost) all the metadata elements that were available in iTunes 11, albeit in a different layout and with some additional constraints based on media kind.  Some users have / will have an issue with the statement that "Get Info has been completely redesigned in iTunes 12 to focus your attention only on what’s necessary for the selected item" since that removes some metadata elements that people may have been using in creative ways.  iTunes 12.1 basically gives you access to the fields that Apple think are necessary ... .  Some of the things that have been excluded by this rule:
    track and disc number fields for video media kinds
    show and episode fields for music
    description tab for audiobooks made up of more than one file
    Obviously the first two examples can be regarded as "overloading" the metadata elements - i.e., using them in ways that the designers didn't intend - but given that some users do find valid cases for this it's a shame that they've been deprecated in the new UI.  There are couple of workarounds:
    in songs view (or any of the other columnar views), you can still select any fields to display, independent of media kind, and these can be edited (though only one at a time) by double-clicking in the relevant "cell"
    you can (temporarily) change the media kind of an item (or group of items) to get access to metadata elements that would otherwise be inaccessible.
    It may be worth submitting an issue via https://www.apple.com/feedback/itunesapp.html - I can't see it as a huge development task to have a user preference to switch between "show all fields" and "filter fields based on media kind".
    One other oddity/irritation is that some of the tabs don't, by default, show all the available fields - you need to scroll up/down to access them or to expand the window by dragging on one of its corners.  Fortunately, the latter seems to be persistent - once you've done this to make all the fields visible the editor will open at the same (larger) size when opened again.

  • MM02: Problem in updating Long Text

    Hi All,
    My requirement is to do MM02 Conversion. I have to Update 14 fields in the transaction.I got a Problem with my LONG TEXT Field.
    Requirement for updating is whenever a double quotes comes in the place of LONG TEXT in the input file, i have to empty the LONG TEXT in the transaction.
    For modifying the already existing Long Text, its working perfectly. But problem is arising only when i want to empty the LONG TEXT field.
    What i did was,    IF zbasic-matnr_long_text = ' "" '.
                               bmmh7-tdline = ' '.
    Also i have passed Text ID, Text Langauge.
    So please Help me with this Problem
    Message was edited by:
            karthikeyan Thangavel

    Hi Sathish,
    If i use Fm Delete_Text, as soon as it encounters the FM it will delete the LONG Text.
    Since Im using LSMW, everything should happen after i run the step 'Start Direct Input Program'.
    Please just consider, suppose there is a Transaction Error in my LSMW. So according to this situation no transaction should happen i mean LONG TEXT should not get deleted.
    But Since it has enountered the FM, Long text must get deleted.
    Please correct me if anything is wrong in my Logic.
    Also tell me what i should do if my Logic is correct.

Maybe you are looking for

  • Select option as parameter in FM.

    Ho to pass select options as a parameters in function module.

  • Why does Adobe Media Encoder fail to export Quicktime Files?

    I'm using Adobe Media Encoder CC 2014 on a Windows 7 Pro 64 bit PC. While exporting the Quicktime variant of H.264 for ATSC television broadcast files, Adobe Media Encoder fails.  Non-Quicktime H.264's render correctly, but some television stations r

  • Can someone recommend a powerline adapter that works w/ Airport Express/AirPlay?

    I recently purchased the Netgear Powerline 500 Nano PassThru Dual Port (XAVB5602-100NAS) and it works fine when I connect it to another computer in my house, but when I connect it to my 1st Gen airport express to use AirPlay through my stereo receive

  • Resolution Size

    Ok, heres a dumb question for most of you. When you are done editing a picture, the jpeg options box comes up, and you have to choose small or large file size, and high or low resolution. (Also medium, too)  Do I want high resolution for a "quality"

  • My time zone will not automatically reset

    I have been in South America for 2 months. Coming from the states, my time zone adjusted automatically (1 hour time difference). I spent a weekend in Uruguay and when I returned to Argentina, the time zone did not readjust to Argentina time, but stay