Home > SQL Developer Dialog Boxes ... > Create Function or Procedure
Use this dialog box to create a PL/SQL subprogram (function or procedure).
Schema: Database schema in which to create the subprogram.
Name: Name of the subprogram. Must be unique within a schema.
Add New Source in Lowercase: If this option is checked, new text is entered in lowercase regardless of the case in which you type it. This option affects only the appearance of the code, because PL/SQL is not case-sensitive in its execution.
Parameters: Specify information about parameters. To add a parameter, click the Add Parameter (+ or sign) icon; to delete a parameter, select it and click the Remove Parameter (X) icon.
Name: Name of the parameter.
Mode: IN for input, OUT for output, or IN OUT for both input and output.
No Copy: Requests that the compiler pass the corresponding actual parameter by reference instead of value. Each time the subprogram is invoked, the optimizer decides, silently, whether to obey or disregard NOCOPY.
Data Type: Data type for the parameter, If the desired value is not included in the drop-down list, you can type it in the box.
Default Value: Value used if no value is specified at run time.
After you click OK, the subprogram is created and is displayed in the Editor window, where you can enter the details.
Related Topics