Solved

How can you view a # table in SQL Server 2005?

Posted on 2007-03-30
4
200 Views
Last Modified: 2007-04-02
How can you view a # table in SQL Server 2005?
0
Comment
Question by:fsuedu
4 Comments
 
LVL 20

Expert Comment

by:Sirees
ID: 18825806
You can view using Microsoft SQL Server Mangement studio.

Do you have SQL Server 2005 client tools installed?
0
 
LVL 42

Accepted Solution

by:
dqmq earned 500 total points
ID: 18825843
Or just
Select * from #tablename

But it can only be viewed by the user and session that created it!  Use ##table for a temp table that can be viewed by someone else.
0
 

Author Comment

by:fsuedu
ID: 18825846
Thanks where would I see SQL Server 2005 client tools installed?


JK
0
 
LVL 4

Expert Comment

by:eozz_2000
ID: 18827155
dgmg is fully right, you can only view the # temp tables when you don't close the connection that create it, with ## temp tables any user could see and change it
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now