I have been running a procedure that contains the below code weekly without error for months... until this morning.
Since last week (the last successful run), I have added a few indexes to some of my tables. Wondering if that might be the cause?
Here's the code:
SELECT cert_code, min_remain FROM LM_Pkage;
WHERE min_remain > 0;
INTO CURSOR active
SELECT email, a.cert_code, min_remain FROM LM_Em2Cc e, active a;
WHERE e.cert_code = a.cert_code;
INTO CURSOR email
Since last week (the last successful run), I have added a few indexes to some of my tables. Wondering if that might be the cause?
Here's the code:
SELECT cert_code, min_remain FROM LM_Pkage;
WHERE min_remain > 0;
INTO CURSOR active
SELECT email, a.cert_code, min_remain FROM LM_Em2Cc e, active a;
WHERE e.cert_code = a.cert_code;
INTO CURSOR email