Drop a field from a table. DBDLL_API db_result_t db_update_field(db_t, const db_objname_t * table, const db_objname_t * field, const db_fielddef_t*);
A table can only be altered or dropped when there is no active transaction. If a transaction has been started, db_commit_tx or db_abort_tx must be used before db_drop_table can be called.
|