DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Column length

  1. #1
    Join Date
    Mar 2001
    Posts
    13
    Hi,

    How to change the length of a column in oracle 8 ?

  2. #2
    Join Date
    Aug 2000
    Posts
    194
    ALTER TABLE
    MODIFY(Column_Name Data_Type(Col_length))

    Note, to reduce the Col_length, the all the values in the Column has to be null.

  3. #3
    Join Date
    Aug 2000
    Posts
    194
    ooops!

    Posting got messed up. Here u go again,

    ALTER TABLE Table_Name
    MODIFY(Column_Name Data_Type(Col_length))


    Ex,
    Alter table test modify (deptno varchar2(15)) ;

    Note, to reduce the Col_length, the all the values in the Column has to be null.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width