home *** CD-ROM | disk | FTP | other *** search
- delete from nst_contextual_part where cpa_id in (17508,17530,17514,17515,17511,17512);
-
- delete from nst_tc_ref where acc_id in (9,46);
-
- delete from nst_contextual_part where cpa_id in (17389,17237);
-
- update nst_cp_sol set sol_id=364 where exists(select * from nst_cp_sol where cpa_id=15303) and cpa_id=15303;
- update nst_cp_sol set sol_id=376 where exists(select * from nst_cp_sol where cpa_id=15299) and cpa_id=15299;
- update nst_cp_sol set sol_id=622 where exists(select * from nst_cp_sol where cpa_id=15326) and cpa_id=15326;
- update nst_cp_sol set sol_id=573 where exists(select * from nst_cp_sol where cpa_id=15296) and cpa_id=15296;
- update nst_cp_sol set sol_id=632 where exists(select * from nst_cp_sol where cpa_id=15305) and cpa_id=15305;
- update nst_cp_sol set sol_id=305 where exists(select * from nst_cp_sol where cpa_id=15301) and cpa_id=15301;
- update nst_cp_sol set sol_id=639 where exists(select * from nst_cp_sol where cpa_id=15329) and cpa_id=15329;
-
- delete from nst_cp_sol where cpa_id in (1,211,15149,258,15170,15820,15204,17263,15188,15074,135,15169,183,204,15079,15431);
-
- update nst_cp_sol set sol_id=357 where exists(select * from nst_cp_sol where cpa_id=15307) and cpa_id= 15307;
- update nst_cp_sol set sol_id=307 where exists(select * from nst_cp_sol where cpa_id=15304) and cpa_id= 15304;
- update nst_cp_sol set sol_id=639 where exists(select * from nst_cp_sol where cpa_id=17249) and cpa_id= 17249;
- update nst_cp_sol set sol_id=639 where exists(select * from nst_cp_sol where cpa_id=17253) and cpa_id= 17253;
- update nst_cp_sol set sol_id=637 where exists(select * from nst_cp_sol where cpa_id=15318) and cpa_id= 15318;
- update nst_cp_sol set sol_id=396 where exists(select * from nst_cp_sol where cpa_id=15294) and cpa_id= 15294;
- update nst_cp_sol set sol_id=398 where exists(select * from nst_cp_sol where cpa_id=15320) and cpa_id= 15320;
- update nst_cp_sol set sol_id=443 where exists(select * from nst_cp_sol where cpa_id=15297) and cpa_id= 15297;
-
- delete from nst_cp_sol where cpa_id in (15173,15154,256,250,251,262,15168,15147);
-
- DELETE nst_contextual_part where con_id <> 5;
- DELETE nst_cp_sol WHERE acc_id NOT IN (SELECT acc_id FROM nst_tc);
- DELETE nst_solution WHERE sol_id NOT IN (SELECT sol_id FROM nst_cp_sol);
- DELETE nst_glossary_entry WHERE acc_id NOT IN (SELECT acc_id FROM nst_tc);
- DELETE nst_parameter WHERE par_clstype=8 and par_objid NOT IN (SELECT tca_id FROM nst_tc);
- DELETE nst_paramvalue WHERE pav_classe=8 and pav_objid NOT IN (SELECT tca_id FROM nst_tc);
-
- %delete from nst_cp_sol where cpa_id in (15173,15304,256,17253,15318,15326,15294,15320,15295,
- %17397,15302,15147,17264,15300,15323,15298,15303,15299,15296,15305,15329,1,15301,15431);
- %
- %delete from nst_cp_sol where cpa_id in (17508,17530,17514,17515,17511,17512);
-