Hi KGANESH2006 !!
in this case you need to create dynamic string for query .
.when you passe tablename in storedprocedure you need to append it into the query string in SP, then use exec(stringSql) method in order to execute the dynamic build query named stringSql
Hope this will help you
Cheers :)
vinod
|