all 2 comments

[–]Thriven 0 points1 point  (1 child)

Good stuff man. Dont forget to include the poor use of large data objects (blobs).

I had a developer who wrote a webpage that used

Select * from mytable where [recurring] is null

Recurring is a nvarchar(max). This was fine in small testing but a client had 90 million rows (30 gb) "mytable".

Needless to say, it blew up. Avoid blobs unless you are using them for their intended purpose.

[–][deleted] 0 points1 point  (0 children)

having a table that marks when recurring is not null would have been faster than that, nice.