About 14,400,000 results
Open links in new tab
  1. How to find all the dependencies of a table in sql server

    Feb 25, 2014 · The following are the ways we can use to check the dependencies: Method 1: Using sp_depends. sp_depends 'dbo.First' GO Method 2: Using information_schema.routines. SELECT * FROM information_schema.routines ISR WHERE CHARINDEX('dbo.First', ISR.ROUTINE_DEFINITION) > 0 GO Method 3: Using DMV sys.dm_sql_referencing_entities

  2. Check the Dependencies of a Table in SQL Server

    Jun 21, 2024 · Follow the steps below, to check dependencies of a table using SQL Server Management Studio. Step-1: Expand Database, Expand Tables, Right click on the table name. Step-2: Click on View Dependencies. We can also check table dependencies in …

  3. View the dependencies of a table - SQL Server | Microsoft Learn

    Feb 4, 2025 · You can view a table's dependencies in SQL Server Database Engine, using SQL Server Management Studio or Transact-SQL. Permissions Requires VIEW DEFINITION permission on the database and SELECT permission on …

  4. SQLServer - How to find dependent tables on my table?

    In SQL server management studio, you can right click your table in the object explorer, and then select 'View Dependencies'. This will open a new window in which you can see all other objects (not just tables) that depend on your table, and on which your table depends.

  5. Different Ways to Find SQL Server Object Dependencies

    Jul 16, 2013 · In this tip, there are several methods to list object dependencies that were used in previous versions of SQL Server. Another great tip explains how to use the latest dynamic management views (sys.dm_sql_referenced_entities and sys.dm_sql_referencing_entities) and catalog view (sys.sql_expression_dependencies).

  6. sql server - Find Column dependency - Stack Overflow

    Aug 2, 2012 · Find specific column dependencies. SELECT OBJECT_NAME(referencing_id), referenced_database_name, referenced_schema_name, referenced_entity_name FROM sys.sql_expression_dependencies WHERE OBJECT_NAME(referenced_id) = 'table_name' AND OBJECT_DEFINITION(referencing_id) LIKE '%field_name%';

  7. How do You Identify Object Dependencies in SQL Server

    Aug 14, 2020 · There are several methods of getting this information. The first approach would be to use the SQL Server Management tools. In SSMS, right click on the table name and select “View Dependencies” as shown below we are looking at dependencies for the Employee table.

  8. How to Find Table Dependencies in SQL Server

    Nov 4, 2024 · In this article, I’ll walk you through all the approaches to finding table dependencies in SQL Server. This is one of the simple methods to find dependencies of a table in sql server. Follow the below steps. 1. Connect to SQL Server Management Studio (SSMS). 2. …

  9. How to find all the dependencies of a table in SQL Server

    Mar 14, 2025 · Here’s a guide to finding all the dependencies of a table in SQL Server, including child tables that refer to the parent table. Method 1: Using sp_depends. SQL Server provides a system stored procedure called sp_depends that helps identify dependencies related to a specific object, such as a table. This includes views, stored procedures, and ...

  10. Find the Dependencies of a Table in SQL Server - Tutorial Gateway

    In this article, we show How to find the Dependencies of a Table in SQL Server using Management Studio, and transact Query with an example.

  11. Some results have been removed
Refresh