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
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
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
Three small plain lockboxes of different sizes with separate brass keys grouped on an oak table.

TDE, Column Encryption and Always Encrypted Compared

November 20, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Security

Compare SQL Server encryption options by the threat they address, where keys live, what applications must change, and how recovery is tested.

Read More
Gouache painting: a narrow wooden spice rack with exactly four small round slots stands on a kitchen counter, all four slots filled with matching small glass jars

smallmoney: Four Fractional Digits Need a Contract

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

smallmoney stores a bounded numeric amount with four fractional digits. These explicit conversions show retained and changed digits without making a financial storage recommendation.

Read More
Gouache painting: on a sewing table, a slate blue felt rectangle and a cream felt rectangle were overlapped by half and pinned

geometry STSymDifference: Keep the Parts Outside the Overlap

November 11, 2009
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function, SQL Scripts, SQL Server

geometry STSymDifference keeps points belonging to either input while excluding their shared portion. I use it when both sides’ exclusive regions matter. Directed subtraction would answer a different question about only one side.

Read More
Detailed painting of three matching cup-and-teapot pairs, one on a table, one in a wooden tray, and one on a fixed open shelf.

Derived Table, CTE or View: Choose the Scope

November 10, 2009
Pinal Dave
SQL Tips and Tricks
CTE, SQL Scripts, SQL Server, SQL Sub Query

A derived table, CTE and view can express the same grouped result while offering different scopes. Compare complete outputs with duplicates and NULLs, then choose a statement-local expression or a saved definition for the task.

Read More
Previous 1 … 351 352 353 354 355 356 357 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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