Unfortunately I can't release this DB. I forgot to mention also, When I run the query, I would like the new table to be created in a different database.
I tried using the 2nd code you posted, but it would not work.. I received an error message saying, "Query input must contain at least one...