select key from portal_element_parameters where config_id = :default_config_id update portal_elements set config_id = :config_id where element_id = :element_id delete from portal_element_parameters where config_id = :config_id insert into portal_element_parameters (parameter_id, config_id, key, value) values (acs_object_id_seq.nextval, :config_id, :key, :value)