[SQL] Minor cleanup of comments, errors and override.