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 - Reasons to Backup Master Database - Why Should Master Database Backedup

SQL SERVER – Reasons to Backup Master Database – Why Should Master Database Backedup

February 15, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Backup and Restore, SQL Data Storage, SQL Server Security, SQL Utility

Why should you backup master database? It holds all logins, system configuration and the details SQL Server needs to reach every other database.

Read More
SQLCMD command window with a query.

SQL SERVER – Restore Master Database – An Easy Solution

February 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server Security, SQL Utility

A two step easy way to restore master database: start SQL Server in single user mode, then restore from a full backup of master. No full backup, no restore.

Read More
SQL Server Management tools.

SQL SERVER – Start SQL Server Instance in Single User Mode

February 10, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Server Security, SQL Utility

How to start a SQL Server instance in single user mode: add the -m; startup parameter in SQL Server Configuration Manager and restart the service.

Read More
SQL SERVER - 2008 - Download Microsoft SQL Server 2008 Express with Tools Free

SQL SERVER – 2008 – Download Microsoft SQL Server 2008 Express with Tools Free

February 9, 2009
Pinal Dave
SQLAuthority News
Database, SQL Download, SQL Server Express, SQL Utility

SQL Server 2008 Express with Tools is a free edition that includes the graphical management tools. It is great for small server apps and local data stores.

Read More
SQL SERVER - Quickest Way to - Kill All Threads - Kill All User Session - Kill All Processes

SQL SERVER – Quickest Way to – Kill All Threads – Kill All User Session – Kill All Processes

February 6, 2009
Pinal Dave
SQL Performance
SQL Scripts, SQL Utility

The quickest way to kill all processes and user sessions in a database: SET SINGLE_USER WITH ROLLBACK IMMEDIATE, then back to MULTI_USER. No cursor needed.

Read More
SQL Server performance query results.

SQL SERVER – Find Number of Rows and Disk Space Reserved – Using sp_spaceused Interesting Observation

January 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Function, SQL Scripts, SQL Server DBCC, SQL Stored Procedure, SQL Utility

sp_spaceused shows the row count of a table and the disk space reserved. Here is why its numbers looked wrong on AdventureWorks and how @updateusage fixed them.

Read More
Set ROWCOUNT Option in SQL Server Management Studio.

SQL SERVER – Find Row Count in Table – Find Largest Table in Database – T-SQL

January 13, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL System Table, SQL Utility

A quick script using sys.dm_db_partition_stats that lists the row count of every table and shows the largest table in database right at the top.

Read More
Previous 1 … 16 17 18 19 20 21 22 … 33 Next
  • Books
  • Testimonials
  • Privacy Policy

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