myLittleTools Community Forum
»
myLittleAdmin For SQL Server (2005, 2008, 2012)
»
Support Queries
»
temp tables not working
|
Rank: Member Groups: Member
Joined: 6/11/2007 Posts: 12 Points: 9 Location: Kalamazoo,MI-USA
|
I get an error when i execute below query in query editor(error: #temp does not exist)
select * into #temp from tab1
select top 2 * from #temp
|
|
Rank: Administration Groups: Administration
Joined: 9/11/2006 Posts: 605 Points: 649 Location: Enghien Les Bains, France
|
try Code:select * into #temp from company go select top 2 * from #temp go It works.
|
|
Guest |
myLittleTools Community Forum
»
myLittleAdmin For SQL Server (2005, 2008, 2012)
»
Support Queries
»
temp tables not working
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
|
Main Forum RSS :
Theme created by myLittleTools
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.