Subject: How to Delete Data Definition and Data Template From DB Backend Script.
PLSQL Script:
BEGIN
DELETE FROM XDO_TEMPLATES_B
WHERE template_code = 'XXTLM_MW_ITEM_SELF_LIFE_RPT';
DELETE FROM XDO_TEMPLATES_TL
WHERE template_code = 'XXTLM_MW_ITEM_SELF_LIFE_RPT';
DELETE FROM XDO_LOBS
WHERE lob_code = 'XXTLM_MW_ITEM_SELF_LIFE_RPT';
DELETE FROM XDO_DS_DEFINITIONS_B
WHERE data_source_code = 'XXTLM_MW_ITEM_SELF_LIFE_RPT';
DELETE FROM XDO_DS_DEFINITIONS_TL
WHERE data_source_code = 'XXTLM_MW_ITEM_SELF_LIFE_RPT';
COMMIT;
END;
No comments:
Post a Comment