![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
path_
这个作者很懒,什么都没留下…
展开
-
<转载>Ubuntu 安装mysql、客户端和简单操作
转载:http://www.cnblogs.com/zhuyp1015/p/3561470.html 1.ubuntu上安装mysql非常简单只需要几条命令就可以完成。 1. sudo apt-get install mysql-server 2. sudo apt-get install mysql-client 3. sudo apt-get i...原创 2015-08-02 07:58:29 · 169 阅读 · 0 评论 -
DB2根据TABLEID,TBSPACEID查找表
select * from SYSCAT.TABLES WHERE TBSPACEID=2 AND TABLEID=70原创 2014-07-22 09:13:13 · 1343 阅读 · 0 评论 -
db2 Operation not allowed for reason "7" on table 解决方案
对表进行任何操作都不被允许,提示SQLSTATE=57016 SQLCODE=-668 ,原因码 "7"的错误:SQL0668N Operation not allowed for reason code "7" on table XXX. 解决方法为:执行命令:reorg table XXX;即可。 参考原文为: Operation not allowed for reason code...原创 2014-07-22 09:13:05 · 372 阅读 · 0 评论 -
解决db2密码过期(SQL30082N "1"("PASSWORD EXPIRED"))
C:\> db2 connect to SAMPLE user TEST using OLDPWD new NEWPWD confirm NEWPWD原创 2014-07-22 09:12:46 · 1752 阅读 · 0 评论 -
db2 "rownum"
select id from( select ROW_NUMBER() OVER() AS a,id from tab ) where a > 0 and a原创 2014-07-22 09:12:38 · 1922 阅读 · 0 评论 -
DB21061E 未初始化命令行环境
解决方案:在黑屏输入db2cmd, 弹出另一个黑屏,在其中输入命令:db2 connect to 数据库 user 登录用户 using 原密码 new 新密码 confirm 新密码原创 2014-07-22 09:12:26 · 1963 阅读 · 0 评论 -
DB2中和ORACLE中DUAL对应的写法
select nextval for seq_att from SYSIBM.SYSDUMMY1 获取sequence的下一个值原创 2014-07-18 09:17:29 · 749 阅读 · 0 评论 -
select nextval for seq_att from SYSIBM.SYSDUMMY1
Operation not allowed for reason code "7" on table "DB2.XXX". SQLSTATE=5701 对表进行任何操作都不被允许,提示SQLSTATE=57016 SQLCODE=-668 ,原因码 "7"的错误:SQL0668N Operation not allowed for reason code "7" on table XX...原创 2014-07-18 09:17:20 · 1594 阅读 · 0 评论 -
registered the jdbc driver but failed to unregister it when the web application
<div class="iteye-blog-content-contain" style="font-size: 14px">把项目中的数据库驱动包放到TOMCAT_home/lib下。同时需要删除项目中的数据库驱动包。</div> ...原创 2016-10-25 10:10:05 · 448 阅读 · 0 评论 -
DB2 substr posstr
select substr(column,posstr(column,'cc'),10) from table posstr(column,'cc'):相当于java indexOf substr:截取函数原创 2014-07-23 09:05:02 · 834 阅读 · 0 评论