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
A sandcastle at the water's edge with a spade and red bucket beside it as the first wave fills its moat.

A Throwaway Virtual Machine for SQL Server Testing

December 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Installation, Testing, Virtualization

Use a Throwaway Virtual Machine to test SQL Server setup, patches, and failures with snapshots and safe rollback away from shared servers.

Read More
SQL SERVER - Generic Architecture Image

SQL SERVER – Generic Architecture Image

December 8, 2007
Pinal Dave
SQL Tips and Tricks
Data Warehousing, Database, Software Development, SQL Server, SQL Server Architecture

A Generic Architecture image of SQL Server I found on Wikipedia, with a short note on physical storage in MDF and LDF files and how data is grouped logically.

Read More
Two gravel approaches converge around a planted garden bed and continue as one path toward a blue courtyard door

OR in a JOIN: Preserve Matching Pairs When Rewriting

December 3, 2007
Pinal Dave
SQL Tips and Tricks
Developer, SQL Scripts, SQL Server

OR in a JOIN matches either key while returning each pair once. Compare NULL cases and pair counts before rewriting. Measure the actual plan only after proving the results.

Read More
A small wooden organizer separates blank index cards into several tidy compartments.

Finding the Right System View for the Question You Have

November 30, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Choose SQL Server system views by the question they answer, distinguish catalog metadata from runtime counters, and understand reset boundaries.

Read More
Two wicker baskets hold cream and blue twine balls beside an empty basket and a small shared tray.

AND and OR: Parentheses Make Predicate Precedence Clear

November 29, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

AND and OR predicates need explicit grouping. Use a complete small truth table to expose which alternatives share a common requirement.

Read More
A narrow footbridge with one walker crossing and two waiting on the bank, a wider stone bridge further downstream

SQLite or SQL Server Express for a Small App

November 25, 2007
Pinal Dave
SQL Tips and Tricks
Developer, SQL Backup and Restore, SQL Server, SQL Server Express

SQLite or SQL Server Express depends on write concurrency, deployment, backup, and the growth path your small application really needs.

Read More
Two wooden trays of blue and pale stones, with one loose blue stone between them.

Multiset Intersection: Keep the Matching Duplicate Occurrences

November 24, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

Multiset intersection keeps the duplicate count shared by both inputs rather than returning each common value once. I pair numbered occurrences to express that requirement. The result should contain the smaller count for each equivalent value.

Read More
Previous 1 … 395 396 397 398 399 400 401 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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