sp_helplog

Description

Reports the name of the device that contains the first page of the transaction log.

Syntax

sp_helplog

Parameters

None.

Examples

Example 1

Reports “master” as the name of the device:

sp_helplog
In database 'master', the log starts on device 'master'.

Usage

Permissions

Any user can execute sp_helplog. Permission checks do not differ based on the granular permissions settings.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

Commands alter database, create database

System procedures sp_helpdevice, sp_logdevice