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
A rack holds separate sealed backup parcels, with a new one added at the end

How to Add Date to Database Backup Filename? – Interview Question of the Week #109

February 12, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

A reader using Backup to URL asked how to add the date to a Database Backup Filename. Here is a script that builds the name for you.

Read More
Diagram of three nodes in DomainOld, Node-01 behind the listener with Node-02 on synchronous automatic failover and Node-03 on asynchronous manual failover, and the 12 migration steps grouped into four stages

New AD Domain: Moving an AlwaysOn Availability Group Node by Node

February 11, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Domain Controller, SQL Mirroring, SQL Server

After an acquisition, my client had to move an AlwaysOn availability group to a new AD domain. These are the 12 steps I shared, moving one node at a time from DomainOld to DomainNew.

Read More
System.OutOfMemoryException' thrown dialog box.

SQL SERVER Management Studio – Exception of type ‘System.OutOfMemoryException’ was thrown. (mscorlib)

February 9, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Memory, SQL Server

Copying a huge result set from the SSMS grid threw ‘Exception of type System.OutOfMemoryException was thrown’. Why it happens and a better way to export.

Read More
SQL Server sp_spaceused window.

SQL SERVER – Puzzle – Why does sp_spaceused Show No Values?

February 8, 2017
Pinal Dave
SQL Puzzle
SPARSE Columns, SQL Scripts, SQL Server

Why does sp_spaceused show no values for a table that clearly has rows? It stumped me for 10 minutes. Here is the puzzle, try it before reading on.

Read More
A shipping crate whose lid has been opened to show that the packing inside does not match the shape of the crate.

SQL SERVER – The header for file Path is not a valid database file header. The PageAudit property is incorrect

February 7, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Server, Starting SQL

SQL Server would not start: model.mdf did not have a valid database file header and the PageAudit Property was incorrect. How I got it running again.

Read More
6.3 os info sql.

SQL SERVER – SQL Server: Getting OS information using DMV

February 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, Windows

Need the Windows version SQL Server runs on? Get OS information with the sys.dm_os_windows_info DMV, or read it from the ERRORLOG at startup.

Read More
One sewing tool makes a new seam while another refreshes a worn seam

How to Enable Auto Update Statistics and Auto Create Statistics with T-SQL – Interview Question of the Week #108

February 5, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Statistics

Question: How to Enable Auto Update Statistics and Auto Create Statistics? Let us learn how we can fix that in today’s blog post.

Read More
Previous 1 … 177 178 179 180 181 182 183 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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