|
I'm trying to write a UDF to convert from a "code" to a "display value."
I think I managed it,
Function DISPLAYVAL was created in MERCURY.but I'm having trouble testing it (probably from not knowing what I'm doing)
I try
displayval(1001, '02')and I get
Token DISPLAYVAL was not valid. Valid tokens: ( CL END GET SET CALLI try
create procedure myproc3and I get
begin
signal SQLSTATE '70000' set message_text = displayval(1001, '02')
end
Variable DISPLAYVAL not defined or not usable.I'm obviously doing *something* wrong, but I haven't a clue *what*.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.