Hi guys,
Sinse yesterday we have a problem with server.
Today we found that all custom functions return 'null'.
Please help....

For example func.sql:
if (select proc_name
from sys.sysprocedure
where lower(proc_name)=lower('ExistProc')) is not NULL then
drop function ExistProc;
end if;
create function ExistProc(ProcName varchar(30)) returns integer
begin
declare pname varchar(30);
set pname=(select proc_name
from sys.sysprocedure
where lower(proc_name)=lower(ProcName));
if pname is null then
return 0
else
return 1;
end if;
end;
////////////////////
So, when we try too use ExistProc, we always get null as the return value.
for example:
if ExistProc(anyFunctionName)=1 then
drop function SimpleReverse;
end if;
or: select ExistProc(anyFunctionName) as res
As I said the problem is sinse yesterday, it had been working.
I think server is "Anywhere 8", i'm not sure.
