Use UDF !
I test this in Delphi,that's working!
function udf_isnull(A:pchar;B:pchar):PChar;cdecl;
begin
if strpas(A)='' then result:=B else result:=A;
end;
DECLARE EXTERNAL FUNCTION udf_isnull
CSTRING(256) CHARACTER SET NONE, CSTRING(256) CHARACTER SET NONE
RETURNS CSTRING(256) CHARACTER SET...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.