随笔分类 -  Oracle

摘要:1、安装软件 软件下载地址:https://www.oracle.com/technetwork/cn/database/enterprise-edition/downloads/index.html 1.1、window安装与卸载 1.1.1、Oracle 12c安装步骤 1.1.1.1、安装程序 阅读全文
posted @ 2019-11-11 12:24 苗士军 阅读(251) 评论(0) 推荐(0) 编辑
摘要:1、查询所有未修改过密码的Oracle用户 2、修改dba账号密码 阅读全文
posted @ 2019-05-05 16:50 苗士军 阅读(141) 评论(0) 推荐(0) 编辑
摘要:1. 日期和字符转换函数用法(to_date,to_char) TO_DATE格式 Year: yy two digits 两位年 yyy three digits 三位年 yyyy four digits 四位年 Month: mm number 两位月 mon abbreviated 字符集表示 阅读全文
posted @ 2019-03-26 17:26 苗士军 阅读(436) 评论(0) 推荐(0) 编辑
摘要:SELECT * FROM Student AS OF TIMESTAMP SYSDATE - 3/1440 对SQL的解释说明: SYSDATE :当前时间 1440 :24h*60m=1440m 3:3分钟前 阅读全文
posted @ 2019-03-18 09:29 苗士军 阅读(1527) 评论(0) 推荐(0) 编辑
摘要:oracle 清除数据库缓存: alter system flush shared_pool ; alter system flush BUFFER_CACHE ; 阅读全文
posted @ 2019-03-18 09:26 苗士军 阅读(3635) 评论(0) 推荐(0) 编辑
摘要:按照windows 7 64位 安装oracle 11g R2中的方法成功安装Oracle 11g后,共有7个服务,这七个服务的含义分别为: 1. Oracle ORCL VSS Writer Service:Oracle卷映射拷贝写入服务,VSS(Volume Shadow Copy Servic 阅读全文
posted @ 2017-06-02 14:39 苗士军 阅读(439) 评论(0) 推荐(2) 编辑
摘要:##语法格式为:imp 用户名/密码@IP地址/数据库名 file='dmp文件路径' full=y1.C:\Users\Administrator>imp testuser/testuser@localhost/orcl file='C:\Users\Administrator\Documents 阅读全文
posted @ 2017-06-02 10:58 苗士军 阅读(526) 评论(0) 推荐(1) 编辑
摘要:创建用户一般分四步: 第一步:创建临时表空间 第二步:创建数据表空间 第三步:创建用户并制定表空间 第四步:给用户授予权限 创建临时表空间 create temporary tablespace homehotel_temptempfile 'D:/win64_Oracle_11gR2/homeho 阅读全文
posted @ 2017-06-02 10:37 苗士军 阅读(192) 评论(0) 推荐(1) 编辑
摘要:Merge是一个非常有用的功能,类似于MySQL里的insert into on duplicate key. Oracle在9i引入了merge命令, 通过这个merge你能够在一个SQL语句中对一个表同时执行inserts和updates操作. 当然是update还是insert是依据于你的指定 阅读全文
posted @ 2017-06-01 13:14 苗士军 阅读(343) 评论(0) 推荐(1) 编辑

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