(Windows only) Provides for logging a user-defined event in the Windows Event Log from within the SAP ASE server.
xp_logevent error_number, message[, type]
xp_logevent 55555, 'Email message deleted.'
xp_logevent 66666, 'DLL not found.', 'error'
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 |
Only a system administrator can execute xp_logevent.