Added error box to SQL module to improve feedback to users/developers

Hi Joe,

This is my first pull request to add the feedback error box to the SQL module.

Best,

Peter