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 - Finding What Policies Are Enabled on Our Databases

SQL SERVER – Finding What Policies Are Enabled on Our Databases

April 15, 2015
Pinal Dave
SQL Tips and Tricks
Policy Management

A reader asked how to know which policy is enabled on a server. I explain how the policy engine uses target sets, then query what policies are enabled.

Read More
SQL SERVER - Script - Removing Multiple Databases from Log Shipping

SQL SERVER – Script – Removing Multiple Databases from Log Shipping

April 14, 2015
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore

Removing multiple databases from log shipping in SSMS takes many clicks per database. Here is a script that calls the log shipping stored procedures instead.

Read More
SQL SERVER - Is XP_CMDSHELL Enabled on the Server?

SQL SERVER – Is XP_CMDSHELL Enabled on the Server?

April 13, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure

Is XP_CMDSHELL enabled on your server? I recommend avoiding it for security. Here are two ways to check and turn it off, starting with T-SQL.

Read More
A working vessel is connected to a new pipe while an older vessel is disconnected

Interview Question of the Week #015 – How to Move TempDB to Different Drive

April 12, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL TempDB

Move tempdb files using sys.master_files and ALTER DATABASE, prepare Windows folders, restart SQL Server, and diagnose a full log first.

Read More
SQL SERVER - CONCAT function and NULL values

SQL SERVER – CONCAT function and NULL values

April 11, 2015
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL String

The CONCAT function and NULL values: CONCAT in SQL Server 2012 simply ignores NULL, while the + operator returns NULL. Here is a simple example.

Read More
SQL SERVER - Login Failed For User - Reason Server is in Script Upgrade Mode

SQL SERVER – Login Failed For User – Reason Server is in Script Upgrade Mode

April 10, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Login failed for user because the server is in script upgrade mode? It happens after patching while upgrade scripts run. Here is what it means and what to do.

Read More
SQL SERVER - The Basics of the File System Task - Part 2 - Notes from the Field #075

SQL SERVER – The Basics of the File System Task – Part 2 – Notes from the Field #075

April 9, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore, SSIS

Andy Leonard returns with part 2 on the basics of the File System Task in SSIS, useful whenever your data moves to and from flat files.

Read More
Previous 1 … 379 380 381 382 383 384 385 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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