ExecuteSQLDropTable: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__
{{Server function}}
This function drops a table in the registry. This function doesn't do anything when the table doesn't exist.
This function drops a table in the registry. This function doesn't do anything when the table doesn't exist.



Revision as of 01:46, 5 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 table )

Required Arguments

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

Returns

The function returns a boolean which is true on success, and false on failure.

See Also