DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dbDeleteTable(3dba)


dbDeleteTable -- delete an Event Table

Synopsis

cc [flag ...] file ... -kthread -leels [library] ...
#include <eelsdba.h>

int dbDeleteTable( DBConn *conn, char *name);

Description

dbDeleteTable removes the named table from the database described by conn and the entry associated with it in the EELS_Database table of the EELS_Admin database.

Arguments


conn
(Input) A database connection that was returned by a previous call to dbConnect(3dba).

name
(Input) The name of the table to be deleted.

Return values

If successful, dbDeleteTable returns 0. Otherwise, it returns -1.

Diagnostics

An application can call dbGetError(3dba) to obtain the error message returned from the database.

References

dbConnect(3dba), dbCreateTable(3dba), Intro(3dba)


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004