How to pass the name of the table as a parameter into a store procedure so that the Select statement can be run from this table?

Thanks.