Home > Database > Mysql Tutorial > body text

关于oracle疑问以及杂记【收集中】

WBOY
Release: 2016-06-07 15:45:11
Original
940 people have browsed it

1、如何让desc只显示一列? 2、插入语句执行后未提交 ,此时强制关机貌会自动恢复。那么如果是关闭执行该插入语句的会话,则如何恢复? 应该与undo机制、闪回、重做日志有关 3、oracle级联查询是什么? 4、例如oracle客户端sql developer 上正在执行的一条SQ

1、如何让desc只显示一列?



2、插入语句执行后未提交 ,此时强制关机貌似会自动恢复。那么如果是关闭执行该插入语句的会话,则如何恢复?

应该与undo机制、闪回、重做日志有关


3、oracle级联查询是什么?


4、例如oracle客户端sql developer 上正在执行的一条SQL语句被点击取消了,则客户端sql developer 界面上会失去响应,这是否说明服务端的数据库上该语句还在执行?


5、多个用户对一张表同时进行插入(insert),是可以的,因为插入(insert)在表上锁上的锁是RS锁,共享类型的,而多个用户对一张表同时进行修改(update),是不可以的,因为修改(update)在表上锁上的锁是RX锁,排斥类型的。


6、oracle系统参数(来自参数文件的那些比如)既可以用alter system命令修改,也可以用alter session命令修改,只是各自作用范围不同,前者整个实例,后者当前会话。

 

注意:

不能使用alter system命令动态地改变UTL_FILE_DIR参数。必须修改初始化文件,然后停止并重启数据库。



2014-04-10 09:53

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!