Database script creation utilities