How many foreign key references can you have on a single table? I said 253 at SQLPASS, but my answer was not complete. Here is the full answer.
Finding Orphaned Child Rows Before Adding a Foreign Key
Find orphaned child rows before adding a foreign key, review their business meaning, validate relationships, and confirm constraint trust.
Does Dropping Primary Key Drop Non-Clustered Index on the Column? – Interview Question of the Week #085
Does dropping a primary key also drop the Non-Clustered Index on that column? An interview question with a small repro script to see the answer.
Database Sharding – How to Identify a Shard Key?
Picking the shard key is the hardest part of Database Sharding. Here are the guiding principles I shared at a user group for choosing a good one.
How to Drop Clustered Index on Primary Key Column? – Interview Question of the Week #084
DROP INDEX fails with Msg 3723 on a primary key. Here is how to drop clustered index on a primary key column the right way, through the constraint.






