I kinda slapped one together but idk if it actually works.
https://github.com/adamdruppe/arsddatabase.d and mssql.d from that repo. I haven't even tried to compile it for a while though, so it might not work at all.
The way I made it was to write the extern(C) function declarations and then call it like in C.