I can't say for certain, but as it was microscopic (less than 400 bytes) I would say almost certainly in Assembler. Anything else I can think of that would attack MS SQL Server machines would be much more bloated.
If you cannot do someone any good: don't do them any harm....
As long as you did this to one of these, the least of my little ones............you did it unto Me.
What profiteth a man if he gains the entire World at the expense of his immortal soul?