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
SQL SERVER - Find Table in Every Database of SQL Server - Part 2

SQL SERVER – Find Table in Every Database of SQL Server – Part 2

April 30, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

Part 2 of how to find a table in every database of SQL Server: this stored procedure loops through sys.databases and reads the Information_Schema view.

Read More
SQL SERVER - Find Table in Every Database of SQL Server

SQL SERVER – Find Table in Every Database of SQL Server

April 29, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

sys.tables only searches one database. My quick stored procedure finds a table in every database on the server and returns database, schema and table name.

Read More
SQL SERVER - Download FAQ Sheet - SQL Server in One Page

SQL SERVER – Download FAQ Sheet – SQL Server in One Page

April 28, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Cheatsheet, Database, DBA, Software Development, SQL Download

Readers asked for one page listing SQL Server FAQs, so I made a FAQ Sheet in PDF format with the daily used details. Download it and tell me what to add.

Read More
SQL SERVER - Query Analyzer Shortcuts - Part 2

SQL SERVER – Query Analyzer Shortcuts – Part 2

April 27, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Shortcut

Praveen Barath replied to my Query Analyzer Shortcuts post, explaining why SSMS in SQL Server 2005 feels slower and why its features are worth learning.

Read More
SQL SERVER - Optimization Rules of Thumb - Best Practices - Reader's Article

SQL SERVER – Optimization Rules of Thumb – Best Practices – Reader’s Article

April 26, 2008
Pinal Dave
SQL Performance
Best Practices, Database

Reader Praveen Barath adds his own query optimization tips to my rules of thumb: tune only working code, write repeated statements identically and more.

Read More
SQL SERVER - Optimization Rules of Thumb - Best Practices

SQL SERVER – Optimization Rules of Thumb – Best Practices

April 25, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index

My optimization rules of thumb for a slow running query: read the query plan first, turn scans into seeks, fix bookmark lookups with a covering index and more.

Read More
SQLAuthority News - Authors Personal Bookmarks

SQLAuthority News – Authors Personal Bookmarks

April 25, 2008
Pinal Dave
SQLAuthority News
Database, DBA, SQL Download

I reorganized my personal bookmarks into two lists: SQLAuthority best articles and SQLAuthority favorite articles. Take a look and tell me what you think.

Read More
SQLAuthority News - Download Microsoft Office Visio 2007 Professional SQL Server Add-In

SQLAuthority News – Download Microsoft Office Visio 2007 Professional SQL Server Add-In

April 24, 2008
Pinal Dave
SQLAuthority News
SQL Documentation, SQL Download

Microsoft’s Visio 2007 Professional SQL Server Add-In lets IT admins map SQL Server installs with configuration data, so setup needs less back and forth.

Read More
LEFT OUTER JOIN - WHERE NULL.

SQL SERVER – Converting Subqueries to Joins

April 23, 2008
Pinal Dave
SQL Performance
SQL Joins, SQL Performance, SQL Scripts, SQL Server

Developers often write subqueries where Joins would do, or the other way around. A short note on converting between the two, with links to my earlier examples.

Read More
SQL SERVER - Join Better Performance - LEFT JOIN or NOT IN?

SQL SERVER – Join Better Performance – LEFT JOIN or NOT IN?

April 22, 2008
Pinal Dave
SQL Performance
SQL Joins, SQL Scripts, SQL Server

LEFT JOIN or NOT IN: which one gives Join Better Performance? It depends on the data. Compare the two queries and their execution plans on AdventureWorks.

Read More
Previous 1 … 529 530 531 532 533 534 535 … 587 Next
  • Books
  • Testimonials
  • Privacy Policy

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