select 
	'update tb_part set id_ct_ctb_atv = ' || id_ct_ctb_atv || 
    ', id_ct_ctb_pas = ' || id_ct_ctb_pas ||
    ', id_ct_ctb_cap_soc_int = ' || id_ct_ctb_cap_soc_int ||
    ', id_ct_ctb_cap_soc_sub = ' || id_ct_ctb_cap_soc_sub ||
    ' where id_part = ' || id_part
from tb_part