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 - Tracking Database Dependencies

SQL SERVER – Tracking Database Dependencies

July 19, 2016
Pinal Dave
SQL Tips and Tricks
ApexSQL, SQL Dependency, SQL Server

Before changing a column, you need to know what depends on it. Here is how tracking database dependencies works with ApexSQL Clean.

Read More
A power strip under a table with cables to a lamp, a radio and a kettle, one cord vanishing through the floor.

Finding What Depends on a Table

January 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Server, SQL Stored Procedure, SQL System Table

Finding What depends on a table starts with sys.dm_sql_referencing_entities, then checks cross-database code and dynamic SQL.

Read More
A fingertip touching one strand of a dewy spider web in a garden, drops trembling across the whole web

Finding Every Object That Uses a Column

December 11, 2010
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Dependency, SQL Server, SQL System Table

Find an object that uses a column with dependency metadata and module text search, then check dynamic SQL and application code.

Read More
SQL SERVER - Get the List of Object Dependencies - sp_depends and information_schema.routines

SQL SERVER – Get the List of Object Dependencies – sp_depends and information_schema.routines

February 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Scripts, SQL Server, SQL Server Security, SQL System Table

sp_depends can return wrong dependency results where information_schema.routines gets it right. See where it fails and the DMVs recommended in its place.

Read More
  • Books
  • Testimonials
  • Privacy Policy

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