原文:db2修改表字段

db 表字段修改 :删除字段非空属性alter table XXX alter column XXX drop not null :添加字段非空属性alter table XXX alter column XXX set not null :添加一个新字段alter table XXX add column XXXX varchar :删除一个字段alter table XXX drop colu ...

2018-03-15 09:20 0 4289 推荐指数:

查看详情

DB2查询表字段属性SQL

该sql是查询TPMOMMABW01表CC_NUM字段属性 大小写转换函数 ...

Mon Jul 26 02:18:00 CST 2021 0 142
db2数据库基本添加删除表字段总结

1.添加字段 alter table [table_name] add [column_name] [column_type] 2.更改字段类型 alter table [table_name] alter column [column_name] set data type ...

Fri Sep 15 00:43:00 CST 2017 0 2499
db2字段修改

db2表字段修改 1:删除字段非空属性alter table XXX alter column XXX drop not null 2:添加字段非空属性alter table XXX alter column XXX set not null 3:添加一个新字段alter table XXX ...

Fri Jun 02 22:04:00 CST 2017 0 1483
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM