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
Three sorting bins in a row with a red rubber boot on the ground that fits none.

CASE Expression Pitfalls: NULL Tests and Data Type Precedence

April 20, 2013
Pinal Dave
SQL Tips and Tricks
SQL CASE, SQL Datatype, SQL NULL, SQL Server

Reproduce CASE expression traps with NULL tests, mixed result types, missing ELSE, and nesting, then apply clear rewrites.

Read More
Flower frog holding selected stems while an unused stem remains outside the vase

Loading a CSV Whose Columns Do Not Match the Table

April 18, 2013
Pinal Dave
SQL Tips and Tricks
CSV, ETL, SQL Server

Your supplier’s CSV has an extra column and a different order. Here is how to load it safely, with a header check and a staging table.

Read More
Two identical generators side by side in a plant room, one running with a green lamp lit and one on standby.

SQL SERVER – Get High Availability with SQL Server 2012

April 16, 2013
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL High Availability, SQL Server

SQL Server 2012 offers several High Availability options, including up to four active secondaries. Here is what they give you and how a course can help.

Read More
SalesOrderDetail' table.

SQL SERVER – Tricks for Row Offset and Paging in Various Versions of SQL Server

April 14, 2013
Pinal Dave
SQL Tips and Tricks
SQL Paging

Paging is needed in almost every application. I show row offset and paging scripts for each version from SQL Server 2000 to 2012, using AdventureWorks.

Read More
A hand topping cupcakes with red raspberries, the last cupcake left plain on the tray.

CROSS APPLY and OUTER APPLY in Everyday Queries

April 13, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

Use CROSS APPLY and OUTER APPLY for per-row functions, reusable expressions, VALUES unpivoting, DMV text, plans, and latest rows.

Read More
A wide new road ending at an old one-lane stone bridge, cars queued at the bridge and the road behind empty.

Choosing Hardware for SQL Server Now

April 12, 2013
Pinal Dave
SQL Tips and Tricks
Disk, Hardware, SQL CPU, SQL Server

Choosing hardware for SQL Server Now means matching core cost, memory, and storage latency to measured workload needs and future growth.

Read More
A solid slate-colored rectangular tile beside a sage triangular tile, a loose cream cord and a red pebble.

geometry STArea: Measure the Polygon Interior

April 11, 2013
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geometry STArea measures polygon interior rather than its outline. These local planar shapes show equal areas with different perimeters, a hole subtraction and zero-area instances.

Read More
Previous 1 … 328 329 330 331 332 333 334 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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