Subject | Re: Problem with SP |
---|---|
Author | Ryan Nilsson-Harding |
Post date | 2002-10-14T03:42:29Z |
Hi Helen, thanks for your suggestion.
Yes, the field is constrained to upper case, but I tried your
suggestion anyway, to no avail.
Is my code OK though?
SELECT MONITOR FROM STOCK
WHERE STK_ID = :S_ID
INTO isMon;
This *should* put the value of 'monitor' into my CHAR(1) var, isMon
shouldn't it?
-Ryan
Yes, the field is constrained to upper case, but I tried your
suggestion anyway, to no avail.
Is my code OK though?
SELECT MONITOR FROM STOCK
WHERE STK_ID = :S_ID
INTO isMon;
This *should* put the value of 'monitor' into my CHAR(1) var, isMon
shouldn't it?
-Ryan
>case? What
> Are you sure that the Monitor value is constrained to be upper
> happens if you specifically test it case-insensitively, e.g.
> ..
> IF (UPPER(isMon) = 'N') THEN
> BEGIN
> EXCEPTION PART_NOT_MON;
> EXIT;
> END
>
> heLen