Inspired by this, Separate tag for [set-returning-functions]
We have another one that we may want to clean up, [aggregate]. This seems like it should be function-aggregate. As far as I know, nothing is an aggregate except for a function, it's also a lot harder to find like that.
> This article will certainly rank near (if not at) the top of my list of totally uninformed and misleading technology related writings I have ever read in the last 30 years.
Could not agree more. Except I haven't spent 30 years with reading tech articles yet.
@EvanCarroll I've seen more than one PhDs without any recognizable cleverness. Some of the totally undereducated neighbours on the wine hill (that's Hunglish, beware!) were much brighter than these.
@EvanCarroll the OP states in the answer to it that he was already producing enterprise systems in the 70's. Based on this, he should go back learning or just retire.
His audience can't be actual DBAs. He's talking to people who are coming into the industry and trying to learn and telling them that they don't have to because it's not the 1970s.
so, some third-party install has created a database with 18MB of data, in simple recovery model, and has blown up the log to 18GB so far. I'm thinking something is definitely not right. The transaction causing the log to grow just keeps doing the same thing over and over again. Must be an infinite loop. Gotta love vendor software.
Since ObjectID is an int, we can ignore the FLOORs. Then we can replace Object / 2 with an X. So now we get X - X / 2 * 2 = 1. Can this be true? Yes, it can. It'll be true when X is odd
@MaxVernon what @AndriyM said. In other words: Take ObjectID. Divide by 4 (integer division). If the remainder is 2 or 3, the result will be TRUE. If it is 0 or 1 it will be FALSE.