I\'ve got a logger that records exception information for our in house applications.
When we log SQL exceptions it\'d be super useful if we could see the actual quer
You can NOT throw a sql exception. I think he meant to throw a new Exception that contains the command.CommandText.