Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tempdb permission removed on reboot?

Status
Not open for further replies.

gcole

Programmer
Aug 2, 2000
390
US
I have given a user db_owner rights to tempdb. The rights are removed when the server is rebooted. It appears they have been removed at other times as well. Any idea how to make them 'stick' and why they are rempved?
 
tempdb is rebuilt from 'scratch' every time SQL Server is restarted.

It rebuilds it based on Model. You could try giving the person permission to Model and Tempdb, stopping SQL Server and restarting it, then seeing if they still have permissions to tempdb. But why are you allowing users to do things in tempdb? It's just what it's named - a temporary database. Users should be creating or using their own database(s).

-SQLBill
 
We are using microsofts State Server to manage our session state in .Net. The user needs rights to create temp tables in tempdb.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top