eval sql logged in debug mode