When deleting a financial statement style, if that style is used in a Report Automation Template, then an error will appear that relays a SQL error, but is ultimately caused by that.
On attempting to delete a financial statement style, it should automatically be removed from the report automation templates.