def rename(self, newname):
        return "ALTER %s %s RENAME TO %s" % (self.objtype, self.name, newname)
Return SQL statement to RENAME the object
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/dbobject/__init__.py/DbObject.rename