SQL statements |
Supported The following statements are supported:
Notes: Input & output parameters are supported, except that the output parameter for a stored procedure that performs DataWindow update is unsupported. Return value for stored procedure is supported. |
Declaration syntax |
All supported, except the following ... Placing the stored procedure declaration syntax in a statement block that may not be executed at runtime is unsupported. In PowerBuilder, stored procedure declaration syntax is treated the same way as variable declaration, so the syntax will not be skipped although the statement block is not executed. However, in the mobile application, the syntax may be skipped and cause errors. For example: if li_length = 10 then DECLARE proc_empl PROCEDURE FOR dbo.java_debug_request debugger = a1, request = a2, out_request = a3 ; ... End if OPEN proc_empl; FETCH proc_empl INTO :ls_emplid; ... In the mobile application with the above syntax, if the li_length is not 10, the cursor declaration syntax cannot be read, and errors occur. |
Arguments of stored procedures |
Supported Input, output & inout parameters is supported. The data type of the parameters should match the corresponding data type in database when you declare a stored procedure. Multiple result sets for a stored procedure are supported. Unsupported It is unsupported to call Oracle stored procedure with array parameters. |
User-defined data types |
Unsupported For the Appeon .NET edition, you can work around for SQL Server database with the following instructions. To use the user-defined data type of SQL Server for stored procedure, you need to take the following steps to modify the configuration file:
|
Calling stored procedures |
Supported Appeon PowerServer provides nearly full support for calling stored procedures, except for the following requirements and unsupported features. |
Requirements (For Informix database) The sequence of input parameters must stay the same as that in the Informix database. For example: Create procedure ProcName (Variable1 int, Variable2 varchar(10), ...) return varchar(10) End procedure ProcName Call ProcName(10,"Appeon", ...) |
|
Unsupported
|