Creating an extgen_ method

To create an extended (extgen_) stored procedure method, use this process:

  1. Open the Edit Stored Procedure form.
  2. From the Stored Procedure drop-down list, select the base stored procedure you want to extend.

    A base stored procedure is any stored procedure on the list that does NOT have an "extgen_" prefix in the name.

    Note: You can use a wildcard search to more easily locate and select the stored procedure you want, by typing the first few characters and then adding an asterisk (*); for example: extgen_my*
  3. Select the Remove To Extgen option.
  4. Click Copy Procedure.

    This opens a copy of the code for the base stored procedure into the text box workspace. This copy adds the "extgen_" prefix to the name and removes the code that checks for extgen_ stored procedures. See the Remove to Extgen entry in Edit Stored Procedure.

  5. In the workspace, alter the code to suit your needs.
    Note: You cannot actively and iteratively test your code in this workspace. We recommend that you test your code in a local SQL test environment before submitting it to the database.
  6. When you are finished modifying the code, click Submit.

The application prepends the "extgen_" prefix to the file name and adds the new extended stored procedure to the database.