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
Two ribbons have similar shapes but different shades

Interview Question of the Week #031 – How to do Case Sensitive SQL Query Search

August 9, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Collation

Run a case sensitive SQL query search with explicit collations, inspect current settings, and design an index for repeated exact matches.

Read More
Diagram of ADD FILE for E:\SQLAuthority.ndf on the primary replica, sent to the secondaries as a log record: a secondary with drive E: creates the file, a secondary without drive E: fails with error 5123 and is suspended

ADD FILE in an Availability Group: What Happens on the Secondary Replica

August 8, 2015
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL High Availability, SQL Scripts, SQL Server

ADD FILE on the primary of an availability group reaches every secondary as a log record. If the same path doesn’t exist on a secondary, the operation fails and data movement is suspended. Here is how to resume it.

Read More
SQL SERVER - How to do IF...THEN in SQL SERVER?

SQL SERVER – How to do IF…THEN in SQL SERVER?

August 7, 2015
Pinal Dave
SQL Tips and Tricks

How do you write IF…THEN in SQL Server? Use a CASE statement, or IIF from SQL Server 2012. Here are simple examples of both for a .NET developer.

Read More
Ssi package execution tool window.

SQL SERVER – A Stored Procedure for Executing SSIS Packages in the SSIS Catalog – Notes from the Field #092

August 6, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore, SSIS

SSIS expert Andy Leonard shares a stored procedure for executing SSIS packages in the SSIS Catalog, from the book SSIS Design Patterns. Notes from the Field #092.

Read More
Table showing results of queries.

SQL SERVER – Knowing Which Database is Consuming My Memory

August 5, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory

Which database is consuming my memory? This query on sys.dm_os_buffer_descriptors counts buffer pool pages per database and page type.

Read More
SQL server affinity settings window.

SQL SERVER – Unable to Start SQL – Error: SQL Server Could Not Spawn Lazy Writer Thread

August 4, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Playing with affinity settings, I broke SQL Server startup with error 17120: could not spawn lazy writer thread. Here is what the ERRORLOG showed and how I recovered.

Read More
Display results in a separate tab.

SQL SERVER – Increase Characters Displayed in Text Results

August 3, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

A reader’s JSON output looked cut off compared to my blog post. Here is how to increase characters displayed in text results using Query Options in SSMS.

Read More
Previous 1 … 362 363 364 365 366 367 368 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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