... suggests the following (or at least the idea of):
SELECT *
INTO #MyTempTable
FROM @GivenTable
If @GivenTable is a parameter then the above will simply return an error. Also, if it was this easy, ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.