• Antelope Release 5.10 Linux CentOS release 7.6.1810 (Core) 3.10.0 2020-05-12

 

NAME

dbdelete, dbmark, dbcrunch - delete rows from tables

SYNOPSIS

#include "db.h"

int dbdelete(Dbptr db)

int dbmark(Dbptr db)

int dbcrunch(Dbptr db)

DESCRIPTION

These routines delete rows from a table. dbdelete deletes the row immediately, changing the index numbers for all succeeding rows. Since this is sometimes undesirable (when these indexes are cached by your program or in a view), the latter two routines may alternatively be used. dbmark simply marks all the fields in the row with their null value. dbcrunch may later be used to delete all the rows which are null.

RETURN VALUES

dbdelete, dbmark and dbcrunch return 0 for success, otherwise an error occurred.

LIBRARY

$(DBLIBS)

SEE ALSO

dbintro(3), dbadd(3)

AUTHOR

Daniel Quinlan
Printer icon