xp_logevent

(Windows only) Provides for logging a user-defined event in the Windows Event Log from within the SAP ASE server.

Syntax

xp_logevent error_number, message[, type]

Parameters

Examples

Usage

The following table describes the default event details for events generated with xp_logevent:

Detail

Value

User

N/A

Computer

Name of machine running XP Server

Event ID

12

Source

Name of the SAP ASE server

Category

User

Permissions

Only a system administrator can execute xp_logevent.