Need to escape single quotes when storing sql statement