Skip Navigation

Programmatic Marketing Content

control-j is the search shortcutj
Introduction to Programmatic Marketing Content
AMPscript
Guide Template Language
Server-Side JavaScript
Server-Side JavaScript Syntax Guide
Account Functions
AccountUser Functions
Content Area Functions
Data Extension Functions
Add
Fields
Retrieve
Rows
Rows.Add
Rows.Lookup
Rows.Remove
Rows.Retrieve
Rows.Update
DateTime Functions
Delivery Profile Functions
Email Functions
Events Functions
Filter Defintion Functons
Folder Functions
HTTP Functions
List Functions
Portfolio Functions
Query Definition Functions
Recipient Functions
Send Classification Functions
Send Functions
Sender Profile Functions
Subscriber Functions
Template Functions
Triggered Send Functions
Utilities Functions
Platform Functions
Server-Side JavaScript Sample Code
Use Server-Side JavaScript with AMPscript
Use Server-Side Javascript via WSProxy with the SOAP API
Server-Side JavaScript/Server-Side JavaScript Syntax Guide/Data Extension Functions/Rows/Rows.Remove

Rows.Remove

Overview

Deletes a row from the initialized data extension

Syntax

Rows.Remove(1, 2)

Function Properties

Ordinal Type Description
1 string Required Fields used to filter row
2 string Required Values in fields used to filter row

Example

This sample code removes a row from the birthdayDE data extension when that row contains the first name of Angel and an age of 24.

var birthdayDE= DataExtension.Init("birthdayDE");
birthdayDE.Rows.Remove(["FirstName", "Age"], ["Angel", 24]);
Last Updated: Jun 8, 2021

Salesforce logo