DataExtensionRowCount

Returns the number of rows in the specified data extension. Use this function in place of a Lookup() call when only counting the number of rows in a data extension.

Syntax

DataExtensionRowCount(1)

Function Properties

OrdinalTypeDescription
1stringRequiredName of data extension from which to derive specified row count

Usage

The data extension example contains 31 rows. For this AMPscript, the system returns the value 31.