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 db2 and what is the use of db2 optimizer?

841


What is difference between rollback and commit?

882


What is node in db2?

814


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

861


Is db2 a mainframe?

790


Explain about dbrm.

789


What db2 400?

906


Mention the definition of cobol in varchar field.

897


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2526


What is a bind in db2?

774


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

990


What is check constraint in db2?

817


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

940


What are host variables in db2?

814


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

2669