ExecuteSQLCreateTable

From Multi Theft Auto: Wiki
Revision as of 18:33, 22 September 2006 by IJs (talk | contribs)
Jump to navigation Jump to search

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