I have a simple requirement .
I need to run a query on sql server studio
How can I use an input variable to declare the Tablename I query
I was looking something like select * from @MyTable
But looks like this is not possible (Sql Injection?) , Is there any alternative?