How to delete a common row from multiple tables using SQL -
i understand can delete multiple tables using joins. but, i'm not sure how that. tried using statement , didn't work either.
delete trm, val mcs.stg_mdcr_trmntn_rpt trm, mcs.stg_mdcr_vldtn_rpt val trm.import_proc_id = 156;
what's wrong with
delete mcs.stg_mdcr_trmntn_rpt import_proc_id = 156; delete mcs.stg_mdcr_vldtn_rpt import_proc_id = 156; commit;
Comments
Post a Comment