ExecuteSQLDropTable: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 17: Line 17:
===Returns===
===Returns===
The function returns ''true'' on success, and ''false'' on failure.
The function returns ''true'' on success, and ''false'' on failure.
===Example===
This page does not currently have an example
<syntaxhighlight lang="lua">
--enter an example here
</syntaxhighlight>


==See Also==
==See Also==
{{Registry_functions}}
{{Registry_functions}}

Revision as of 14:52, 26 August 2007

This function drops a table in the registry. This function doesn't do anything when the table doesn't exist.

The executed SQL query is the following:

[sql]DROP TABLE IF EXISTS <table>

Syntax

bool executeSQLDropTable ( string tableName )

Required Arguments

  • tableName: The name of the table you want to drop.

Returns

The function returns true on success, and false on failure.

Example

This page does not currently have an example

--enter an example here

See Also