Lấy lỗi trên khi thực hiện ngay lập tức được gọi là trong một vòng lặpORA-01.747: không hợp lệ user.table.column, table.column, hoặc cột đặc điểm kỹ thuật
Update CustomersPriceGroups set 1AO00=:disc Where cuno=:cuno
Parameters: disc=66 cuno=000974
Update CustomersPriceGroups set 1AP00=:disc Where cuno=:cuno
Parameters: disc=70.5 cuno=000974
Update CustomersPriceGroups set 1AQ00=:disc Where cuno=:cuno
Parameters: disc=66 cuno=000974
Update CustomersPriceGroups set 1ZA00=:disc Where cuno=:cuno
Parameters: disc=60 cuno=000974
này có ý nghĩa gì?
Dưới đây là đoạn mã
c:=PriceWorx.frcPriceListCustomers('020','221');
LOOP
fetch c into comno,cuno,nama,cpls;
exit when c%notfound;
dbms_output.put_Line(cuno);
g:=priceWorx.frcPriceListItemGroups('020','221');
d:=priceworx.frcCustomerDiscounts('020','221',cuno);
loop
fetch g into comno,cpgs,n;
fetch d into comno,cpls,cuno,cpgs,stdt,tdat,qanp,disc,src;
--dbms_output.put(chr(9)||cpgs);
sQ:='Update saap.CustomersPriceGroups set "'|| trim(cpgs)||'"=:disc '
|| ' Where cuno=:cuno';
execute immediate sQ using disc,cuno;
commit;
dbms_output.put_line(sQ);
dbms_output.put_line(chr(9)||'Parameters: disc='|| disc||' cuno='||cuno);
exit when g%notfound;
end loop;
close g;
close d;
end loop;
Trong trường hợp của tôi, tôi có một dấu phẩy theo sau ',' trong câu lệnh 'insert'. –
Trong trường hợp tên cột của tôi là từ dành riêng. – Chirag
Tuyệt vời như thế nào tất cả những vấn đề khá khác nhau tạo ra thông báo lỗi tương tự. Nó không phải là nếu các phân tích cú pháp không biết những gì đã đi sai (mà nếu-check-chi nhánh), các kỹ sư đã được chỉ là quá lười biếng để làm cho thông báo lỗi cụ thể hơn. – masterxilo