-
Hi,
How to change the length of a column in oracle 8 ?
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|