Friday, October 3, 2008

oracle - What is ROWID ?

What is ROWID ?
ROWID is a pseudo column attached to each row of a table. It is 18 character long, blockno, rownumber are the components of ROWID.

Explain Connect by Prior ?in a session before accessing next value ? 
Retrieves rows in hierarchical order.e.g. select empno, ename from emp where.

How many LONG columns are allowed in a table ? Is it possible to use LONG columns in WHERE clause or ORDER BY ? 
Only one LONG columns is allowed. It is not possible to use LONG column in WHERE or ORDER BY clause.

What is Referential Integrity ? 
Maintaining data integrity through a set of rules that restrict the values of one or more columns of the tables based on the values of primary key or unique key of the referenced table.


No comments:

Post a Comment

Thanks to given comments.......

My Blog List