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
74954 records.

SQL SERVER – ORDER BY Clause and TOP WITH TIES

December 23, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts

How does TOP WITH TIES work with ORDER BY? A simple example shows how WITH TIES returns the extra rows that match the value of the last row.

Read More
SQLAuthority News - Meeting SQL Expert Imran at Hyderabad

SQLAuthority News – Meeting SQL Expert Imran at Hyderabad

December 22, 2009
Pinal Dave
SQLAuthority News
Database, DBA

I finally met SQL expert Imran Mohammed, one of the top helpers on this blog, over dinner in Hyderabad. He was much younger than I expected.

Read More
SQL Server query window.

SQL SERVER – Comma Separated Values (CSV) from Table Column – Part 2

December 21, 2009
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL String, SQL XML

Comma Separated Values from a table column, part 2: SUBSTRING limits the XML length, so I rewrote the query with STUFF and FOR XML PATH to remove it.

Read More
Gouache painting: from a greenhouse beam hang three iron hooks

XML exist: A Present Boolean Expression Still Exists

December 20, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

XML exist tests a nonempty XQuery result. Even false() returns a value, so use a node predicate to test presence and preserve NULL XML input.

Read More
An old brass kitchen tap above a sink, with new copper pipes visible in the open cupboard beneath

Migrating From Access to SQL Server

December 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Datatype, SQL Migration, SQL Server

Migrating from Access to SQL Server can keep the familiar front end while tables move, linked tables are tested, and Access queries are rewritten.

Read More
Gouache painting: in a drum room, two cymbal stands stand side by side

JSON_OBJECT: Decide Whether Missing Values Become Null

December 18, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server, SQL Server 2022

JSON_OBJECT constructs a typed object payload. Choose null or absent properties deliberately and preserve empty strings as present values.

Read More
A restaurant kitchen with crates of raw vegetables at the back, prepped bowls in the middle and finished plates at the pass.

Staging, Warehouse and Mart: Why Three Layers

December 17, 2009
Pinal Dave
SQL Tips and Tricks
Business Intelligence, Data Warehousing, ETL, SQL Server

Staging, warehouse and mart give data loads, trusted history, and focused reporting separate jobs; learn when each layer earns its place.

Read More
SQL SERVER - Fillfactor, Index and In-depth Look at Effect on Performance

SQL SERVER – Fillfactor, Index and In-depth Look at Effect on Performance

December 16, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Where in SQL Server does 100 equal 0? In Fillfactor settings. An in-depth look at how the Fillfactor of an index affects page fill and performance.

Read More
SQL Server Memory Size and Allocation Tool Window.

SQL SERVER – Difference TempTable and Table Variable – Table Variable in Memory a Myth

December 15, 2009
Pinal Dave
SQL Performance
SQL Scripts

Is a table variable in memory while a temp table lives in TempDB? It is a myth: both are created in TempDB, and a simple script proves it.

Read More
SQLAuthority News - An Year of Personal Events - A Life Outside SQL

SQLAuthority News – An Year of Personal Events – A Life Outside SQL

December 14, 2009
Pinal Dave
SQLAuthority News

Do I have a life outside SQL? Yes, and it is beautiful. Three photographs from my year of personal events, told with very few words.

Read More
Previous 1 … 471 472 473 474 475 476 477 … 593 Next
  • Books
  • Testimonials
  • Privacy Policy

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