Explain what is a DUAL table, where is it stored, and what is it useful for? Give an example of its use.

What will be an ideal response?


A DUAL is a table with one column called DUMMY and contains one row with
a value 'X'. It is automatically created by Oracle along with the data dictionary.
DUAL is stored in the schema of the user SYS, but is accessible by the name
DUAL to all users.
DUAL is useful for computing a constant expression with the SELECT
statement. Because DUAL has only one row, the constant is returned only once.
e.g. SELECT LENGTH ('My String') FROM DUAL;

Computer Science & Information Technology

You might also like to view...

What does it mean for a graph to be connected?

What will be an ideal response?

Computer Science & Information Technology

If a routing loop exists, which ICMP error message will be sent? Explain the process.

What will be an ideal response?

Computer Science & Information Technology

The ________ aggregate function totals the items in a column

Fill in the blank(s) with correct word

Computer Science & Information Technology

Within the Differentiated Services (DiffServ) architecture, how many classes of service (CoS) are there?

A. Two B. Four C. Six D. Eight

Computer Science & Information Technology