delete-index Command

The delete-index BASIC program removes either a specific B-tree index from a specified file, or all indexes if an asterisk is specified.

Syntax

delete-index file.reference [a.code | *] {(options)}

Parameter(s)

a.code

Specifies the a (algebraic) processing code of the B-tree index to delete. The processing code must include an attribute number.

*

Specifies all indexes.

options

c

Specifies a case sensitive index. Default is case insensitive.

Example(s)

delete-index entity a1

 

delete-index invoices a1(tcustomer.file;x;;1)

 

delete-index sales a1:3

 

delete-index entity *

See Also

a (Algebraic) Processing Code, B-Tree, begin work Statement, clear-index Command, create-index Command, indexer Command, nframe-index Command, verify-index Command