1. I have list of records(lets say 100) which I did extract using a SQL query from the database.
2. Some specific columns of each record should be given input to a stored procedure. The stored procedure returns three tables as the output.
3. I will have to catch only one of the table out of three and filter the columns data using another SQL query.
I do not understand why do you want to filter only one table from 3 returned by SP.
4. If the above filter condition is correct,I will save the column data(of step 1) in an excel.
5. I will have to repeat the process for all the 100 records and save the filtered data in an excel.
Sorry... Do you know how
Structured Query Langage[
^] works? There is no need to reapeat ptocess for all 100 records. SQL engine can compare all these 100 records. The result set can be saved to an Excel file.
What i suggest? Start with basics.
Here[
^] you'll find several tutorials.
For further information, please see:
Tutorial: Writing Transact-SQL Statements[
^]
Writing SQL Queries: Let's Start with the Basics[
^]
OLE DB Provider for Jet[
^]
Please, read above tutorials and come back here with detailed question.
Cheers!