Hi,
Why display sdac components exception messages in a try.. except block?
I experienced that with msLoader and msQuery as well. Here comes a bit of code:
try
if q.Connection.Connected and (schema '') then begin
q.SQL.Add('select '+schema+'.ab_width_bucket(1, 1, 1, 1)');
q.Execute;
Result := True;
end;
except
Result := False;
end;
That is a check if a user defined function is exist or not. I don't need the error message displayed but it is displayed. Why? Did I something wrong? That works fine on Oracle. Thanks for help in advance!