Learn how to create a mobile business object (MBO) from a stored procedure that contains parameters, and how those parameters are used as MBO load arguments.
create PROCEDURE dba.getCustomerAddress (@lname_parm varchar(15), @fname_parm varchar(15)) AS BEGIN select address, city, state, zip from customer where lname = @lname_parm and fname = @fname_parm END
Create an MBO from the stored procedure. For example, drag and drop the getCustomerAddress stored procedure onto the Mobile Application Diagram. The SQL query for this statement, which calls two parameters is:
{CALL sampledb.dba.getCustomerAddress(:lname_parm,:fname_parm)}
which are the default load arguments.