I am trying to call a SQL Function from a Server Action
I am using the following :-
SyntaxEditor Code Snippet
/* %LogicalDatabase%=GetLogicalDatabase({ScriptHistory}) */ SELECT @MemberNo = [MDU].[SALES_APP_XML](NULL,@MemberNo)
Keeps throwing an Error
What am I doing wrong ?
@Omran
What's the error?
Hi Omran
By Function are you talking about Stored Procedure?If so, take a look here: https://www.outsystems.com/forums/discussion/14867/how-to-execute-stored-procedures/
In Oracle it is better to use the Oracle Connector (from Forge).
Cheers.
Omran Bhatti wrote:
Hi Omran,
Did you manage to resolve the error being thrown?
Thanks
when calling SQL function from outsystems, always specify the database name.
Format:
[DatabaseName].[Schema].FunctionName