sql server - Dependency Order of Circular Dependent tables -
i need find dependency hierarchy of tables in database. used 'sp_msdependency', system stored procedure. since of tables circularly depended, i'm not able correct hierarchy or order. there way crack issue correct dependency order?
to view objects on table depends select * sys.sql_expression_dependencies referenced_id = object_id(n'stock.bookdetails'); view objects depend on table select * sys.sql_expression_dependencies referencing_id = object_id(n'sales.pobooks');
Comments
Post a Comment