More SQL Scripts GP and DLog related