Via delete em tabela.

begin
delete   from XDO_TEMPLATES_B        where template_code    = ‘CÓDIGO DO TEMPLATE’;
delete   from XDO_TEMPLATES_TL       where template_code    = ‘CÓDIGO DO TEMPLATE’;
delete   from xdo_lobs               where lob_code         = ‘CÓDIGO DO TEMPLATE’;
delete   from XDO_DS_DEFINITIONS_TL  where data_source_code = ‘CÓDIGO DA DEFINICAO DOS DADOS’;
delete   from XDO_DS_DEFINITIONS_b   where data_source_code = ‘CÓDIGO DA DEFINICAO DOS DADOS’;
end;

Via API CORE

Datadefinition

BEGIN
XDO_DS_DEFINITIONS_PKG.DELETE_ROW(‘XX’,’CÓDIGO DA DEFINICAO DOS DADOS’);
END;

Template

BEGIN
XDO_TEMPLATES_PKG.DELETE_ROW(‘XX’,’CÓDIGO DO TEMPLATE’);
END;

Deixe um comentário