I created a procedure successfully but I have an issue on using parameter while executing the procedure
CREATE PROCEDURE TestProc 
     @table varchar(200)    
AS   
     UPDATE [test].[dbo].[@table]           
     SET [Column 9] = [Column 10]
     WHERE [Column 9] = 'Example1' 
        OR [Column 9] = 'Example2'     
GO
When the procedure is executed like this
EXEC TestProc @table= '2015-07'
I want to update the table [test].[dbo].[2015-07].
Does anyone have an idea how to solve this?