CLEARDATA

English (Español a continuación)

This command is used to partially delete the data from a database, substituting the values of the block for “#missing” but without deleting the block.

  • This differentiates it from the CLEARBLOCK command, which does remove the block.

The CLEARDATA command is used when you want to delete a section of the database, not the entire database.

The structure of this command is: CLEARDATA (member)

It can be:

  • An individual member: CLEARDATA (“Madrid”)
  • A composite member: CLEARDATA (“Madrid” -> “January”)
  • A function that returns a member

The CLEARDATA command cannot be used within an “IF” conditional structure. It can be used within a FIX structure:

  • FIX («Madrid»)
  • CLEARDATA («January»);
  • ENDFIX

Español

Este comando se utiliza para borrar parcialmente los datos de una base de datos, sustituyendo los valores del bloque por #missing pero sin eliminar el bloque.

  • Esto lo diferencia del comando CLEARBLOCK que sí elimina el bloque.

El comando CLEARDATA se utiliza cuando se quiere eliminar una sección de la base de datos, no la base completa.

La estructura de este comando es: CLEARDATA(miembro)

Puede ser:

  • Un miembro individual: CLEARDATA(“Madrid”)
  • Un miembro compuesto: CLEARDATA(“Madrid” -> “Enero”)
  • Una función que retorna un miembro

El comando CLEARDATA no se puede utilizar dentro de una estructura condicional “IF”.

Sí se puede utilizar dentro de una estructura FIX:

FIX(“Madrid”)

CLEARDATA(“Enero”);

ENDFIX

Anuncio publicitario