db-procedures-iot