Database execute each