希望标题已经很清楚了。
我想看一个更改表语句的示例,该语句可以将 Sybase 表中现有的不可为空的列更改为可以为空。
最佳答案
Modifying the NULL default value of a column :
If you are changing only the NULL default value of a column, you do not need to specify a column's datatype
(从上面的链接切换示例):
alter table authors
modify address null
关于Sybase/ALTER 表 : how to turn an existing column from non-nullable to nullable?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6593411/