Redirect to SQLError
Revert "Redirect to SQLError"

This reverts commit f525aa6467be0694b390bc01f5ee085beadcdc1c.