MemCom Reference Manual > MemCom C API Manual Pages > Relational Table Manager Functions > mcTBclear

Name

mcTBclear — Clear relational table

Synopsis

#include <memcom.h>

int mcTBclear(mcRTable* rt);

Description

mcTBclear deletes all data in a relational table loaded in memory. If completed successfully, the function returns 0. Otherwise, a negative value indicating the MemCom error number is returned.

Parameters

rt

Pointer to relational table in memory (input).