T-SQL script to find hierarchy of tables – Columnar result

One of my LinkedIn connection reached out to me for help, to find the hierarchy of all the tables in a database. He was in dire need of some help, since there are around 250 tables in his database, and he need to write delete script to delete data requested by his team. As we … Continue reading T-SQL script to find hierarchy of tables – Columnar result