随笔分类 -  Oracle

oracle数据库
摘要:之所以记录一下这篇博文,是因为前段时间搞的一个查询发现要从00:00:00这个时间段开始,必须要通过拼接字符串。 阅读全文
posted @ 2018-03-18 12:10 npe0 阅读(2234) 评论(0) 推荐(0) 编辑
摘要:查询一个表中的字段 阅读全文
posted @ 2017-02-27 14:17 npe0 阅读(222) 评论(0) 推荐(0) 编辑
摘要:在使用pl/sql developer时,查询出来中文字段显示乱码,因为数据库的编号格式和pl /sql developer的编码格式不统一造成的。 一、查看和修改oracle数据库字符集 二、修改pl/sql developer 的编码 在windows中创 建一个名为“NLS_LANG”的系统环 阅读全文
posted @ 2016-08-29 11:20 npe0 阅读(33182) 评论(0) 推荐(1) 编辑
摘要:create sequence seq_字段名_表名 minvalue 1 maxvalue 999999999999999999999999999 start with 1 increment by 1 cache 10; CREATE OR REPLACE TRIGGER tri_字段名_表名 BEFORE insert ON 表名 FOR EACH ROW begin sel... 阅读全文
posted @ 2016-08-25 17:07 npe0 阅读(287) 评论(1) 推荐(0) 编辑
摘要:一、首先安装PL/SQL Developer 下载地址:https://yunpan.cn/cM3njKpfK8MnT 访问密码 996a 二、再安装instantclient_11_2 下载地址:https://yunpan.cn/cM3nYJv6KJg5V 访问密码 c864 下载完成后解压到任 阅读全文
posted @ 2016-08-24 13:45 npe0 阅读(14039) 评论(0) 推荐(0) 编辑
摘要:一、mysql日期和字符相互转换 阅读全文
posted @ 2016-03-23 15:38 npe0 阅读(948) 评论(0) 推荐(0) 编辑
摘要:导出步骤: 1 tools ->export user object 选择选项,导出.sql文件 2 tools ->export tables-> Oracle Export 选择选项导出.dmp文件 导入步骤:(导入之前最好把以前的表删除,当然导入另外数据库除外) 1 tools->import 阅读全文
posted @ 2016-03-11 13:31 npe0 阅读(825) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示