Function Call with TOraQuery
Posted: Sat 29 Jul 2006 20:10
Hi,
i've tried the following:
Query := TOraQuery.Create(Self);
Query.UniDirectional := True;
Query.SQL.Text := 'BEGIN :RESULT := 7/*' + pFunctionCall + '*/; END;';
ResultValue := Query.ParamByName('RESULT').Value;
Now i excpected to get the value "7" in the variable ResultValue.
But the reality, the variable is "unassigned".
Why?
Greetings and thanks
Jens
i've tried the following:
Query := TOraQuery.Create(Self);
Query.UniDirectional := True;
Query.SQL.Text := 'BEGIN :RESULT := 7/*' + pFunctionCall + '*/; END;';
ResultValue := Query.ParamByName('RESULT').Value;
Now i excpected to get the value "7" in the variable ResultValue.
But the reality, the variable is "unassigned".
Why?
Greetings and thanks
Jens