CREATE_PROGRAM Procedure
DBMS_SCHEDULER.CREATE_PROGRAM ( program_name IN VARCHAR2, program_type IN VARCHAR2, program_action IN VARCHAR2, number_of_arguments IN PLS_INTEGER DEFAULT 0, enabled IN BOOLEAN DEFAULT FALSE, comments IN VARCHAR2 DEFAULT NULL);
Parameter |
Description |
---|---|
|
The name to assign to the program. The name must be unique in the SQL namespace. For example, a program cannot have the same name as a table in a schema. If no name is specified, then an error occurs. 程序的名字,在sql命名空間中必須唯一。該參數必須指定! |
|
This attribute specifies the type of program you are creating. If it is not specified then you get an error. There are three supported values for
該參數必須指定!該參數支持3中類型
|
|
This attribute specifies the action of the program. The following actions are possible: 該參數必須指定!
If |
|
This attribute specifies the number of arguments the program takes. If this parameter is not specified, then the default is 0. A program can have a maximum of 255 arguments. If the |
|
This flag specifies whether the program should be created as enabled or not. If the flag is set to
|
|
A comment about the program. By default, this attribute is |