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 3

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

May 16, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure, SQL Utility

Part 3 of Find Table in Every Database: Greg Steinkuhler shares a stored procedure that also searches servers across the network, where sp_msforeachdb could not.

Read More
SQL SERVER - Orphaned MS DTC Transaction Information

SQL SERVER – Orphaned MS DTC Transaction Information

May 14, 2008
Pinal Dave
SQL Performance
SQL Error Messages, SQL Scripts

An orphaned MS DTC transaction kept crashing our IIS application pool. A quick script on sys.syslockinfo shows if you have one, and a Microsoft hotfix solved it.

Read More
SQL SERVER - Function Property - Deterministic or Non-Deterministic

SQL SERVER – Function Property – Deterministic or Non-Deterministic

May 10, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

How do you tell if a user defined function is deterministic or non-deterministic? One OBJECTPROPERTY call with IsDeterministic gives you the answer.

Read More
SQL SERVER - 2005 - Find Tables With Foreign Key Constraint in Database - Part 2

SQL SERVER – 2005 – Find Tables With Foreign Key Constraint in Database – Part 2

May 8, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL System Table

Joffery improved my script to find tables with foreign key constraint in a database, adding the ON UPDATE and ON DELETE rules and a little ordering.

Read More
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
SQL SERVER - 2000 - SQL SERVER - Delete Duplicate Records - Rows - Readers Contribution

SQL SERVER – 2000 – SQL SERVER – Delete Duplicate Records – Rows – Readers Contribution

May 4, 2008
Pinal Dave
SQL Performance
SQL Joins, SQL Scripts, SQL Server

A reader asked how to Delete Duplicate Records in SQL Server 2000, and another reader answered with a quick SET ROWCOUNT script. Both, side by side.

Read More
SQL SERVER - How to Rename Database Objects to Comply With Naming Conventions

SQL SERVER – How to Rename Database Objects to Comply With Naming Conventions

May 2, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Stored Procedure

Christopher Miller shares a T-SQL script that renames default constraints to match his team’s naming conventions, cleaning up names that slipped through.

Read More
Previous 1 … 289 290 291 292 293 294 295 … 336 Next
  • Books
  • Testimonials
  • Privacy Policy

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