我创建了 pl/sql 过程,其中参数是通过字符串间接给出的。但更新并未按应有的方式在表中进行更改。我正在使用的代码是:
declare
ih varchar2(2000);
begin
ih:=q'<'EC359996',
'39216',
'39220',
'2070706',
'2070710',
'EC521555',
'EC521554',
'1944616',
'1852821',
'2047568',
'1501401',
'4500027246',
'1893240',
'1960896',
'4000003058',
'2022319',
'2051178',
'2022860',
'2023110',
'2023114',
'1848439',
'1848442'>';
update ccex.customer c
set c.cust_credit_analyst = 'ss',
c.cust_secondary_analyst = 'ss1',
c.cust_collector = 'ss2'
where c.subscriber_id = '1020'
and --select count(*) from ccex.customer where
cust_account_number in (ih);
commit;
/*DBMS_OUTPUT.PUT_LINE(ih);*/
end;
我尝试复制确切的字符串内容,它正在更新。