I run a statement SELECT INTOlike this, so I can manipulate the data before finally dropping the table.
SELECT colA, colB, colC INTO
However, when I run the statement, and then, without discarding the newly created table, I run any of the following statements: the table was not found? Even scanning through the object explorer I do not see. Where should I look?
SELECT [name] FROM sysobjects WHERE [name] = N'#preop'
SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = '#preop'
source
share