ExecuteSQLDropTable: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 4: Line 4:
The actual SQL query that is executed will be the following:
The actual SQL query that is executed will be the following:


<pre>DROP TABLE <table></pre>
<pre>DROP TABLE IF EXISTS <table></pre>


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool createRegistryTable ( string table )
nil createRegistryTable ( string table )
</syntaxhighlight>  
</syntaxhighlight>  


Line 15: Line 15:


===Returns===
===Returns===
The function returns a ''boolean'' which is ''true'' on success, and ''false'' on failure.
The function doesn't return anything.


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

Revision as of 18:33, 22 September 2006

This function drops an existing table in the registry.

The actual SQL query that is executed will be the following:

DROP TABLE IF EXISTS <table>

Syntax

nil createRegistryTable ( string table )

Required Arguments

  • table: The table you want to drop.

Returns

The function doesn't return anything.

See Also