天天看点

db2 修改字段

db2 v10

语法:alter tabname alter column colname set data type  datatype.

将字段的长短变短(变长则不会),会将表状态置为reorg pending. 需对表做reorg解决。

继续阅读