Documentation

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

ParameterDescriptionVersion
$currentNameOld table name
$newNameNew table name

Exceptions

Examples



© «Bitrix24», 2001-2024
Up