What’s the use case of disabling an index?

September 25, 2022 Andy 0

Question I just learned that indexes can be disabled on a table. Even the clustered index can be disabled. After that, users can’t access the index or the data if clustered index. When will we disable an index? I just don’t understand the use case. … [Read More]

snapshot replication – corrupted BCP files

August 18, 2022 Andy 0

Question Each night my SQLServer replication failed on a big table with the following error. It is failing on a different table each night but always on a relatively big table ( > 200,000 rows) The process could not bulk copy into table ‘"dbo"."Table01"’. (Source: … [Read More]

A black dog sits outside on a blue bed. Her golden eyes are looking directly at the camera. She wears a rainbow kerchief around her neck, with the words "I bark at bigots" emblazoned on it

Publishing a Code of Conduct isn’t enough

July 13, 2022 Andy 1

I’ve seen more and more events & communities adopt Codes of Conduct. Even local events, local user groups, and smaller online communities are adopting Codes of Conduct. That’s GREAT! …but it’s just a great start. It’s not that easy. Discoverability The issue of discoverability is … [Read More]

Temporarily turn on Cascade Delete

April 20, 2022 Andy 0

Question This has probably been asked before, but I couldn’t find the answer. I have a complex datamodel in sql-server-20XX (more likely to be something old) in which cascade delete has been turned off (by design). A large chunk of our database has been sold … [Read More]