use using and pool to access sql