dbZeroGoAhead WebServer APIGoAhead EMF

Synopsis

Empties the contents of all tables in a database.

Prototype

 #include "emfdb.h"

 int dbZero(int did);

Parameters

diddatabase Identifier

Description

Deletes all the rows in the all the tables in the database.

Return Value

dbZero returns 0 if successful, or -1 if an error.

Example

int nCheck =   dbZero(0);

See Also

dbSave(), dbOpen()