Resource allocation SQL changes.