Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the concept of the DUAL table.

Answer Posted / dave

The dual table is a dummy table with one row and one column. Functions that do not require any table data can be evaluated by SELECTing from the dual table. For example,

SELECT SYSDATE FROM DUAL

returns the system time and date. The DUAL table is needed to get around the fact that the SELECT command in Oracle requires a FROM clause. For example, "SELECT SYSDATE" would fail because no tables were specified.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between a FUNCTION, PROCEDURE and PACKAGE.

2322


What are the different ways you can create databases in sql server? : sql server DBA

1119


How do you open a cluster administrator? : sql server DBA

1080


How would you best determine why your MVIEW couldn't FAST REFRESH?

2340


What view(s) do you use to associate a user's SQLPLUS session with his o/s process?

2527


How do you troubleshoot errors in a sql server agent job? : sql server DBA

1096


how can you create a user-defined lock?

1001


Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

1975


Where would you look for errors from the database engine?

2834


How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA

1182


what do you understand by fine-grained auditing?

1039


What are the different authentication modes in sql server and how can you change authentication mode? : sql server DBA

1081


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down? : sql server DBA

1004


What is the difference between the 2 operating modes of database mirroring? : sql server DBA

973


What is replication? : sql server DBA

1153