if suppose i am having an ACCOUNT table with 3 coloumns ACC.
NO,ACC. NAME,ACC. AMOUNT . If a unique index is also
defined on ACC.NO and ACC.NAME then write a query to
retrieve account holders records who have more than 1 ACC.

Answer Posted / ram prajapati

sir,
is it possible to have duplicate values for a uniquely
defined column.........or ... is it possible to define a
unique index on a column which is not having unique value?
plz help me out..

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is universal database?

717


What is collection in db2 bind?

665


Is db2 free?

765


How to rename a table in DB2 ?

711


What is the maximum size of varchar data type in db2?

718






What do you mean by between and in? Is between inclusive of specified range values?

769


Give the name of some fields form sqlca.

700


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

718


What is bind in db2?

679


What is a trigger in the db2 database?

669


What is the role of data manager in the db2 database?

727


How can you find out the # of rows updated after an update statement?

732


How to check last update on table in db2?

708


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

801


What is the advantage in De-normalizing tables in DB2?

837