Laying foundation for mssql request