ExecuteSQLDropTable: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool executeSQLDropTable ( string | bool executeSQLDropTable ( string tableName ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''tableName:''' The name of the table you want to drop. | ||
===Returns=== | ===Returns=== | ||
The function returns | The function returns ''true'' on success, and ''false'' on failure. | ||
==See Also== | ==See Also== | ||
{{Registry_functions}} | {{Registry_functions}} |
Revision as of 12:26, 21 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.
See Also