ExecuteSQLCreateTable: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
nil createRegistryTable ( string table ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 15: | Line 15: | ||
===Returns=== | ===Returns=== | ||
The function | The function doesn't return anything. | ||
==See Also== | ==See Also== | ||
{{Registry_functions}} | {{Registry_functions}} |
Revision as of 18:33, 22 September 2006
This function creates a table in the registry if it does not already exist. This function should be used in the initialization step of any script that uses SQL registry functions to write to a table, because that table may not exist yet if the script is run for the first time.
The actual SQL query that is executed will be the following:
CREATE <table> IF NOT EXISTS
Syntax
nil createRegistryTable ( string table )
Required Arguments
- table: The table you want to create.
Returns
The function doesn't return anything.
See Also