ОШИБКА:  выполнение оператора отменено из-за тайм-аута

SELECT * FROM xcalls.opgx_dialer_cfg WHERE call_list_id = 0


SELECT case_id, region FROM opg_timezone WHERE case_id = 409191038;


ОШИБКА:  столбец "АСВ_168_1904110496" не существует
LINE 1: ...CT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_19...
                                                             ^

SELECT * FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_1904110496) ORDER BY debtor_id DESC LIMIT 30


SELECT COUNT(*) as _count FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_1904110496);


ОШИБКА:  столбец "АСВ_168_190411049" не существует
LINE 1: ...CT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_19...
                                                             ^

SELECT * FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_phones_book WHERE normalized_phone LIKE '%79200253496%') AND debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_190411049) ORDER BY debtor_id DESC LIMIT 30


SELECT COUNT(*) as _count FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_phones_book WHERE normalized_phone LIKE '%79200253496%') AND debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_190411049);


SELECT * FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_phones_book WHERE normalized_phone LIKE '%9200253496%') AND debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_190411049) ORDER BY debtor_id DESC LIMIT 30


SELECT COUNT(*) as _count FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_phones_book WHERE normalized_phone LIKE '%9200253496%') AND debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_168_190411049);


ОШИБКА:  ошибка синтаксиса (примерное положение: "ORDER")
LINE 1: ...5-42ec-beeb-816b5228c154' AND target_object_id =  ORDER BY v...
                                                             ^

SELECT v_md_row_id FROM xcalls.opgx_str_ac_activity WHERE operator_id = 'ea2cf5df-3185-42ec-beeb-816b5228c154' AND target_object_id =  ORDER BY v_md_row_id DESC LIMIT 1


ОШИБКА:  ошибка синтаксиса (примерное положение: "ORDER")
LINE 1: ...3-46c5-941a-5c38db2114ea' AND target_object_id =  ORDER BY v...
                                                             ^

SELECT v_md_row_id FROM xcalls.opgx_str_ac_activity WHERE operator_id = '3d742090-7bf3-46c5-941a-5c38db2114ea' AND target_object_id =  ORDER BY v_md_row_id DESC LIMIT 1


ОШИБКА:  ошибка синтаксиса (примерное положение: "ORDER")
LINE 1: ...6-488f-b87e-e8fada106ed1' AND target_object_id =  ORDER BY v...
                                                             ^

SELECT v_md_row_id FROM xcalls.opgx_str_ac_activity WHERE operator_id = '29694fed-2676-488f-b87e-e8fada106ed1' AND target_object_id =  ORDER BY v_md_row_id DESC LIMIT 1


ОШИБКА:  ошибка синтаксиса (примерное положение: "ORDER")
LINE 1: ...a-4324-a268-1e8dd6f21f0d' AND target_object_id =  ORDER BY v...
                                                             ^

SELECT v_md_row_id FROM xcalls.opgx_str_ac_activity WHERE operator_id = '80172036-bfea-4324-a268-1e8dd6f21f0d' AND target_object_id =  ORDER BY v_md_row_id DESC LIMIT 1


ОШИБКА:  INSERT содержит больше выражений, чем целевых столбцов
LINE 1: .... с диск 40% 17 087, 49 руб. ','2025-12-02',17087, 49,0,'');
                                                                   ^

INSERT INTO xcalls.opgx_str_ac_activity (target_object_id,object_type,type,type_code,status,execution_date_by_system,result_name,result_code,person_corrected,creation_date,correction_date,phone,operator_id,operator_name,api_owner,template_code,comment,planned_promise_day,planned_promise_sum,activity_id,result_stage) VALUES (916170062,'Судебные дела','КЦ_Входящий звонок',924,'Выполнено',current_timestamp,'Должник. Обещание оплаты','2472','',current_timestamp,current_timestamp,'89539655640','80172036-bfea-4324-a268-1e8dd6f21f0d','Кисуркина Наталья Дмитриевна','','','дж. с диск 40% 17 087, 49 руб. ','2025-12-02',17087, 49,0,'');


ОШИБКА:  столбец "АСВ_195_f0tdrc20s19041806259" не существует
LINE 1: ...CT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_195_F0...
                                                             ^

SELECT * FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_195_F0TDRC20S19041806259) ORDER BY debtor_id DESC LIMIT 30


SELECT COUNT(*) as _count FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = АСВ_195_F0TDRC20S19041806259);


ОШИБКА:  столбец "f0tdrc20s19041806259" не существует
LINE 1: ...CT debtor_id FROM opg_cr_credit WHERE credit_id = F0TDRC20S1...
                                                             ^

SELECT * FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = F0TDRC20S19041806259) ORDER BY debtor_id DESC LIMIT 30


SELECT COUNT(*) as _count FROM opg_dt_debtor WHERE debtor_id IN (SELECT debtor_id FROM opg_cr_credit WHERE credit_id = F0TDRC20S19041806259);


ОШИБКА:  INSERT содержит больше выражений, чем целевых столбцов
LINE 1: ...на','','','дж. опл с диск 40%','2025-12-02',17087, 49,0,'');
                                                                   ^

INSERT INTO xcalls.opgx_str_ac_activity (target_object_id,object_type,type,type_code,status,execution_date_by_system,result_name,result_code,person_corrected,creation_date,correction_date,phone,operator_id,operator_name,api_owner,template_code,comment,planned_promise_day,planned_promise_sum,activity_id,result_stage) VALUES (916170062,'Судебные дела','КЦ_Входящий звонок',924,'Выполнено',current_timestamp,'Должник. Обещание оплаты','2472','',current_timestamp,current_timestamp,'89539655640','80172036-bfea-4324-a268-1e8dd6f21f0d','Кисуркина Наталья Дмитриевна','','','дж. опл с диск 40%','2025-12-02',17087, 49,0,'');