chang sql dialog