- database_name
- An optional database name specified if the procedure is to be created or replaced in a non-default database.
- user_name
- An optional user name specified if the procedure is to be created or replaced in a non-default user.
- procedure_name
- The calling name for the external procedure.If the UDF library for your database contains any objects with multibyte characters in their name, you cannot use a single-byte session character set to create a new UDF, UDT, method, or Java stored procedure object even if the new object name contains only single-byte characters. If you attempt to do so, Vantage aborts the request and returns an error to the requestor. Instead, use a multibyte session character set.
- number_of_sets
- Specifies that number_of_sets of dynamic result sets can be returned.
- external_procedure_name
- The entry point for the procedure object.
- EXTERNAL SECURITY
- This clause is recommended for procedures that perform operating system I/O operations because it permits you to specify a particular OS user under whom the function runs. Otherwise, a protected mode procedure runs under the generic user tdatuser.
- DEFINER
- The UDF runs in the client user context of the associated security authorization object created for this purpose, which is contained within the same database as the procedure.
- authorization_name
- An optional authorization name for this DEFINER as defined by CREATE AUTHORIZATION.
- INVOKER
- The procedure runs using the INVOKER authorization associated with the logged on user who is running the function.