(Created page with "{{smcfunc |function=db_remove_column |usage=$smcFunc['db_remove_column'](table_name, column_name, parameters, error) |description=This function removes a column. |parameters={{pa...") |
No edit summary |
||
Line 13: | Line 13: | ||
<noinclude> | <noinclude> | ||
[[Category:Database Package Functions | [[Category:Database Package Functions]]</noinclude> | ||
Revision as of 21:51, 8 October 2012
Usage:
$smcFunc['db_remove_column'](table_name, column_name, parameters, error)
Description: This function removes a column.
Parameters:
- table_name (string) the name of an existing table
- column_name (string) the name of the column that should be removed.
- parameters (array) deprecated as of 2.0 RC3, leave empty
- error (string) deprecated, leave empty
Return: (bool) true if the column is successfully removed, false otherwise.