CLN: Use new raise syntax in io/sql
CLN: Use next function rather than next method.