Advantage SQL Engine
Modifies an existing stored procedure definition in the data dictionary.
sp_ModifyProcedureProperty(
ProcedureName,CHARACTER,200,
Property,CHARACTER,200,
Value,Memo )
ProcedureName (I) |
Name of the existing stored procedure definition to modify. |
Property (I) |
Name of the property to set. See Remarks for allowed values. |
Value (I) |
Property value to set. |
AE_INVALID_OBJECT_NAME |
This error will be returned if the stored procedure definition cannot be found. |
This procedure modifies an existing stored procedure definition. The following are the valid values of Property and the expected value in Value.
usPropertyID |
Description |
COMMENT |
Stores a new description for the procedure. |
PROC_INPUT |
Changes the input parameter definition for the stored procedure. The format of this string is the same as the string passed into the ACE API AdsCreateTable to define fields in a table. This definition will be used to create a table that will be populated with the input values. If the stored procedure has no input, pass NULL as the value. |
PROC_OUTPUT |
Changes the output parameter definition for the stored procedure. The format of this string is the same as the string passed into the ACE API AdsCreateTable to define fields in a table. This definition will be used to create a table that will be populated with the output values. If the stored procedure has no output, pass NULL as the value. |
PROC_DLL_NAME |
Changes the stored procedure container file name. This value must be a relative path from the Advantage Data dictionary (.ADD) file. |
PROC_DLL_FUNCTION_NAME |
Changes the procedure name within the stored procedure container file name to be executed when the procedure is called. |
After making a connection to the database, set a new container file name.
EXECUTE PROCEDURE sp_ModifyProcedureProperty(
'proc1',
'PROC_DLL_NAME',
'myprocs.aep' );
See Also