SDU Tools: CalculateTableLoadingOrder - follow table dependencies in T-SQL

added by DotNetKicks
4/18/2019 4:09:18 PM

1 Kicks, 176 Views

If there is a reasonable number of tables in a SQL Server database, and I've also got foreign keys linking them, it can be difficult to work out the order of the dependencies. That's a hassle when I want to load data, and for other admin functions that I might need to perform.