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
Execution plan with SQL query and cost estimates.

SQL SERVER – Return Specific Row to at the Bottom of the Resultset – T-SQL Script – Part 2

April 25, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Union clause

Part 2 on how to return a specific row at the bottom of the resultset. Earlier I used CASE in ORDER BY, and this time I show the UNION ALL method.

Read More
One chapter lifted from a stack of printed pages, a ribbon marking its place

SQL SERVER – Interview Questions and Answers Sample Chapter Free Download – SQL in Sixty Seconds #050

April 24, 2013
Pinal Dave
SQL Interview Questions and Answers
Database, SQL in Sixty Seconds, SQL Scripts, sqlcmd

SQL in Sixty Seconds hits its 50th episode and a full hour of play time. To celebrate, get a free SQL Server Interview Questions and Answers sample chapter.

Read More
SQL SERVER - Return Specific Row to at the Bottom of the Resultset - T-SQL Script

SQL SERVER – Return Specific Row to at the Bottom of the Resultset – T-SQL Script

April 23, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

How do I return a few chosen rows at the bottom of the entire resultset, in my own order? A T-SQL script on AdventureWorks shows how to do it.

Read More
An overflowing toy box beside a larger empty toy chest and a few small crates in a child's room.

Scale Up or Scale Out: Signs Your Server Needs More Hardware

April 22, 2013
Pinal Dave
SQL Performance
DBA, Hardware, SQL CPU, SQL Memory, SQL Wait Stats

Decide when to scale up SQL Server by checking sustained CPU demand, memory pressure, storage latency, and whether query tuning comes first.

Read More
Several hands reaching into a crate of oranges, each taking a different one, one hand passing over a held orange.

UPDLOCK and READPAST for Queue Tables

April 22, 2013
Pinal Dave
SQL Tips and Tricks
Query Hint, SQL Lock, SQL Server, SQL Transactions

UPDLOCK and READPAST let SQL Server queue workers claim different rows safely when transactions, retries, and completion rules are designed.

Read More
Gouache painting: a small wooden podium on a stage with a child-sized step stool beside it, soft spotlight, rows of empty chairs in front, one vermilion ribbon tied to the stool

Women in SQL: The Youngest SQL Speaker at SQL Bangalore

April 21, 2013
Pinal Dave
SQLAuthority News
Conferences, Professional Development, SQLAuthority Author Visit

Women in SQL day at the SQL Bangalore User Group, April 20, 2013: a strong lineup of speakers, more than 100 attendees, and a surprise speaker who was 3 years and 7 months old.

Read More
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
Previous 1 … 488 489 490 491 492 493 494 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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