Alter table reaching the max number of char 4000, CLOB? NCLOB?

I have a column is a table defined as a VARCHAR2(4000)
I try to alter the table
alter table sybaapc
MODIFY  SYBAAPC_EXTRACURRICULAR VARCHAR2(5000)but it give me this error
ORA-00910: specified length too long for its datatype
I want the users to be able to enter more information on that column.
It seems that 4000 is the max we are in Oracle 10g
can I changed to CLOB or nclob, we already have data in that table?
What are the implications of changing it to clob or nclob,

Thats becuase the maximum character length for a table column is 4000.
Alternatively you can:
SQL> create table test_1 (col1 VARCHAR2(4000))
  2  /
Table created.
SQL> insert into test_1 values(RPAD('*',4000,'*'));
1 row created.
SQL> commit;
Commit complete.
SQL> alter table test_1 modify (col1 clob);
alter table test_1 modify (col1 clob)
ERROR at line 1:
ORA-22858: invalid alteration of datatype
SQL> alter table test_1 add(col2 clob);
Table altered.
SQL> update test_1 set col2 = col1;
1 row updated.
SQL> commit;
Commit complete.
SQL> alter table test_1 drop column col1;
Table altered.
SQL> alter table test_1 rename column col2 to col1;
Table altered.
SQL> desc test_1
Name                                                  Null?    Type
COL1                                                           CLOB
SQL>
SQL> select * from test_1;
COL1
SQL> Edited by: AP on Aug 24, 2010 7:41 AM

Similar Messages

  • What is the max number of records in table

    Hello Friends,
    am using oracle 11g .
    How many records we can store in a table or what is the maximum size of the table . On what factors it depends.
    If the number of records are ever growing , what is the best possible solutiion ?
    thanks/kumar

    There is a limit based on the limit of the ROWID.
    You may find this limit in Oracle documentation.
    From database version 9.0 it is virtually unlimited for us, as it is hardly likely to reach the max value of the ROWID with data we can store now and with the actual speed of our computers (reported to our lifetime).

  • What's the max number of columns a table can have on 32 bit OS & 64 bit OS

    What is the max number of columns a table can have on 32 bit OS & 64 bit OS ?
    Edited by: sameer naik on 02-Jul-2010 02:11

    For TimesTen 7.0 and 11.2.1 releases the limit on the number of columns per table is 1000 for both 32 and 64 bit TimesTen. This can be found in the documentation under System Limits.
    Regards,
    Chris

  • Max number of chars in process message MSEL?

    Hi, what is the max number of characteristics can be used in process message category's MSEL table? Right now, I am using more than 99 characteristics and I get a short dump DYNPRO_FIELD_CONVERSION. Is it really limited to 99 characteristics and if it is true, is there an OSS note to change it to allow more than 99?
    Thanks and points available

    Please make sure that you build a
    multithreaded program first (check with ldd).
    If anyone can tell me the maximum number of threads per process I would
    really appreicate it.
    Also the maximum number of open files per process. It depends on the architecture (x86/SPARC), OS version,
    64 or 32-bit, /etc/system, shell limitations (/usr/bin/ulimit) ...
    Search for "rlim_fd_max / rlim_fd_cur" on docs.sun.com too.
    HTH,
    -vladimir

  • How to change the max number of member display in Target Group

    Dear Experts,
    We are using 2007 CRM Marketing.
    When I search and open a Target Group it displays me maximum of 100 entries of members over 11 pages. how do I increase or decrease the max number.
    Appricate you help.
    Thanks,
    Shabbir Hussain

    Hi,
    you can set the number of members that will be displayed in target group.
    Go to any profile group -> open the graphical modelling -> open settings.
    Here you can ajust the displayed number of members in a targetgroup.
    These settings are user-dependent and saved in table CRMD_MKTTG_PERS.
    Regards,
    Claudia

  • Finding the Max Number

    Hi All,
                     I have table from which i have to find out the site and its max number.i fetch all the data in ITAB. now i am not understanding wat to do to find the max number.here is my problem...
    Site              Number
    1001             2
    1001            1
    1001            5
    1001           50
    1001         30
    1002          1
    1002          100
    1002          10
    now i have all this data in my ITAB and den it is printing in my alv.
    now i want data to be like this...
    Site            Number
    1001          50
    1002         100
    plz tell me wat to do...as i am very new in this area.
    Thanx,
    Vaneet
    Moderator Message: Basic Post. Put some effort of your own first.
    Edited by: kishan P on Dec 10, 2010 3:42 PM

    Pretty straigth forward.
    Just sort the internal table by site number descending. That way you know you always have the highest number in the first record for the site.
    sort itab by site number descending.
    loop at itab.
      at new site.
         itab2-site = itab-site.
         itab2-number = itab-number.
         append itab.
      endat.
      continue.
    endloop.

  • HT4863 i am receiving a message that i have reached the maximum number of messages i can send out today but i have not even sent 5 emails out yet today ?

    i am receiving a message that i have reached the maximum number of messages i can send out today but i have not even sent 5 emails out yet today ?

    I'll add that this can happen when snapshotting is used as a backup method. You can set max endpoints to 32 and still see the issue. Please ensure that you're backing up using the supported PowerShell commands: http://technet.microsoft.com/en-us/library/hh202170.aspx
    and not just a snapshot of the VM. If raising max endpoints does not resolve the issue, try backing up with the management shell commands within a recurring scheduled task or try http://gallery.technet.microsoft.com/office/Backup-script-for-Lync-2013-aacbb9b9
    . Then disable the snapshot ting for your front ends, bounce them one at a time, and ensure the data exports you've made are backed up as flat files.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • I cannot sign in to my icloud i reached the maximum number of free accounts for my phone. how will i log in now? it is an i phone 5 and was used for work before and now i want to use it for personal use

    I cannot sign in to my icloud. I have reached the maximum number of free accounts on my phone.
    I am not sure what to do next.. i need to set up an icloud but i cant now.

    Welcome to the Apple Community.
    Unfortunately once all the 3 iCloud accounts have been created on your mobile device, you cannot create any more regardless of what you do. You will need to re-use one of the accounts that you have already created or create your new account on another device or computer.
    You should however be able to add existing accounts to your device, are you sure you aren't trying to create on rather than simply use an existing one.

  • What is the max number of hyperlinks supported in a PDF docment?

    What is the max number of hyperlinks supported in a PDF docment?
    How do I find out how many hyperlinks there are in a PDF document?

    I don't think there's a limit to the number of links you can add to a file...
    This code (taken from the reference files) will report the number of links in your file:
    var numLinks=0;
    for ( var p = 0; p < this.numPages; p++)
    var b = this.getPageBox("Crop", p);
    var l = this.getLinks(p, b);
    console.println("Number of Links on page " + p +" is " + l.length);
    numLinks += l.length;
    console.println("Number of Links in Document is " + numLinks);

  • In Oracle 10g, what is the max number of values we can pass to  'IN' Clause

    Hi,
    In my SQL query i have a scenario like, i have to pass the values to 'IN' Clause dynamically from other application. I want to know what is the the max number of values i can pass to 'IN' Clause.
    i have searched in many pages i seeing answers like 'may be 1000' , 'not sure'....
    Could any one tell me the exact limit of IN Clause in 10g.
    Thanks in Advance.
    Chandran

    Hi, Chandran,
    Chandran M wrote:
    In my SQL query i have a scenario like, i have to pass the values to 'IN' Clause dynamically from other application. I want to know what is the the max number of values i can pass to 'IN' Clause.
    i have searched in many pages i seeing answers like 'may be 1000' , 'not sure'....Don't overlook [Dont want to know|http://forums.oracle.com/forums/thread.jspa?messageID=2683385&#2683385]. This may explain why people are reluctant to give a straight answer.
    Could any one tell me the exact limit of IN Clause in 10g.1000 items such as IN (1, 2, 3, ..., 1000)
    No limit on the number of sets: IN ((1), (2), (3), ...) *<=== NOT QUITE!* See below
    No limit in sub-queries: IN (SELECT ...)
    Edited by: Frank Kulash on Jun 3, 2009 9:43 AM
    The limit of 1000 applies to sets of single items: (x) IN ((1), (2), (3), ...)
    There is no limit if the sets contain two or more items: (x, 0) IN ((1,0), (2,0), (3,0), ...)
    Thanks to Michaels for pointing this out.
    Edited by: Frank Kulash on Jun 3, 2009 10:22 AM
    Fixed link

  • What happens when you reach the maximum number of failed attempts on the lock screen password of iPod Touch?

    Do you get the screen that says, "iPod is disabled. Connect to iTunes", or do you get that screen when you reach the maximum number attempts on the restrictions password?

    Thank you. I am out of town traveling and my daughter sent me a picture saying the got the before mentioned message. She told me she forgot her lock screen password, and that just boggled my mind considering she locks and unlocks that thing 1000 times daily. I automatically assumed she was trying to guess the password I put on the restrictions page.

  • What is the Max Number of Total Work Process that we can Have on  One C.I

    Hi,
    What is the Max Number of Total Work Process that we can have on a Single C.I
    Is there any Limit that We can only have Perticular Number of Total work process ?
    Or it is just Unlimited number of total work process
    Thanks & Regards
    Dan.

    from the system throughput point of view a rule of a thumb is:
    1 up to 4 sometimes 5 workprocesses per CPU.
    (one is used in Benchmarks where you have a very small number of transactions running with a small amount of database accesses)
    you can easily find it out:
    configure 4 WPs per CPU. If you have a number of WP's consuming nearly no CPU time you can reduce the number of WPs.
    regards
    Peter

  • "Numbers" when creating a sheet the max number of rows is only 255, is this correct because i thorght is was something like 65,000

    "Numbers" when creating a sheet the max number of rows is only 255, is this correct because i thorght is was something like 65,000

    max columns is 255
    max rows should be 65535

  • Sorry, you've reached the maximum number of open tabs. Please close a few tabs first before opening additional tabs.?

    I have just opened email. There is one email. When I click to open I receve the message "Sorry, you've reached the maximum number of open tabs. Please close a few tabs first before opening additional tabs." How can I have too many tabs? Does anyone else receive this message? What do you do to get to read your email?

    Wow, never heard of that one before, is this on your Mac or an iDevice?
    Or is this WebMail in a Browser?
    http://www.justanswer.com/mac-computers/5gzyr-asked-answer-yet-hit-wrong-button. html

  • E-edition freezes up with 1A.pdf The max. number of files are already open no other files can be opened or printed until some are closed , showing four of five and computer froze any I must close by shutting down manually.

    My online E-Edition newspaper will freeze up after loading the front page and gives me the message that the max. number of files are already open and no other files can be printed or opened until some are closed. 1A.pdf. When you click ok it repeats itself and you have to force shutdown by holding off button. I'm totally stumped.

    I have read that "1000" is default maximum for Acrobat 4 or Acrobat 5 (I don't remmember it exactly anymore). Concerning my PC and RAM. I have a high-end graphical computer at my office; so I'm sure the RAM memory is not the reason.
    Anyway, thanks for answer.

Maybe you are looking for