This document contains SQL queries to update the state of various service records to '2HA' based on their service ID or account number. It selects records from different tables to find matching IDs, then updates the state field to '2HA' in multiple tables for those records.
This document contains SQL queries to update the state of various service records to '2HA' based on their service ID or account number. It selects records from different tables to find matching IDs, then updates the state field to '2HA' in multiple tables for those records.
This document contains SQL queries to update the state of various service records to '2HA' based on their service ID or account number. It selects records from different tables to find matching IDs, then updates the state field to '2HA' in multiple tables for those records.
select * from serv_state_attr where SERV_ID = '995100912499865847' ;
select * from billing_base_info where serv_id ='995100912499865847' ;
select * from i_serv where acc_nbr ='1410459642176';
update i_serv set state='2HA' where acc_nbr ='1410459642176';
update billing_base_info set acc_state_id='2HA' where serv_id ='999700913482994554' ; update serv_state_attr set state='2HA' where serv_id ='999700913482994554' ;
select * from billing_base_info where serv_id
in('993400913080746793','991700913010060326','993000913237764114','9983009128572304 79','991700503173111223','991700503173191483','995100912973093645','993800912940893 976','997500910206335717','993800912941377804','993800912940648101','99380091299931 3876','993800912999063097','995100912949645817','995100913226048605','9976009123830 78041','991800913155987762','991700913011524093','993800913181382418','993100913069 635554','993100913069656673','993100913069695433','993100913069688920','99360091307 9925352','991800913155929239','991700913080264447','991800913155992904','9918009131 55907335','991800913155986994','995100912047917856') and state ='F0A' ;
update billing_base_info set acc_state_id='2HA' where serv_id
in('993400913080746793','991700913010060326','993000913237764114','9983009128572304 79','991700503173111223','991700503173191483','995100912973093645','993800912940893 976','997500910206335717','993800912941377804','993800912940648101','99380091299931 3876','993800912999063097','995100912949645817','995100913226048605','9976009123830 78041','991800913155987762','991700913011524093','993800913181382418','993100913069 635554','993100913069656673','993100913069695433','993100913069688920','99360091307 9925352','991800913155929239','991700913080264447','991800913155992904','9918009131 55907335','991800913155986994','995100912047917856') and state ='F0A' ;