Regardless of what error Oracle SQL Developer may indicate in the syntax highlighting, actually running your alter statement exactly the way you originally had it works perfectly:ALTER TABLE TEST_PROJECT2 MODIFY proj_name VARCHAR2(300);仅当需要一次更改多个列时,才需要添加括号,例如:You only need to add parenthesis if you need to alter more than one column at once, such as:ALTER TABLE TEST_PROJECT2 MODIFY (proj_name VARCHAR2(400), proj_desc VARCHAR2(400)); 这篇关于如何修改列的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-13 14:54