随笔分类 -  Orcale

摘要:select lpad('1234',4,'0') from dual select lpad('123',4,'0') from dual select lpad('23',4,'0') from dual select lpad('3',4,'0') from dual select nvl(lpad('',4,'0'),'0000') from dual 阅读全文
posted @ 2019-11-29 16:49 大水煮鱼 阅读(1292) 评论(1) 推荐(0)
摘要:with t as ( select '111,222,333' col from dual union all select '444,555,666' col from dual ) select regexp_substr(col, '[^,]+', 1, level) AS SUBJECT_IDS ... 阅读全文
posted @ 2019-11-26 09:47 大水煮鱼 阅读(1212) 评论(0) 推荐(0)
摘要:select * from TableName -- 添加一个字段 alter table TableName add 字段2 clob; --复制数据到此字段update TableName set 字段2 = to_clob(字段); --给字段改名 alter table TableName 阅读全文
posted @ 2019-09-07 21:23 大水煮鱼 阅读(4354) 评论(0) 推荐(0)
摘要:1.下载版本 1.1 在百度搜索栏里搜索 mysql 关键字,或者直接 https://www.mysql.com/ 进入官网 1.2 进入之后大概是这个样子 1.3 选择downloads ->已存档版本 Archives 1.4 选择 社区版本 Mysql Community Server 1. 阅读全文
posted @ 2017-12-22 10:39 大水煮鱼 阅读(286) 评论(0) 推荐(0)
摘要:先上图: 这个可能有经验的人一眼就看出问题了,报这个错的原因是:我把安装包放在了中文目录下,本来以为安装包放在中文目录下无关紧要,但是weblogic12c就是这么神奇,不能放在中文目录下。 解决方法:我把安装包剪切到英文目录下,点击,Ok,一切正常。 提示:安装目录,不要用中文,而且最好不要有空格 阅读全文
posted @ 2017-07-12 09:25 大水煮鱼 阅读(372) 评论(0) 推荐(0)
摘要:http://v.t.qq.com/share/share.php?url='https://baidu.com' oracle数据库删除数据Delete语句和Truncate语句的对比 阅读全文
posted @ 2016-09-13 16:24 大水煮鱼 阅读(172) 评论(0) 推荐(0)