DB-Library for C is an application programming interface (API) consisting of C functions and macros that allow an application to interact with Microsoft® SQL Server™. Included are functions that send Transact-SQL statements to SQL Server and functions that process the results of those statements.