Basically I want to do a innerjoin on "datatable1" which is on the webserver cache to that of another "datatable2" stored in database.
I have 2 ways for this 1. I can bring "datatable2" to webserver cache and write a join logic. However this will be very costly and is ruled out. 2. Send "datatable1" to database and do a inner join there and get the result back to web server.
So I need to send this datatable1 as a parameter to stored procedure. I want to avoid looping through this table as this table can be very big.