SSP-1782
Sql server stuff