Learn Datastage from the Best Tutors
Search in
Asked by Vijay Last Modified
Within the realm of Oracle databases, the so-called DUAL table has its own special uses. To understand the full set of meanings, the table can be described in terms of the following features:
Purpose:
* The DUAL table is used primarily when selecting pseudo-columns or for performing calculations when there is no reference to data from any particular table.
* The kind of SQL statement that requires a table reference but does not actually retrieve any data from a valid data table can be worked out conveniently with this DUAL table.
Characteristics:
* It has only a single row and a single column.
* It has one column, namely, the DUMMY column, with a VARCHAR2(1) datatype and a value of 'X'.
* It is automatically created by Oracle and owned by the SYS schema, but accessible to all users.
Common Uses:
* Retrieving system values can be done by means of DUAL. Examples include obtaining the system date and time (SYSDATE), the current user (USER), or any other system-related information.
* Performing calculations: The DUAL table can become useful for simple arithmetic or expression evaluation.
* Verification of the SQL syntax: A handy way to test out SQL statement syntax.
Hence, the DUAL table is a service table whose main utility is for executing SQL statements that do not receive an input from user-defined tables.
read lessNow ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Make a Career in Mobile Application Programming
Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...
Read full article >
Learn Hadoop and Big Data
Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...
Read full article >
What is Applications Engineering all about?
Applications engineering is a hot trend in the current IT market. An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...
Read full article >
Why Should you Become an IT Consultant
Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...
Read full article >
Looking for Datastage Training?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for Datastage Classes are on UrbanPro
The best Tutors for Datastage Classes are on UrbanPro