postgresql7.2
update cr_keywords set heading = :heading where keyword_id = :category_id
update cr_keywords set description = :description where keyword_id = :category_id
select keyword_id as category_id, parent_id, heading, description, has_children
from cr_keywords
where keyword_id = :category_id
select keyword_id as category_id, parent_id, heading, description, has_children
from cr_keywords
where $where_str