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
Six empty ceramic cups in two rows, with terracotta, blue and pale glazes.

CROSS APPLY VALUES: Unpivot Fixed Columns and Preserve NULLs

July 3, 2009
Pinal Dave
SQL Tips and Tricks
PIVOT and UNPIVOT, SQL Joins, SQL Scripts, SQL Server

CROSS APPLY VALUES can turn a fixed set of columns into rows without dropping their NULL values. I make any missing-value filter explicit. That keeps the reshaping step separate from the decision to exclude data.

Read More
Results window for executing t-sql queries.

SQL SERVER – Difference between Line Feed (\n) and Carriage Return (\r) – T-SQL New Line Char

July 1, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Utility

What is the difference between Line Feed (\n) and Carriage Return (\r)? Why Windows, Mac and Unix read a new line differently, and what it means in T-SQL.

Read More
SQL SERVER - 2008 - Policy-Based Management - Create, Evaluate and Fix Policies

SQL SERVER – 2008 – Policy-Based Management – Create, Evaluate and Fix Policies

June 30, 2009
Pinal Dave
SQL Tips and Tricks
Policy Management, SQL Scripts, SQL Server Security

An introduction to Policy-Based Management in SQL Server 2008: facets, conditions, policies, and how to create, evaluate and fix non-complying policies.

Read More
SQL SERVER - Maximum Number of Index per Table

SQL SERVER – Maximum Number of Index per Table

June 29, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index

My TechEd on Road Ahmedabad recap, with 200+ attendees and a quiz, along with a look at the maximum number of index per table in SQL Server.

Read More
SQL SERVER - SQL Server Management Studio New Features

SQL SERVER – SQL Server Management Studio New Features

June 28, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio

The top 5 new features of SQL Server Management Studio 2008, the tool that replaced Enterprise Manager and Query Analyzer, with upgrades DBAs asked for.

Read More
SQL SERVER - Fix : Error : 17892 Logon failed for login due to trigger execution. Changed database context to 'master'.

SQL SERVER – Fix : Error : 17892 Logon failed for login due to trigger execution. Changed database context to ‘master’.

June 27, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Trigger, sqlcmd

Dropped the database your logon trigger writes to? Every login then fails with Error 17892 Logon failed. I recreate the problem and show how to get back in.

Read More
A pond covered in lily pads with one red koi showing in a gap

Stopping Backup Success Messages From Flooding the Error Log

June 25, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Log, TraceFlags

Reduce backup success messages in the SQL Server error log with trace flag 3226, verify msdb history, and cycle logs safely.

Read More
Previous 1 … 465 466 467 468 469 470 471 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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