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
SQLAuthority News - Airline Review - Paramount, Kingfisher, Go Air, Indigo, Jet Airways, Indian Airlines, Spicejet

SQLAuthority News – Airline Review – Paramount, Kingfisher, Go Air, Indigo, Jet Airways, Indian Airlines, Spicejet

December 3, 2009
Pinal Dave
SQLAuthority News
SQLAuthority Author Visit

After 36 flights in two months, my airline review of Paramount, Kingfisher, Go Air, Indigo, Jet Airways, Indian Airlines and Spicejet, ranked by preference.

Read More
Gouache painting of a document passing through a schema-shaped stencil

Validate an XML Document in T-SQL With an XSD Schema by Jacob Sebastian

December 2, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL XML

To validate an XML document in SQL Server, store an XSD in a schema collection and type the variable or column with it. Jacob Sebastian’s lesson is kept, and I added tests on SQL Server 2025 that show the error number for each kind of bad document and what DOCUMENT and CONTENT accept.

Read More
A seismograph drum with a calm ink line and one sharp spike, a fingertip pausing beside the spike

Reading the Error Log With T-SQL

December 1, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Error Messages, SQL Log, SQL Scripts

Reading the error log with T-SQL helps you search current and archived SQL Server messages, then set a useful log cycle schedule.

Read More
SQL SERVER - Size of Index Table for Each Index - Solution

SQL SERVER – Size of Index Table for Each Index – Solution

November 30, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

Two reader solutions to my puzzle: queries that show the size of the index table for each index, accurate in nearly all of my tests.

Read More
Gouache painting: at a grain stall a small tin cup overflows with tiny red lentils, spilling a heap onto the counter

DATEDIFF_BIG: Count Long Intervals Without int Overflow

November 29, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

DATEDIFF_BIG returns bigint boundary counts. Compare a long seconds interval, reversed dates and a tiny boundary crossing without overflowing int.

Read More
Gloved hands lifting a honeycomb frame from a stacked wooden beehive in a meadow, smoke drifting nearby

What Is Installed? Finding Every SQL Server Component

November 28, 2009
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Server, SQL Server Installation, SQL Server Services

Finding every SQL Server component starts with the Setup discovery report, then checks services, engine versions, and separate client tools.

Read More
An unattended hay wagon stands in the middle of a narrow stone bridge while a line of cyclists waits behind it.

Following a Blocking Chain to the Head Blocker

November 27, 2009
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Lock, SQL Transactions

Follow SQL Server blocking_session_id through a blocking chain, identify the head blocker, and choose a safe ending for the wait.

Read More
A saucepan of stock reduced to a thick sauce, a hand filling a small jar from it beside a heap of vegetable scraps.

Pre-Aggregating Data for Fast Dashboards

November 26, 2009
Pinal Dave
SQL Performance
Business Intelligence, Data Warehousing, SQL Performance, SQL Server, SQL View

Pre-aggregating data can make dashboards fast through summary tables or indexed views when grain, refresh, and reader consistency are clear.

Read More
SQL SERVER - Comma Separated Values (CSV) from Table Column

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

November 25, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, CSV, SQL Scripts, SQL Server, SQL XML

The script I use most often to build Comma Separated Values (CSV) from a table column with FOR XML PATH. I think XML is the best option for code and speed.

Read More
SQL Server TOP 100 PERCENT and ORDER BY Query Comparison.

SQL SERVER – Interesting Observation – TOP 100 PERCENT and ORDER BY

November 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL View

ORDER BY in a view raises Msg 1033 unless TOP is used, so many developers add TOP 100 PERCENT. An interesting observation on what that really does.

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

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