Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 connection session

Author  Topic 

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2010-01-13 : 10:28:40
The UI application is using a single login for all the users to log into the database to query data...
There is a stored procedure which creates a temp table for data manipulation.
If there are multiple users running this stored procedure, then does a separate temp table get created for each user? remember that they are all logged in to the system using a single login.
Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-01-13 : 10:34:33
yup. the scope of # tables is for connection and each user will have separate connection. so unless you use ## table (global temp table) it wont be a problem
Go to Top of Page

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2010-01-13 : 10:42:30
thanks
Go to Top of Page
   

- Advertisement -