Modify column Vs change column

前端 未结 5 1133
南旧
南旧 2020-11-30 01:33

I know, we can not rename a column using modify column syntax,but can change column syntax.

My question is: what is the main usage of

5条回答
  •  醉话见心
    2020-11-30 02:17

    That is the same. It was done to support another syntax (Oracle ALTER TABLE as I know). You can use both of them.

    Note: ALTER TABLE CHANGE old_col_name new_col_name syntax allows renaming column using one command.

提交回复
热议问题