<分区>
我在 postgres 函数中使用这些语句。
Select count(*) into V_check
from employee
where employee_name like 'Raj%';
if V_check == 0
then
update exception set exception_found = 'Raj';
end if;
我收到这个错误:
ERROR: operator does not exist: integer == integer LINE 1: SELECT V_check == 0