BUG: Creating Temp Table in SEM Causes Error 208ID: Q141974
|
Creating a temporary table outside a stored procedure will generate the
following message:
Error 208: Invalid Object Name '<temp table>'
Use a query window to execute scripts containing temporary tables created outside stored procedures.
Microsoft has confirmed this to be a problem in Microsoft SQL Server 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
The following three scenarios define the problem"
create table #t1(a int)
go
create procedure test as
select * from #t1
go
Error 208: Invalid Object Name '#t1'
create table #t2(a int)
go
create procedure test as
select * from #t1
go
create procedure test as
select * from #t1
go
create table #t1(a int)
go
Additional query words: sql6 winnt sem sproc
Keywords : kbprg SSrvEntMan SSrvStProc kbbug6.00
Version : 6.0
Platform : WINDOWS
Issue type :
Last Reviewed: March 23, 1999