try write sql to excel