renameTable
void public \Bitrix\Main\DB\MssqlConnection::renameTable( string $currentName, string $newName );
This non-static method renames table. The table must exist and the new name must be unique within the database.
Parameters
Parameter | Description | Version |
---|---|---|
$currentName | Old table name | |
$newName | New table name |
Exceptions
Examples
© «Bitrix24», 2001-2024
Up