|
-
You can easily reduce the size of a column in oracle without affecting the data in the modifying column.
SQL> alter table column
example:
SQL> alter table employee column emp_name varchar2(12);
If your data size in the modfying column is greater than your reduced new size then it won't change rather it will display an error message "cannot decrease column length because some value is too big".
Last edited by ArjunRaghu; 03-07-2013 at 02:29 PM.
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
|