final sql commit