'Renames the table \'old_table_name\' to \'table_name\'.
WARNING - This isn\'t transactional on MSSQL!'

@invalidate_table_constraints
def rename_table(self, old_table_name, table_name):

    if (old_table_name == table_name):
        return
    params = (self.quote_name(old_table_name), self.quote_name(table_name))
    self.execute(('EXEC    sp_rename    %s,    %s' % params))
