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 Extension

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

May 5, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, Undocumented SQL

Two more ways from Simon Worth to find table in every database of SQL Server, both built on sp_msforeachdb, one saving results to a temp table.

Read More
A curved brass strip over a straight ivory bar between dark wooden end blocks, beside two ochre stones.

ACOS: Check the Cosine Domain Before Calculating Angles

May 4, 2008
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL Server

ACOS calculates an angle from a supported cosine ratio. Keep invalid and missing inputs visible while displaying valid radians at a chosen scale.

Read More
Five rectangular ceramic dishes tied with a sage ribbon on a wooden shelf.

PERCENT_RANK Versus CUME_DIST: What Ties Change

May 3, 2008
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Server

PERCENT_RANK versus CUME_DIST answers different ranking questions. Keep peers intact and compare missing scores and singleton groups.

Read More
A damaged cream pottery bowl and its detached rim fragment sit beside an intact empty bowl on a worktable.

NOT and NULL: Unknown Does Not Become True

May 2, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

NOT and NULL do not create a complete two-way classification. State whether missing values belong in a filter or a separate reporting category.

Read More
Hands finishing a small, neat fishing fly at a vise, with unused feathers pushed aside in a tray.

Writing a Good Technical Blog Post

May 1, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Blogging, SQL Documentation, SQL Server

A technical blog post works when it solves one problem with tested code, clear assumptions, a readable result, and honest limits.

Read More
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
Previous 1 … 508 509 510 511 512 513 514 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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