- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 db2回去自增主键当前值的例子
使用values(identity_val_local()); 获取最后一次插入的自增主键值,否则,返回null。 create table core( id integer not null generated by default as identity (start with 1,increment by 1,cache 20, no minvalue,no maxvalue,n
2014-04-16 15:42:11
1632
原创 jdbc连接db2数据库发生通信错误
com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2030][11211][3.62.56] 在对连接的底层 socket、socket input stream 或 socket output stream 执行操作期间 发生通信错误。错误位置:Reply.fill() - insufficient
2014-04-05 23:25:22
5011
1
原创 关于DB2递归查询的一些学习分享
db2的递归: --一个简单的例子 with t(id) as ( select 1 as id from sysibm.sysdummy1 a union all select id+1 as id from t,sysibm.sysdummy1 a where id ) select id from t; 结果为: 1 2 3 ··· 100 --稍微复杂
2014-04-03 23:31:56
1055
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅