dbTalk Databases Forums  

owner of a temp table

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss owner of a temp table in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dlukac@gmail.com
 
Posts: n/a

Default owner of a temp table - 04-05-2005 , 01:00 PM






is there a way to query the system table in SQL Server to determine the
owner of a temp table? I doubt this is possible because it seems as
though everyone is aliased as db_owner.


Reply With Quote
  #2  
Old   
Simon Hayes
 
Posts: n/a

Default Re: owner of a temp table - 04-05-2005 , 04:03 PM







<dlukac (AT) gmail (DOT) com> wrote

Quote:
is there a way to query the system table in SQL Server to determine the
owner of a temp table? I doubt this is possible because it seems as
though everyone is aliased as db_owner.

I'm not sure what you mean - a temp table is unique in the session that
created it, regardless of owner, login or user name (unless it's a global
temp table, of course). Perhaps you can explain what problem you're trying
to solve, or what your aim is?

Simon




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.