1.使用条件查询 查询部门为20的员工列表 -- 查询部门为20的员工列表 SELECT t.DEPTNO,t.ENAME FROM SCOTT.EMP t where t.DEPTNO = '20' ; 效果: 2.使用 listagg() WITHIN GROUP () 将多行合并成一行 SEL ...
分类:
数据库 时间:
2019-02-16 13:31:22
阅读次数:
260
@echo off set curdate=%date:~0,4%%date:~5,2%%date:~8,2% set backuppath=D:\backup md %backuppath% exp scott/tiger@127.0.0.1/orcl file=%backuppath%\%cur ...
分类:
其他好文 时间:
2019-02-07 10:47:11
阅读次数:
205
编写一个简单的学生管理信息系统。 在oracle中设计一张学生表,以学号作为关键字。 其他学生信息有:姓名、手机号。 在进入系统时,显示如下菜单: ************************************************** =====欢迎进入学生管理信息系统===== 1. ...
分类:
编程语言 时间:
2019-01-28 21:16:12
阅读次数:
210
今天弄了下oracle数据库导入导出命令exp,imp 首先这个命令是在cmd直接执行,不是sqlplus登录后再执行,见下图: 再次,注意结尾不能有分号(;): exp scott/scott@sundata file="F:\materials\oracleMet\test1.dmp" tabl ...
分类:
数据库 时间:
2019-01-22 17:35:59
阅读次数:
237
测试,使用linux 系统,迁移至windos测试系统,迁移用户scott 1.源端导出(linux) 2.传输 3.目标端导入(windows) 1.源端导出,本次使用expdp 1)创建操作系统转储目录,存放expdp导出的dump文件 [oracle@enmo ~]$ cd /picclife ...
Effective C++ Scott Meyers Chapter 7. Templates and Generic Programming 1. Item 45: Use member function templates to accept "all compatible types". Co ...
分类:
其他好文 时间:
2019-01-05 00:10:33
阅读次数:
217
Effective C++ Scott Meyers Chapter 7. Templates and Generic Programming 1. Item 41: Undetstand Implicit interfaces and compile-time polymorphism Both ...
分类:
其他好文 时间:
2019-01-02 10:45:29
阅读次数:
120
Effective C++ Scott Meyers Chapter 1. Uses and Abuses of vector 1. Item 4: Make sure that objects are initialized before they're used. Use member init ...
分类:
其他好文 时间:
2018-12-24 12:32:39
阅读次数:
144
@echo off echo ================================================ echo Windows环境下Oracle数据库的自动备份脚本 echo 1. 使用当前日期命名备份文件。 echo 2. 自动删除7天前的备份。 echo =======... ...
分类:
数据库 时间:
2018-12-23 23:48:56
阅读次数:
193
9. View the Exhibit and examine the privileges granted to the SL_REP user. The EMP table is owned by the SCOTT user. The SL_REP user executes the foll ...
分类:
其他好文 时间:
2018-12-16 11:52:07
阅读次数:
174