execute register sql