当前位置:数据库 > DB2 >>

db2列null与not null转换


db2列null与not null转换
 
null——>not null:alter table Tab1 
 
alter column Col1 set not null
  www.zzzyk.com  
not null——>null:alter table Tab1 
 
alter column Col1 drop not null

 
作者 钟小华
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,