prettitoni
Programmer
Is there a way to pass a parameter into the query of a SP for the table name?
If you send in "Table1", the query is:
SELECT * FROM Table1
and if you pass in Table2, the same query becomes:
SELECT * FROM TABLE2
If you send in "Table1", the query is:
SELECT * FROM Table1
and if you pass in Table2, the same query becomes:
SELECT * FROM TABLE2