I wish to make an application in Visual C++ that can consult a SQL SERVER database (tables and Views).

I have found an example how to make one that links a redorset to a table but I havent found anything considering Views or SQL querys.

Can anyone indicate me some links for examples da manage stored Views or execute sql querys?

Thanks in advance.