Function Database_super_sqlserver->drop_table_if_exists__sql
Definitions
sources/database/shared/sqlserver.php
- Get SQL for deleting a table.When running this SQL you must suppress errors.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$table | mixed | No | No | required parameter | N/A | N/A | The table name(s) |
Returns
- List of SQL queries to run
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get SQL for deleting a table.When running this SQL you must suppress errors.
*
* @param mixed $table The table name(s)
* @return array List of SQL queries to run
*/
public function drop_table_if_exists__sql($table) : array
* Get SQL for deleting a table.When running this SQL you must suppress errors.
*
* @param mixed $table The table name(s)
* @return array List of SQL queries to run
*/
public function drop_table_if_exists__sql($table) : array