Delete Data Extension

In this Article

Overview

You can use this Snap to delete data from the data extension table. If you no longer require the information stored in a data extension or have moved that data to a new data extension, you can delete the current data extension object. After you delete the data extension, you can't access the data again.

Snap Type

The delete data extension Snap is a Write-type Snap used to delete data from the data extension tables.

Prerequisites

The existing data extension.

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • Mapper

  • Read Data Extension

The environment endpoint, data extension name and others filters used to identify the data extension.

Output

Document

  • Min: 1

  • Max: 1

  • Click Event Tracker

  • Bounce Event Tracker

The deleted data extension tables.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop pipeline Execution: Stops the current pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a dynamically populated list based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the field set.

  • Remove icon ( ): Indicates that you can remove fields from the field set.

  • Upload icon ( ): Indicates that you can upload files.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default Value: Delete data extension
Example: SFMC Delete data extension

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

 

Environment Endpoint*

 

Default Value: S1
Example: S6

Dropdown

Select the SOAP API endpoint instances to the appropriate environment.

 

Data Extension Name*

Default Value: N/A
Example: sd_diameter

String/Expression/Suggestion

Enter the name of the data extension.

Clear Data

Default Value: deselected

Checkbox

Select this checkbox if you want all the the data in the data extension table to be deleted.

Keys

Enter the list of primary keys available in the data extension table.

Key

Default Value: N/A
Example: diameter

String/Suggestion

Enter the name of the primary key in the data extension table.

 

Value

Default Value: N/A
Example: 234

String/Expression

Enter the value of the primary key in the data extension table.

Timeout

Default Value: 900
Example: 3

Minimum value: 1

String

Enter the time in seconds to wait before aborting the request.

Maximum request attempts

Default Value: 5
Example: 10

String

Specifies the maximum number of requests to attempt in case of connection failure.

Retry request interval

Default Value: 3
Example: 10

String

Specify the number of seconds for which the Snap waits between two successive requests. A retry happens only when the previous attempt resulted in an exception.

Snap Execution

Default Value: Validate & Execute
Example: Execute only

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.

  • Execute only: Performs full execution of the Snap during pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.


Related Content