Doctrine\DBAL\Platforms\SQLServerPlatform::getAlterColumnCommentSQL PHP Метод

getAlterColumnCommentSQL() защищенный Метод

SQL Server does not support native column comments, therefore the extended properties functionality is used as a workaround to store them. The property name used to store column comments is "MS_Description" which provides compatibility with SQL Server Management Studio, as column comments are stored in the same property there when specifying a column's "Description" attribute.
protected getAlterColumnCommentSQL ( string $tableName, string $columnName, string $comment ) : string
$tableName string The quoted table name to which the column belongs.
$columnName string The quoted column name to alter the comment for.
$comment string The column's comment.
Результат string
    protected function getAlterColumnCommentSQL($tableName, $columnName, $comment)
    {
        return $this->getUpdateExtendedPropertySQL('MS_Description', $comment, 'SCHEMA', 'dbo', 'TABLE', $tableName, 'COLUMN', $columnName);
    }
SQLServerPlatform