How should delete the INDEX from Table?

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
Amollondhe007
Member
Posts: 3
Joined: Fri Jul 31, 2009 3:36 pm
Location: Pune

How should delete the INDEX from Table?

Post by Amollondhe007 » Fri Jul 31, 2009 8:21 pm

Hi,

I had one question in interview.
How should you delete the the particular INDEX from Table if you have 4 INDEX assigned in a table?

Also how many max indexes should be in one Table?
Thanks,

Amol D Londhe,
S/W Developer,Mainframe,
Pune
* Enjoy your Life With Proper Direction *

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

DB2 SQL DROP command

Post by Natarajan » Fri Jul 31, 2009 10:28 pm

Refer following mainframegurukul tutorial on db2 sql for DROP command.
using DB2 DROP you can drop index.

http://www.geocities.com/srcsinc/databa ... IAL_2.html
Natarajan
Chennai

Amollondhe007
Member
Posts: 3
Joined: Fri Jul 31, 2009 3:36 pm
Location: Pune

Post by Amollondhe007 » Mon Aug 03, 2009 3:34 pm

Thanks. Natarajan.

Also i'm expecting how many max indexes should be in one Table?
Thanks,

Amol D Londhe,
S/W Developer,Mainframe,
Pune
* Enjoy your Life With Proper Direction *

Anand_Hakke
Member
Posts: 7
Joined: Wed Aug 12, 2009 12:05 pm
Location: Mumbai

Post by Anand_Hakke » Thu Aug 13, 2009 2:24 pm

Maximum number of indexes per table is restricted to 15.

Regards,
Anand.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others