add connection with sql server for 2 queries