ExecuteSQLDropTable: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
The executed SQL query is the following:
The executed SQL query is the following:


<syntaxhighlight lang="lua">[sql]DROP TABLE IF EXISTS <table></syntaxhighlight>
<syntaxhighlight lang="lua">[sql]DROP TABLE <table></syntaxhighlight>


==Syntax==  
==Syntax==  

Revision as of 18:51, 26 February 2010

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 <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