how can you access index

Answer Posted / ashok kumar

we generally use the folling query for create index

CREAT INDEX <index name> on <table name>(cols1,cols2,...)

for accessing columes :

SELECT ENAME FROM EMP
WHERE cols1 and cols2

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to connect to db2 database from windows command line?

651


Define declaration generator (dclgen).

760


Where do you specify them?

770


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

824


What is a Foreign Key?

744






Is db2 a programming language?

693


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

845


What is the result of open cursor statement?

716


How to execute stored procedures?

718


How to find the maximum value in a column in the db2 database?

687


List out the buffer pools in db2

723


What is the maximum number of columns in a db2 table?

829


What r the comman abends in db2, jcl and cobol???????

1903


What are concurrency issues?

708


What are the benefits of using the db2 database?

760