How can I include a sql library or "sql.h"?

Every time I have managed to import an sql library or tried to import the windows “sql.h”. I always get error MSB7073 which is an error in the Microsoft.MakeFile. I have included libraries using

    PrivateIncludePaths.Add(Path to include directory);
    PublicAdditionalLibraries.Add(Path to lib);

And it builds until I try and access a class from the using directory in code.
How do I properly setup libraries and unreal because I can’t seem to get it to build when I do.

Here tutorial how to add extra liberies to project: