update calendars
set calendar_name = :calendar_name
where calendar_id = :calendar_id
select calendar_id,
from calendars
where owner_id = :party_id
select calendar_id
from calendars
where owner_id = :party_id
and private_p = 't'
select calendar_id
from calendars
where owner_id = :party_id
and private_p = 't'
and calendar_id in ([join $calendar_id_list ", "])