Finalise sqlserver adapter