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
Gouache painting: an empty wooden picture frame hanging on a plain wall with a faded sepia landscape painting already inside it, and one vermilion bookmark ribbon draped over the top edge

SQL SERVER – Quiz on knowing DATEPART and DATENAME Behaviors

April 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

DATEPART and DATENAME accept a string that holds only a time and fill in the missing date as January 1, 1900. This post keeps the quiz, runs every query on SQL Server 2025 and explains which of the five bonus queries work and why.

Read More
Wmic service command prompt window.

SQL SERVER – Script to find SQL Startup Account using WMIC

March 31, 2015
Pinal Dave
SQL Tips and Tricks

A friend’s passing remark led me to a new way to find the SQL Server startup account using WMIC, the WMI command line tool. Here is the script.

Read More
SQL SERVER - Using MaxTransferSize parameter with SQL Server Backups

SQL SERVER – Using MaxTransferSize parameter with SQL Server Backups

March 30, 2015
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server

A DBA asked whether backups on new EMC storage should use a 256 KB transfer size. Here is what I learned about the MaxTransferSize parameter.

Read More
A hand-cranked pasta roller turns one sheet into repeatable strips

Interview Question of the Week #013 – Stored Procedure and Its Advantages – How to Create Stored Procedure

March 29, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Stored Procedure

Learn how to create stored procedure code with parameters and NOCOUNT, then review security, plan reuse, and parameter-sensitive plans.

Read More
SQL SERVER - System procedures to know SQL Server Version

SQL SERVER – System procedures to know SQL Server Version

March 28, 2015
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Stored Procedure

There are many ways to know SQL Server version, but did you know two system procedures, sp_server_info and xp_msver, also return it?

Read More
SQL SERVER – Find the Growth Size for All files in All Databases

SQL SERVER – Find the Growth Size for All files in All Databases

March 27, 2015
Pinal Dave
SQL Tips and Tricks

Auto growth should be a safety net, not a routine. Here is a script to find the growth size for all files in all databases and spot risky 10% settings.

Read More
Index overlap warning.

SQL SERVER – Mistake to Avoid: Duplicate and Overlapping Indexes – Notes from the Field #073

March 26, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Index

Indexes do not always improve performance. Kathi Kellenberger explains why duplicate and overlapping indexes are a mistake to avoid.

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

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