INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_dbdrop()

The mi_dbdrop() function drops a database from the given connection.

Syntax

Usage

This call is equivalent to the SQL DROP DATABASE statement. Part of the argument dbinfo specifies the database name. For additional information about the MI_DATABASE_INFO structure, see the description of the mi_get_database_info() function.

This function is available only for client applications.

Return Values

MI_OK

The database was dropped.

MI_ERROR

An exception was raised, and the database was not dropped.

Related Topics

For additional information, see the descriptions of the following functions: mi_get_database_info(), mi_dbdrop(), mi_close_database(), and mi_dbcreate().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.