Beruflich Dokumente
Kultur Dokumente
A table is the basic unit of data storage in an Oracle database. The tables of a
database hold all of the user accessible data. Table data is stored in rows and
columns.
2. Define SQL?
Structured query language is the standard command set used to communicate
with the relational database management system.
3. Define Dbms?
A Database Management system consists of a collection of interrelated data and
set of programs to access that data.
4. What is the difference between dbms and rdbms?
5. Can we use functions after Where clause?
6. What are Clusters?
Clusters are groups of one or more tables physically stores together to share
common columns and are often used together.
7. What is an Index?
An Index is an optional structure associated with a table to have direct
access to rows, which can be created to increase the performance of data
retrieval. Index can be created on one or more columns of a table.
8. What is ROWID?59
ROWID is a pseudo column attached to each row of a table. It is 18 characters
long, blockno, row number are the components of ROWID.
9. What is the default return value What is the usage of SAVEPOINTS?60
SAVEPOINTS are used to subdivide a transaction into smaller parts. It enables
rolling back part of a transaction. Maximum of five save points are allowed.
10. What is the default return value of a function?
The default return value from a function is int. In other words, unless explicitly
specified the default return value by compiler would be integer value from
function.
11.
20.
23.
Only one LONG column is allowed. It is not possible to use LONG column in
WHERE or ORDER BY clause.
32.
33. What is the maximum number of triggers, can apply to a single table?
12 triggers
34. What is difference between UNIQUE constraint and PRIMARY KEY
constraint?
A column defined as UNIQUE can contain Nulls while a column defined as
PRIMARY KEY can't contain Nulls. A table can have only one primary keys.
35. How to know which index a table is using?
SELECT table_name,index_name FROM user_constraints.
36.
37.
38.
42.