explain about index with examples
Answers were Sorted based on User's Feedback
Answer / swapnil
USING AN INDEX WE CAN ACCESS THE KEY VERY FAST
ON PRIMARY KEY YOU CREATE AN INDEX.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / dilon
index are nothing but primary key in the table...
ex:create table emp(eno numeric(4) not null primary key,
ename char(10) not null,
elocation char(10) not null)
in this example employee number eno is the primary key it is
called as index...
| Is This Answer Correct ? | 1 Yes | 8 No |
What is a predicate?
Is Cursor exicutable ?
What os does db2 run on?
What are the 2 sqlcodes that are returned?
Which one allows duplicate values Union or Union All ?
What is a buffer in memory?
Give some example of statistics collected during RUNSTATS?
Could you please let me no the query for below I have table name xyx under this there is column name called employee name which starts from 100th column ends 120th column,now i want to replace only column from 101 to 104 which contains ABCS to replace with PQRS for all records which comes beetween 101 to 104 ..how to write query for this..
What is clone table?
Explain the use of the WHERE clause?
what types of copies can be made with the COPY Utility ?
How can you get the number of rows impacted by the last executed query?