C Examples: DbiDeleteIndex

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiDeleteIndex

Return to chapter overview

Remove the specified index from the specified table. This example uses the following input:
         fDbiDeleteIndex(hDb, "New Customer.db", "Place");

DBIResult fDbiDeleteIndex(hDBIDb hTmpDb, pCHAR szTableName, pCHAR szIndexName)

{

   DBIResult rslt;

 

   rslt = Chk(DbiDeleteIndex(hTmpDb, NULL, szTableName, NULL, szIndexName,

                    NULL, NULL));

 

   return rslt;

}