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 library card drawer pulled fully out with a single card standing up in it, photographed beside the end of a long shelf of books.

SQL SERVER – Index Seek Vs. Index Scan (Table Scan)

March 30, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Joins, SQL Scripts, SQL Server

Index Scan retrieves all the rows from the table. Index Seek retrieves selective rows from the table.

Read More
SQL SERVER - Difference between DISTINCT and GROUP BY - Distinct vs Group By

SQL SERVER – Difference between DISTINCT and GROUP BY – Distinct vs Group By

March 29, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Joins, SQL Scripts

What is the difference between DISTINCT and GROUP BY? They usually produce the same plan. Use GROUP BY for aggregates and DISTINCT to remove duplicates.

Read More
SQL SERVER - SQL Commandments - Suggestions, Tips, Tricks

SQL SERVER – SQL Commandments – Suggestions, Tips, Tricks

March 20, 2007
Pinal Dave
SQL Performance
Best Practices, Database, Software Development, SQL Backup and Restore, SQL Constraint and Keys, SQL DateTime, SQL Download, SQL Error Messages, SQL Function, SQL Index, SQL Joins, SQL Server DBCC, SQL Server Security, SQL Stored Procedure

My 20 SQL Commandments for SQL Server, rewritten from an Oracle article: know your data, test with realistic data, write identical statements, and more tips.

Read More
SQL SERVER - FIX : Error 15023: User already exists in current database.

SQL SERVER – FIX : Error 15023: User already exists in current database.

February 15, 2007
Pinal Dave
SQL Performance
DBA, SQL Cursor, SQL Download, SQL Error Messages, SQL Joins, SQL Scripts, SQL Server DBCC, SQL Server Security, SQL Stored Procedure

Error 15023: User already exists in current database. I fix it with sp_change_users_login, using Report, Auto_Fix or Update_One to link the user to a login.

Read More
SQL SERVER - Primary Key Constraints and Unique Key Constraints

SQL SERVER – Primary Key Constraints and Unique Key Constraints

February 5, 2007
Pinal Dave
SQL Performance
Database, Software Development, SQL Coding Standards, SQL Constraint and Keys, SQL Download, SQL Error Messages, SQL Index, SQL Joins, SQL Scripts, SQL Server Security

Primary Key and Unique Key both enforce uniqueness, but they differ in the index they create and in NULL handling. Here are the differences and the scripts.

Read More
A sunlit gouache workshop shows a localized repair within an otherwise orderly ceramic inlay panel.

SQL SERVER – ReIndexing Database Tables and Statistics with Targeted Maintenance

January 31, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Constraint and Keys, SQL Cursor, SQL Index, SQL Joins, SQL Scripts, SQL Server DBCC, SQL Stored Procedure

ReIndexing Database tables starts with a measured maintenance need. I check the workload before choosing an index operation.

Read More
Previous 1 … 18 19 20 21
  • Books
  • Testimonials
  • Privacy Policy

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