Doctrine\DBAL\Platforms\SQLServerPlatform::getRenameIndexSQL PHP Method

getRenameIndexSQL() protected method

protected getRenameIndexSQL ( $oldIndexName, Doctrine\DBAL\Schema\Index $index, $tableName )
$index Doctrine\DBAL\Schema\Index
    protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName)
    {
        return array(sprintf("EXEC sp_RENAME N'%s.%s', N'%s', N'INDEX'", $tableName, $oldIndexName, $index->getQuotedName($this)));
    }
SQLServerPlatform