会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
彩虹海。
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
database
db2中各个类型互相转换处理
摘要:给数字左侧自动占位补零 digits函数:digits(参数) digits里的参数必须是整型参数,可以是smallint,int,bigint,decimal,其中smallint占5位,int占10位,bigint占19位。decimal默认为5位,最多为31位可以表示为decimal(31)。
阅读全文
posted @
2021-01-21 17:36
彩虹海。
阅读(987)
评论(0)
推荐(0)
[Code: -668, SQL State: 57016] Operation not allowed for reason code "7" on table "XXX".. SQLCODE=-668, SQLSTATE=57016, DRIVER=4.22.29
摘要:db2 表字段操作 --新增字段 alter table Student add T56 DECIMAL(12,2) ; --删除字段 alter table Student drop column T56 ; 在对表增加或删除字段后,可能会报如下错误 [Code: -668, SQL State:
阅读全文
posted @
2020-12-15 23:00
彩虹海。
阅读(803)
评论(0)
推荐(0)
公告