PLAT-5034 - Ensure main code runs without SQL server dependency

See 022f8f4114d9659427111534b2d8bfc3279c4269