fix single quotes issue in deployment for SQL2005+ dbgateway