DELETE TAG

From Lianjapedia
Jump to: navigation, search

Purpose

Delete an index tag

Syntax

DELETE TAG <tagname>

[OF <.dbx filename>]

[, <tagname2 [OF <.dbx filename>]...]

See Also

COPY INDEXES, COPY STRUCTURE, INDEX, SET EXCLUSIVE, SET INDEX, TAG(), TAGNO(), USE

Description

The DELETE TAG removes an index tag from a multiple index file. More than one tag may be deleted by separating each <tagname> with a comma. If the production index file contains only one tag, the file will be deleted after the tag has been removed. The table file that is associated with the <.dbx filename> file must be opened exclusively in order to delete a tag.

OF <.dbx filename>

The OF <.dbx filename> clause is used to specify the name of the .dbx file from which the tag should be deleted. By default, the production index file is searched for <tagname>. If no <.dbx filename> is specified and the tag does not exist in the production index file, the following message is displayed: "Tag not found.".

Example

use accounts exclusive
delete tag zip