This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - Delete Backup History - Cleanup Backup History

SQL SERVER – Delete Backup History – Cleanup Backup History

November 11, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Backup and Restore, SQL Scripts, SQL Stored Procedure

SQL Server keeps backup history in msdb forever. Use sp_delete_backuphistory to delete backup history older than 30 days, or any number you pick.

Read More
SQL SERVER - Check Database Integrity for All Databases of Server - DBCC CHECKDB

SQL SERVER – Check Database Integrity for All Databases of Server – DBCC CHECKDB

November 10, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server, SQL Server DBCC

A quick script to check database integrity for all the databases on a server with DBCC CHECKDB and sp_msforeachdb, and how to read its output.

Read More
Small wooden trays arranged in a compact sequence with beans sorted into separate groups.

Why WHERE Runs Before SELECT

November 9, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Learn logical query processing to understand WHERE, SELECT aliases, grouped filters, and ordering without confusing syntax with execution.

Read More
SQL Server 2005 connection window.

SQL SERVER – Clear Drop Down List of Recent Connection From SQL Server Management Studio

November 5, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, DBA, SQL Scripts, Vista

Is the SSMS connect drop down list full of old server names? Delete the mru.dat file for SQL Server 2005 or 2008 to clear it and start fresh.

Read More
SQL Server master connection window.

SQL SERVER – Fix : Error: 4064 – Cannot open user default database. Login failed. Login failed for user

November 4, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts

Error 4064, cannot open user default database, shows up when a login’s default database was dropped. Connect to master first, then change the default.

Read More
A covered serving dish passes through a small kitchen hatch toward a hand reaching from a dark room.

Encrypting Connections to SQL Server

November 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Server, SQL Server Configuration, SQL Server Encryption, SQL Server Security

Encrypting connections to SQL Server requires a trusted certificate, careful Force Encryption rollout, and tests with real drivers.

Read More
SQL SERVER - Fix : Error : Login failed for user 'UserName'. The user is not associated with a trusted SQL Server connection

SQL SERVER – Fix : Error : Login failed for user ‘UserName’. The user is not associated with a trusted SQL Server connection

November 2, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Security

Login failed, not associated with a trusted SQL Server connection? I hit it between SQL Server 2008 and 2005 and fixed it with a matching Windows user.

Read More
Previous 1 … 487 488 489 490 491 492 493 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com