File tree Expand file tree Collapse file tree
dataprocessing/sql_snippets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,8 @@ __author__ = "IlkaCu"
1111*/
1212
1313-- Set column otg_id to NULL
14- ALTER TABLE model_draft .ego_dp_supply_res_powerplant
15- DROP COLUMN otg_id;
16-
17- ALTER TABLE model_draft .ego_dp_supply_res_powerplant
18- ADD COLUMN otg_id;
14+ UPDATE model_draft .ego_dp_supply_res_powerplant
15+ SET otg_id = NULL ;
1916
2017-- Insert otg_id of bus for res pp
2118UPDATE model_draft .ego_dp_supply_res_powerplant a
@@ -30,11 +27,8 @@ UPDATE model_draft.ego_dp_supply_res_powerplant a
3027
3128
3229-- Set column otg_id to NULL
33- ALTER TABLE model_draft .ego_dp_supply_conv_powerplant
34- DROP COLUMN otg_id;
35-
36- ALTER TABLE model_draft .ego_dp_supply_conv_powerplant
37- ADD COLUMN otg_id;
30+ UPDATE model_draft .ego_dp_supply_conv_powerplant
31+ SET otg_id = NULL ;
3832
3933-- Insert otg_id of bus for conv pp
4034UPDATE model_draft .ego_dp_supply_conv_powerplant a
You can’t perform that action at this time.
0 commit comments