xp_deletemail

(Windows only) Deletes a message from the SAP ASE message inbox.

Syntax

xp_deletemail [msg_id]

Parameters

Examples

Usage

Obtain the msg_id using xp_findnextmsg.

If the msg_id parameter is not used, the message to be deleted defaults to the first message in the message inbox.

Permissions

By default, only a system administrator can execute xp_deletemail. A system administrator can grant this permission to other users.

Related reference
xp_findnextmsg