Pretty fundamental stuff.

I am using VS 2005, .NET, Vista, SQL 2005, VC++.

The VC++ I understand fairly well.

The rest, not so much.

So I have vs2005 project/ clr/ sql server project.

I have the C++ code to accept input from an application.

Now I need to read data from the SQL database, of which this routine is an extended stored procedure. The data is needed to verify the parameters passed in to the routine.

So..... how do I read SQL existing records from within the C++ extended stored procedure what function calls must be used