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 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
SQL SERVER - Correct Syntax for Stored Procedure SP

SQL SERVER – Correct Syntax for Stored Procedure SP

November 28, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

What is the correct syntax for stored procedure code? Anything between BEGIN and END is part of the procedure, and anything after GO is not, as my examples show.

Read More
SQL SERVER - 2005 - List All Stored Procedure in Database

SQL SERVER – 2005 – List All Stored Procedure in Database

November 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

Want to see all stored procedure in database at once? Run SELECT * FROM sys.procedures. This simple query works only with SQL Server 2005.

Read More
SQL SERVER - Rules of Third Normal Form and Normalization Advantage - 3NF

SQL SERVER – Rules of Third Normal Form and Normalization Advantage – 3NF

November 26, 2007
Pinal Dave
SQL Interview Questions and Answers
Data Warehousing, Database, DBA

What is Third Normal Form and what is its advantage? I ask this in every interview I take. Here are the rules of 3NF and its cost in performance.

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 … 783 784 785 786 787 788 789 … 842 Next
  • Books
  • Testimonials
  • Privacy Policy

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