code: function _rename(){
      self._visitingAlter = true;
      var table = self._queryNode.table;
      var result = ['EXEC sp_rename '+self.visit(table.toNode())+', '+self.visit(alter.nodes[0].nodes[0])];
      self._visitingAlter = false;
      return result;
    }
docs: Implement our own rename table: PostgreSQL: ALTER TABLE "post" RENAME TO "posts" Mssql:  EXEC sp_rename [post], [posts]