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 of rowing boats jammed at a narrow stone arch with one vermilion boat past it

Max Degree of Parallelism for Microsoft Dynamics CRM

September 14, 2018
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL Scripts, SQL Server Configuration

Max degree of parallelism controls how many cores one query can use, and the vendor guidance for Microsoft Dynamics CRM has been 1. This post measures what parallel plans cost on a heavy and a small query. It shows a database scoped limit and the instance wide statements.

Read More
Gouache painting of three whole pies and one separated slice in vermilion on a small plate

Extract Decimal Part of a Number in SQL Server

September 12, 2018
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Datatype, SQL Scripts

To extract decimal part of a number in SQL Server, use ABS(value) % 1. This post compares four methods on positive and negative amounts and explains why the result is sometimes 0. It also covers float columns, digits as whole numbers and trailing zeros.

Read More
Replica Server Name Table.

SQL SERVER – Scripts to Overview HADR / AlwaysOn Local Replica Server

September 11, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Replication, SQL Scripts, SQL Server

SQL Server expert Dominic Wirth shares a script that gives a utilization overview of the local AlwaysOn replica server: database count and size, by role and group.

Read More
Two empty bowls receive nothing from a closed wooden gate and a plugged pottery jug

Which is Optimal – TOP 0 OR WHERE 1 = 2? – Interview Question of the Week #190

September 9, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

Which is optimal, TOP 0 or WHERE 1 = 2? Many interview answers get this wrong, but they are both the same, and STATISTICS IO shows why.

Read More
A to Z alphabet smiley faces.

Alphabets – SQL SERVER – Retrieving Rows With All Alphabets From Alphanumeric Data

September 4, 2018
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

I got an email from one of my blog readers asking for an easy way to identify if a given string contains only alphabets. There can be methods.

Read More
An unsettled mosaic in its assembly jig is inspected beside a stable finished sample.

SQL SERVER – Applying NOLOCK to Every Single Table in Select Statement – SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

September 3, 2018
Pinal Dave
SQL Performance
Query Hint, SQL Scripts, SQL Server, Transaction Isolation

READ UNCOMMITTED changes session read isolation without adding NOLOCK to every table. A workshop procedure made the distinction useful.

Read More
Two different sealed jars travel together in a wooden crate between stone shelves

How to Move SQL Server MDF and LDF Files? – Interview Question of the Week #189

September 2, 2018
Pinal Dave
SQL Interview Questions and Answers
File format, SQL Scripts, SQL Server

How do you move SQL Server MDF and LDF files? Detach and attach is the old way, so here is the step-by-step method I use for my clients today.

Read More
Previous 1 … 91 92 93 94 95 96 97 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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