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

getDropColumnCommentSQL() protected method

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 getDropColumnCommentSQL ( string $tableName, string $columnName ) : string
$tableName string The quoted table name to which the column belongs.
$columnName string The quoted column name to drop the comment for.
return string
    protected function getDropColumnCommentSQL($tableName, $columnName)
    {
        return $this->getDropExtendedPropertySQL('MS_Description', 'SCHEMA', 'dbo', 'TABLE', $tableName, 'COLUMN', $columnName);
    }
SQLServerPlatform