The slide deck from my WordCamp Maine 2016 talk on WordPress security. Note: Only fools heed the advice of context-less slides found on the Internet.
Finally, a place where you can see the correct configuration for using SQL Server stored procedures as an NLog target.
If you find yourself using NULL MySQL database columns, you're trading at-best minuscule performance boosts for a litany of trouble from bad design.
Sanitize and normalize those inputs; grant and use the bare minimal permissions needed for a task.