---
schema_version: "1"
id: fbdc2a2f208403efb90e162c4aae32719777937bf9c01968be5771500d2fb348
title: Rows.Remove
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_dataExtensionRowsRemove.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_dataExtensionRowsRemove.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 99093a75209f3660135755415ffdc5207ecd8f80806a5bd814a0513a28aa753d
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Rows.Remove

Delete a row from a data extension.

**note:** This function times out if it runs for too long. The maximum number of rows that you can delete depends on the size of the data extension, system load, and other factors. For large deletion requests, we recommend that you implement a batching process.

## Syntax

```
Rows.Remove(1, 2)
```

## Properties

| Ordinal | Type   | Description                                                       |
| ------- | ------ | ----------------------------------------------------------------- |
| `1`     | String | Required. The columns to search for the specified value.          |
| `2`     | String | Required. The field value used to determine which rows to delete. |

## Usage

This example removes all of the rows from the `MembershipRewards` data extension where the value in the `Area` column is `Kensington`.

```js
<script runat="server">
  Platform.Load("Core","1");
  var memberDE = DataExtension.Init("MembershipRewards");
  var result = memberDE.Rows.Remove(["Area"], ["Kensington"]);
</script>
<p>Rows deleted: <ctrl:var name="result" /></p>
```

The only item in the response is the number of rows that were modified.
