Database Connection Table Writer (legacy)