Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » Embedded SQL API Reference

ULCountUploadRows function Next Page

ULDropDatabase function


Deletes the UltraLite database file.

Syntax

ul_bool ULDropDatabase ( SQLCA * sqlca, ul_char * store-parms );

Parameters

sqlca    A pointer to the SQLCA.

store-parms    A null-terminated connection string containing a semicolon-delimited list of parameter settings, each of the form KEYWORD=value.

Returns
Remarks

Only call this function when:

On the Palm OS, only call this function only when:

Caution    

This function deletes the database file and all data in it. This operation is not recoverable. Therefore, use this function with care.

Example

The following call deletes the UltraLite database file myfile.udb.

if( ULDropDatabase(&sqlca, UL_TEXT("file_name=myfile.udb") ) ){
    // success
};