Skip Headers

Oracle® Warehouse Builder Scripting Reference
10g Release 1 (10.1)

Part Number B12152-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

5 OMBDROP

This chapter contains the following topics:

OMBDROP
OMBDROP GATEWAY_MODULE
OMBDROP PROCESS_FLOW_PACKAGE
OMBDROP ADVANCED_QUEUE
OMBDROP LOCATION
OMBDROP PROJECT
OMBDROP COLLECTION
OMBDROP MAPPING
OMBDROP RUNTIME_REPOSITORY_CONNECTION
OMBDROP CONNECTOR
OMBDROP MATERIALIZED_VIEW
OMBDROP SAP_MODULE
OMBDROP CUBE_TABLE
OMBDROP OBJECT_TYPE
OMBDROP SEQUENCE
OMBDROP DEPLOYEMENT_ACTION_PLAN
OMBDROP ORACLE_MODULE
OMBDROP SNAPSHOT
OMBDROP EXTERNAL_TABLE
OMBDROP PACKAGE
OMBDROP TABLE
OMBDROP FLAT_FILE
OMBDROP PROCEDURE
OMBDROP VIEW
OMBDROP FLAT_FILE_MODULE
OMBDROP PROCESS_FLOW
n/a
OMBDROP FUNCTION
OMBDROP PROCESS_FLOW_MODULE
n/a


OMBDROP

Purpose

OMBDROP - Drop a component.

Prerequisites

Should be in the parent context of the component to drop.

Syntax Diagrams

Description of dropCommand.jpg is in surrounding text

Syntax

dropCommand = OMBDROP "fco_type" "fco_name";

Keywords and Parameters

dropCommand

Specify the component to drop.

fco_type

The type of the component.

fco_name

The physical name of the component in single quotes.

Examples

This is an example of dropping a table:

OMBDROP TABLE 'T1'

See Also

OMBCREATE, OMBALTER


OMBDROP ADVANCED_QUEUE

Purpose

OMBDROP ADVANCED_QUEUE - Delete the Advanced Queue.

Prerequisites

Should be in the context of an Oracle Module.

Syntax Diagrams

Description of dropAQCommand.jpg is in surrounding text

Syntax

dropAQCommand = OMBDROP ADVANCED_QUEUE "QUOTED_STRING";

Keywords and Parameters

dropAQCommand

Drops the Advanced Queue with the given name.

Examples

OMBDROP ADVANCED_QUEUE 'SOME_ADVANCED_QUEUE' This will delete the "SOME_ADVANCED_QUEUE" Advanced Queue.

See Also

OMBDROP, OMBCREATE ADVANCED_QUEUE, OMBALTER ADVANCED_QUEUE, OMBRETRIEVE ADVANCED_QUEUE


OMBDROP COLLECTION

Purpose

OMBDROP COLLECTION - Drop the collection object from this project.

Prerequisites

Should be in the context of a project, before dropping a collection.

Syntax Diagrams

Description of dropCollectionCommand.jpg is in surrounding text

Syntax

dropCollectionCommand = OMBDROP ( COLLECTION "QUOTED_STRING" );

Keywords and Parameters

dropCollectionCommand

Drop a collection of objects.

Examples

OMBDROP COLLECTION 'PURCHASING_WAREHOUSE'

See Also

OMBDROP, OMBALTER COLLECTION, OMBCREATE COLLECTION


OMBDROP CONNECTOR

Purpose

OMBDROP CONNECTOR - Delete a connector.

Prerequisites

Should be in the context of the connector's owning location.

Syntax Diagrams

Description of dropConnectorCommand.jpg is in surrounding text

Syntax

dropConnectorCommand = OMBDROP ( CONNECTOR "QUOTED_STRING" );

Keywords and Parameters

dropConnectorCommand

Drops the named connector from the repository.

Examples

OMBDROP CONNECTOR 'A_CONNECTOR' This will delete the "A_CONNECTOR" connector.

See Also

OMBDROP, OMBCREATE CONNECTOR, OMBALTER CONNECTOR


OMBDROP CUBE_TABLE

Purpose

OMBDROP CUBE_TABLE - This command drops a cube.

Prerequisites

Should be in Oracle Module context.

Syntax Diagrams

Description of OMBDropCube.jpg is in surrounding text
Description of cube_drop.jpg is in surrounding text
Description of name.jpg is in surrounding text

Syntax

OMBDropCube = OMBDROP CUBE_TABLE "cube_drop";cube_drop = "name";name = ( "QUOTED_STRING" );

Keywords and Parameters

OMBDropCube

OMBDROP CUBE_TABLE "cube_drop"

cube_drop

The name of the cube_table to be dropped.

name

The name has to be a quoted string or an integer, or a decimal number.

Examples

OMBDROP CUBE_TABLE 'CUBE1'

See Also

OMBCREATE CUBE_TABLE, OMBALTER CUBE_TABLE, OMBRETRIEVE CUBE_TABLE


OMBDROP DEPLOYEMENT_ACTION_PLAN

Purpose

OMBDROP DEPLOYMENT_ACTION_PLAN - Remove an existing deployment action plan.

Prerequisites

There must be a current working project.

Syntax Diagrams

Description of DropActionPlanCommand.jpg is in surrounding text

Syntax

DropActionPlanCommand = ( OMBDROP ( DEPLOYMENT_ACTION_PLAN ) "QUOTED_STRING" );

Keywords and Parameters

DropActionPlanCommand

Remove an existing deployment action plan.

Examples

OMBDROP DEPLOYMENT_ACTION_PLAN 'MY_PLAN'

See Also

OMBCREATE DEPLOYMENT_ACTION_PLAN, OMBDEPLOY


OMBDROP EXTERNAL_TABLE

Purpose

OMBDROP EXTERNAL_TABLE - Delete the external table.

Prerequisites

Should be in the context of an Oracle module.

Syntax Diagrams

Description of dropExternalTableCommand.jpg is in surrounding text

Syntax

dropExternalTableCommand = OMBDROP EXTERNAL_TABLE "QUOTED_STRING";

Keywords and Parameters

dropExternalTableCommand

Drop an external table from the repository.

QUOTED_STRING

The name of the external table to drop.

Examples

OMBDROP EXTERNAL_TABLE 'SRC_TABLE' This will delete the external table "SRC_TABLE".

See Also

OMBDROP, OMBCREATE EXTERNAL_TABLE, OMBALTER EXTERNAL_TABLE


OMBDROP FLAT_FILE

Purpose

OMBDROP FLAT_FILE - Delete a flat file.

Prerequisites

Should be in the context of a flat file module.

Syntax Diagrams

Description of dropFlatFileCommand.jpg is in surrounding text

Syntax

dropFlatFileCommand = OMBDROP FLAT_FILE "QUOTED_STRING";

Keywords and Parameters

dropFlatFileCommand

Drop a flat file.

QUOTED_STRING

The name of the flat file to drop.

Examples

OMBDROP FLAT_FILE 'SRC_FILE' This will delete the flat file "SRC_FILE".

See Also

OMBDROP, OMBCREATE FLAT_FILE, OMBALTER FLAT_FILE


OMBDROP FLAT_FILE_MODULE

Purpose

OMBDROP FLAT_FILE_MODULE - Delete a flat file module.

Prerequisites

Should be in the context of a project.

Syntax Diagrams

Description of dropFlatFileModuleCommand.jpg is in surrounding text

Syntax

dropFlatFileModuleCommand = OMBDROP ( FLAT_FILE_MODULE "QUOTED_STRING" );

Keywords and Parameters

dropFlatFileModuleCommand

Drop a flat file module.

QUOTED_STRING

The name of the flat file module to drop.

Examples

OMBDROP FLAT_FILE_MODULE 'src_module' This will delete the "src_module" flat file module.

See Also

OMBDROP, OMBCREATE FLAT_FILE_MODULE, OMBALTER FLAT_FILE_MODULE


OMBDROP FUNCTION

Purpose

OMBDROP FUNCTION - Delete the Function.

Prerequisites

Should be in the context of a Oracle Module or Package or Transformation Module.

Syntax Diagrams

Description of dropFunctionCommand.jpg is in surrounding text

Syntax

dropFunctionCommand = OMBDROP ( FUNCTION "QUOTED_STRING" );

Keywords and Parameters

dropFunctionCommand

Remove an existing Function.

QUOTED_STRING

Name of the existing Function in quotes.

Examples

OMBDROP FUNCTION 'func' This will delete the "func" Function. If Packaged Function is overloaded, first find the Signature by using OMBLIST command, and then use OMBALTER command using appropriate signature. Example, if OMBLIST FUNCTIONS gives following two signatures, FUNC_1 (NUMBER) RETURN NUMBER FUNC_1 (VARCHAR2, NUMBER) RETURN NUMBER The OMBDROP syntax to drop the first one will be as follows OMBDROP FUNCTION 'FUNC_1 \(NUMBER\) RETURN NUMBER'

See Also

OMBDROP, OMBCREATE FUNCTION, OMBALTER FUNCTION


OMBDROP GATEWAY_MODULE

Purpose

OMBDROP GATEWAY_MODULE - Drop a gateway module.

Prerequisites

Should be in the context of project.

Syntax Diagrams

Description of dropGatewayModuleCommand.jpg is in surrounding text

Syntax

dropGatewayModuleCommand = OMBDROP ( GATEWAY_MODULE "QUOTED_STRING" );

Keywords and Parameters

dropGatewayModuleCommand

Specify the gateway module to be dropped.

Examples

The following example drops a gateway module named IFMX:

OMBDROP GATEWAY_MODULE 'IFMX'

See Also

OMBDROP, OMBCREATE GATEWAY_MODULE, OMBALTER GATEWAY_MODULE


OMBDROP LOCATION

Purpose

OMBDROP LOCATION - Delete the location.

Prerequisites

Should be in the context of a project.

Syntax Diagrams

Description of dropLocationCommand.jpg is in surrounding text

Syntax

dropLocationCommand = OMBDROP ( LOCATION "QUOTED_STRING" );

Keywords and Parameters

dropLocationCommand

Drop a location from the design repository.

Examples

OMBDROP LOCATION 'OLD_LOCATION' This will delete the location "OLD_LOCATION".

See Also

OMBDROP, OMBCREATE LOCATION, OMBALTER LOCATION


OMBDROP MAPPING

Purpose

OMBDROP MAPPING - Drop an existing mapping.

Prerequisites

The current context of scripting must be an Oracle

Syntax Diagrams

Description of dropMappingCommand.jpg is in surrounding text
Description of mappingName.jpg is in surrounding text

Syntax

dropMappingCommand = OMBDROP MAPPING "mappingName";mappingName = "QUOTED_STRING";

Keywords and Parameters

dropMappingCommand

Drop an existing mapping.

mappingName

Name of the mapping.

Examples

OMBDROP MAPPING 'MAP1'

See Also

OWBDROP, OMBCREATE MAPPING, OMBALTER MAPPING, OMBRETRIEVE MAPPING


OMBDROP MATERIALIZED_VIEW

Purpose

OMBDROP MATERIALIZED_VIEW - To drop a materialized view.

Prerequisites

In the context of an Oracle Module.

Syntax Diagrams

Description of dropMaterializedViewCommand.jpg is in surrounding text

Syntax

dropMaterializedViewCommand = OMBDROP MATERIALIZED_VIEW "QUOTED_STRING";

Keywords and Parameters

dropMaterializedViewCommand

This clause drops a MaterializedView.

Examples

OMBDROP MATERIALIZED_VIEW 'NEW_MATERIALIZED_VIEW'.

See Also

OMBRETRIEVE MATERIALIZED_VIEW, OMBCREATE MATERIALIZED_VIEW, OMBALTER MATERIALIZED_VIEW


OMBDROP OBJECT_TYPE

Purpose

OMBDROP OBJECT_TYPE - Delete the Object Type.

Prerequisites

Should be in the context of an Oracle Module.

Syntax Diagrams

Description of dropObjectTypeCommand.jpg is in surrounding text

Syntax

dropObjectTypeCommand = OMBDROP OBJECT_TYPE "QUOTED_STRING";

Keywords and Parameters

dropObjectTypeCommand

Drops the Object Type with given name.

Examples

OMBDROP OBJECT_TYPE 'SOME_OBJECT_TYPE' This will delete the "SOME_OBJECT_TYPE" Object Type.

See Also

OMBDROP, OMBCREATE OBJECT_TYPE, OMBALTER OBJECT_TYPE


OMBDROP ORACLE_MODULE

Purpose

OMBDROP ORACLE_MODULE - Delete the Oracle module.

Prerequisites

Should be in the context of project.

Syntax Diagrams

Description of dropOracleModuleCommand.jpg is in surrounding text

Syntax

dropOracleModuleCommand = OMBDROP ( ORACLE_MODULE "QUOTED_STRING" );

Keywords and Parameters

dropOracleModuleCommand

Remove an existing Oracle module.

QUOTED_STRING

Name of the existing Oracle module in quotes.

Examples

OMBDROP ORACLE_MODULE 'src_module' This will delete the "src_module" Oracle module.

See Also

OMBDROP, OMBCREATE ORACLE_MODULE, OMBALTER ORACLE_MODULE


OMBDROP PACKAGE

Purpose

OMBDROP PACKAGE - Delete the Package.

Prerequisites

Should be in the context of a Oracle Module or Transformation Module.

Syntax Diagrams

Description of dropPackageCommand.jpg is in surrounding text

Syntax

dropPackageCommand = OMBDROP ( PACKAGE "QUOTED_STRING" );

Keywords and Parameters

dropPackageCommand

Remove an existing Package.

QUOTED_STRING

Name of the existing Package in quotes.

Examples

OMBDROP PACKAGE 'package_1' This will delete the "package_1" Package.

See Also

OMBDROP, OMBCREATE PACKAGE, OMBALTER PACKAGE


OMBDROP PROCEDURE

Purpose

OMBDROP PROCEDURE - Delete the Procedure.

Prerequisites

Should be in the context of a Oracle Module or Package or Transformation Module.

Syntax Diagrams

Description of dropProcedureCommand.jpg is in surrounding text

Syntax

dropProcedureCommand = OMBDROP ( PROCEDURE "QUOTED_STRING" );

Keywords and Parameters

dropProcedureCommand

Remove an existing Procedure.

QUOTED_STRING

Name of the existing Procedure in quotes.

Examples

OMBDROP PROCEDURE 'proc' This will delete the "proc" Procedure. If Packaged Function is overloaded, first find the Signature by using OMBLIST command, and then use OMBALTER command using appropriate signature. Example, if OMBLIST PROCEDURES gives following two signatures, PROC_1 (NUMBER) PROC_1 (VARCHAR2, NUMBER) The OMBDROP syntax to drop the first one will be as follows OMBDROP PROCEDURE 'PROC_1 \(NUMBER\)'

See Also

OMBDROP, OMBCREATE PROCEDURE, OMBALTER PROCEDURE


OMBDROP PROCESS_FLOW

Purpose

OMBDROP PROCESS_FLOW - Delete the Process Flow.

Prerequisites

Should be in the context of a Process Flow Package.

Syntax Diagrams

Description of dropProcessFlowCommand.jpg is in surrounding text

Syntax

dropProcessFlowCommand = OMBDROP ( PROCESS_FLOW "QUOTED_STRING" );

Keywords and Parameters

dropProcessFlowCommand

Delete a process flow.

Examples

OMBDROP PROCESS_FLOW 'process_flow' This will delete the "process_flow" Process Flow.

See Also

OMBDROP, OMBCREATE PROCESS_FLOW, OMBALTER PROCESS_FLOW


OMBDROP PROCESS_FLOW_MODULE

Purpose

OMBDROP PROCESS_FLOW_MODULE - Delete the Process Flow Module.

Prerequisites

Should be in the context of a project.

Syntax Diagrams

Description of dropProcessFlowModuleCommand.jpg is in surrounding text

Syntax

dropProcessFlowModuleCommand = OMBDROP ( PROCESS_FLOW_MODULE "QUOTED_STRING" );

Keywords and Parameters

dropProcessFlowModuleCommand

Drop an existing process flow module.

Examples

OMBDROP PROCESS_FLOW_MODULE 'process_module' This will delete the "process_module" Process Flow Module.

See Also

OMBDROP, OMBCREATE PROCESS_FLOW_MODULE, OMBALTER PROCESS_FLOW_MODULE


OMBDROP PROCESS_FLOW_PACKAGE

Purpose

OMBDROP PROCESS_FLOW_PACKAGE - Delete the Process Flow Package.

Prerequisites

Should be in the context of a Process Flow Module.

Syntax Diagrams

Description of dropProcessFlowPackageCommand.jpg is in surrounding text

Syntax

dropProcessFlowPackageCommand = OMBDROP ( PROCESS_FLOW_PACKAGE "QUOTED_STRING" );

Keywords and Parameters

dropProcessFlowPackageCommand

Delete a process flow package.

Examples

OMBDROP PROCESS_FLOW_PACKAGE 'process_package' This will delete the "process_package" Process Flow Package.

See Also

OMBDROP, OMBCREATE PROCESS_FLOW_PACKAGE, OMBALTER PROCESS_FLOW_PACKAGE


OMBDROP PROJECT

Purpose

OMBDROP PROJECT - Delete the project.

Prerequisites

Should be in the top level context.

Syntax Diagrams

Description of dropProjectCommand.jpg is in surrounding text

Syntax

dropProjectCommand = OMBDROP ( PROJECT "QUOTED_STRING" );

Keywords and Parameters

dropProjectCommand

Remove an existing project.

QUOTED_STRING

Name of the existing project in quotes.

Examples

OMBDROP PROJECT 'New Project' This will delete the "New Project" project.

See Also

OMBDROP, OMBCREATE PROJECT, OMBALTER PROJECT


OMBDROP RUNTIME_REPOSITORY_CONNECTION

Purpose

OMBDROP RUNTIME_REPOSITORY_CONNECTION - Delete the runtime repository connection.

Prerequisites

Should be in the context of a project.

Syntax Diagrams

Description of dropRuntimeRepositoryCommand.jpg is in surrounding text

Syntax

dropRuntimeRepositoryCommand = OMBDROP ( RUNTIME_REPOSITORY_CONNECTION "QUOTED_STRING" );

Keywords and Parameters

dropRuntimeRepositoryCommand

Drop the runtime repository connection from the repository.

Examples

OMBDROP RUNTIME_REPOSITORY_CONNECTION 'MY_CONNECTION' This will delete the "MY_CONNECTION" runtime repository connection.

See Also

OMBDROP, OMBCREATE RUNTIME_REPOSITORY_CONNECTION, OMBALTER RUNTIME_REPOSITORY_CONNECTION


OMBDROP SAP_MODULE

Purpose

OMBDROP SAP_MODULE - Remove an existing SAP module.

Prerequisites

You must open a project to drop a SAP module.

Syntax Diagrams

Description of dropSAPModuleCommand.jpg is in surrounding text

Syntax

dropSAPModuleCommand = OMBDROP ( SAP_MODULE "QUOTED_STRING" );

Keywords and Parameters

dropSAPModuleCommand

Remove an existing SAP module.

Examples

OMBDROP SAP_MODULE 'src_module' This will delete the "src_module" SAP module.

See Also

OMBDROP


OMBDROP SEQUENCE

Purpose

OMBDROP SEQUENCE - To drop a sequence.

Prerequisites

In the context of an Oracle Module.

Syntax Diagrams

Description of dropSequenceCommand.jpg is in surrounding text

Syntax

dropSequenceCommand = OMBDROP SEQUENCE "QUOTED_STRING";

Keywords and Parameters

dropSequenceCommand

This clause drops a Sequence.

Examples

OMBDROP SEQUENCE 'new_sequence'.

See Also

OMBRETRIEVE SEQUENCE, OMBCREATE SEQUENCE, OMBALTER SEQUENCE


OMBDROP SNAPSHOT

Purpose

OMBDROP SNAPSHOT - A snapshot can be dropped.

Prerequisites

The snapshot to be dropped should already exist. This command can be executed for any snapshot regardless of current context.

Syntax Diagrams

Description of parseDropCommand.jpg is in surrounding text

Syntax

parseDropCommand = OMBDROP ( SNAPSHOT "QUOTED_STRING" );

Keywords and Parameters

parseDropCommand

To drop a snapshot.

QUOTED_STRING

Name of snapshot to be dropped.

Examples

OMBDROP SNAPSHOT 'S1'

See Also

OMBCREATE SNAPSHOT, OMBALTER SNAPSHOT, OMBRESTORE SNAPSHOT, OMBCOMPARE SNAPSHOT, OMBLIST SNAPSHOT, OMBRETRIEVE SNAPSHOT


OMBDROP TABLE

Purpose

OMBDROP TABLE - To drop a table.

Prerequisites

In the context of an Oracle Module.

Syntax Diagrams

Description of dropTableCommand.jpg is in surrounding text

Syntax

dropTableCommand = OMBDROP TABLE "QUOTED_STRING";

Keywords and Parameters

dropTableCommand

This clause drops a table.

Examples

OMBDROP TABLE 'old_table'.

See Also

OMBRETRIEVE TABLE, OMBCREATE TABLE, OMBALTER TABLE


OMBDROP VIEW

Purpose

OMBDROP VIEW - To drop a view.

Prerequisites

In the context of an Oracle Module.

Syntax Diagrams

Description of dropViewCommand.jpg is in surrounding text

Syntax

dropViewCommand = OMBDROP VIEW "QUOTED_STRING";

Keywords and Parameters

dropViewCommand

This clause drops a View.

Examples

OMBDROP VIEW 'NEW_VIEW'.

See Also

OMBRETRIEVE VIEW, OMBCREATE VIEW, OMBALTER VIEW