I am dynamically generating an insert query. i.e. at run-time, I will come to know which table is going to be used and which fields of the table are going to be used in the query. I want to execute this query using stored procedure. So how can I create a stored procedure that can accept parameters like tablename,field names and values of fields at run-time.
Start Free Trial