DUAL的魔力 [英] The magic of DUAL

查看:92
本文介绍了DUAL的魔力的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在正常情况下(不使用SYS或可能不使用它)-

Under normal conditions (not using SYS or maybe using it)-

SQL> select * from dual;

D
-
X

在不太正常的情况下(以SYS连接)-

Under not so normal conditions (connected as SYS)-

SQL> alter database close;
Statement processed.

SQL> select * from dual;
ADDR     INDX       INST_ID    D
-------- ---------- ---------- -
00FA6E50          0          1 X

我知道DUAL是一个特殊的魔术表(等等),但是

I know DUAL is a special magic table (etc. etc.) but

当DB处于待机状态时,与DUAL有什么不同?如果ADDRINDXINST_ID处于待机状态,相关性如何?

What is different with DUAL when the DB is on standby? What is the relevance if ADDR, INDX, INST_ID in standby?

推荐答案

汤姆·凯特(Tom Kyte)在几年前回答这个问题的过程中做得非常出色,在这里:

Tom Kyte did an excellent job answering this question quite a few years ago, here:

http://asktom .oracle.com/pls/apex/f?p = 100:11:0 ::::: P11_QUESTION_ID:1562813956388

希望有帮助.

这篇关于DUAL的魔力的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆