Script to delete template and Data Definition of XML Publisher

Script to delete template and Data Definition of XML Publisher

Script to delete template and Data Definition of XML Publisher

select * from XDO_TEMPLATES_B        where template_code    = :p_template_code;

select * from XDO_TEMPLATES_TL       where template_code    = :p_template_code;

select * from XDO_LOBS               where lob_code         = :p_template_code;

select * from XDO_DS_DEFINITIONS_TL  where data_source_code = :p_template_code;

select * from XDO_DS_DEFINITIONS_B   where data_source_code = :p_template_code;

declare
p_template_code XDO_TEMPLATES_B.template_code%type := 'XXGRREP' ;
begin
delete   from XDO_TEMPLATES_B        where template_code    = :p_template_code
delete   from XDO_TEMPLATES_TL       where template_code    = :p_template_code
delete   from xdo_lobs               where lob_code         = :p_template_code
delete   from XDO_DS_DEFINITIONS_TL  where data_source_code = :p_template_code
delete   from XDO_DS_DEFINITIONS_b   where data_source_code = :p_template_code
end;
*/

2 comments:

  1. 067BAE3834
    For anyone interested in the latest trends and tutorials, I recommend checking out the website https://dtfhub.com/. It offers a wide range of resources that can help both beginners and advanced users improve their skills. Whether you're looking for design inspiration or technical advice, you'll find valuable content there. Exploring this site can be a great way to stay updated and enhance your knowledge in the field.

    ReplyDelete