C++ links SQL Server, using SQL statements to query the contents of the database