Skip to content

Tomas Lind

  • Home
  • About – Tomas Lind
  • Contact
  • Blog Series
    • Technical Analysis (TA)
  • T-SQL
    • T-SQL Scripts
    • Templates
  • Consulting Services
  • Software

System Stored Procedures

SQL Server recovery time
Posted in
  • Error log
  • Failover Cluster
  • System Stored Procedures

SQL Server recovery time

SQL Server Recovery time is the time it takes for SQL Server to rollback or roll-forward … SQL Server recovery timeRead more

by Tomas Lind•2015/10/272015/10/27•0
SQL Agent job history gets deleted
Posted in
  • Monitoring
  • SQL Agent
  • System Stored Procedures

SQL Agent job history gets deleted

Ever wondered why the SQL Agent job execution history gets deleted at regular intervals?

by Tomas Lind•2014/10/232015/04/28•0
T-SQL function SERVERPROPERTY
Posted in
  • Configuration
  • System Stored Procedures

T-SQL function SERVERPROPERTY

The T-SQL function SERVERPROPERTY returns a lot of properties about the current SQL Server instance. The … T-SQL function SERVERPROPERTYRead more

by Tomas Lind•2014/05/062015/12/07•0
Map users to logins
Posted in
  • Permissions
  • Security
  • System Stored Procedures

Map users to logins

“Why can’t I login after the database restore?” As a DBA, this is one of the … Map users to loginsRead more

by Tomas Lind•2014/03/112014/02/27•0
sp_cycle_errorlog
Posted in
  • Configuration
  • System Stored Procedures

sp_cycle_errorlog

Sometimes the error log files in SQL Server get too large to view and manage in … sp_cycle_errorlogRead more

by Tomas Lind•2014/03/062014/02/25•3
Logging changes to sys.configurations
Posted in
  • Configuration
  • Dynamic Management Objects
  • System Stored Procedures

Logging changes to sys.configurations

Some server wide settings can have major negative impact if they are changed in your SQL … Logging changes to sys.configurationsRead more

by Tomas Lind•2014/03/042014/03/04•0
sp_MSforeachdb
Posted in
  • System Stored Procedures

sp_MSforeachdb

sp_MSforeachdb is an undocumented system stored procedure that lets you iterate through all databases on an … sp_MSforeachdbRead more

by Tomas Lind•2014/01/302014/01/21•1
An alternative to xp_fixeddrives
Posted in
  • Dynamic Management Objects
  • System Stored Procedures

An alternative to xp_fixeddrives

Want to know the disk space available on your database server from T-SQL? This can be … An alternative to xp_fixeddrivesRead more

by Tomas Lind•2014/01/282014/11/21•15
Changing the database owner
Posted in
  • Configuration
  • Permissions
  • System Stored Procedures

Changing the database owner

When a database is created, the logged in user is set as the database owner as … Changing the database ownerRead more

by Tomas Lind•2014/01/232014/01/23•1
Posted in
  • System Stored Procedures

xp_logininfo

This system stored procedure returns information on windows accounts or groups in SQL Server. One of … xp_logininfoRead more

by Tomas Lind•2013/12/20•2

Posts pagination

1 2 Next

confided data manager

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts & Pages

  • How to align columns in Notepad++
  • Export data from Excel to SQL Server
  • CDC Cleanup job
  • SQL Agent job logging with tokens
  • A replacement for syslogins

Recent Posts

  • Get element max value from folder with XML files
  • Dynamic Data Masking (DDM) – Mask query results
  • The T-SQL Merge statement
  • From SQL Server to MSMQ using PowerShell
  • Identity columns that are about to overflow

Archives

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2025 Tomas Lind.
Powered by WordPress and HybridMag.
  • Home
  • About – Tomas Lind
  • Contact
  • Blog Series
    • Technical Analysis (TA)
  • T-SQL
    • T-SQL Scripts
    • Templates
  • Consulting Services
  • Software