QUERY to get DATA DEFINATION DD & DATA TEMPLATE DT Tables in apps r12

  query to get DD&DT Tables in r12
 -------------------------------
select * from XDO_TEMPLATES_B where template_code = 'SITCO_PORD_RPT_V';
select * from XDO_TEMPLATES_TL where template_code = 'SITCO_PORD_RPT_V';
select * from XDO_LOBS where lob_code = 'SITCO_PORD_RPT_V';
select * from XDO_DS_DEFINITIONS_B where data_source_code = 'SITCO_PORD_RPT_V';
select * from XDO_DS_DEFINITIONS_TL where data_source_code = 'SITCO_PORD_RPT_V';
--------------------------------------------------------------------------------
script to delete DD&DT
----------------------
BEGIN
DELETE FROM XDO_TEMPLATES_B
WHERE template_code = 'SITCO_PORD_RPT';

DELETE FROM XDO_TEMPLATES_TL
WHERE template_code = 'SITCO_PORD_RPT';

DELETE FROM XDO_LOBS
WHERE lob_code = 'SITCO_PORD_RPT';

DELETE FROM XDO_DS_DEFINITIONS_B
WHERE data_source_code = 'SITCO_PORD_RPT';

DELETE FROM XDO_DS_DEFINITIONS_TL
WHERE data_source_code = 'SITCO_PORD_RPT';

END;
/
set serverout on ;

Comments

Popular posts from this blog

opaque schema xsd (standard file used in OIC)

SQL,PLSQL interview practice and DSA patterns

QR code Generate From Oracle PLSQL