Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2005, 11:52 PM
Authorized User
 
Join Date: Jun 2005
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to aldwinenriquez
Default tempdb problem

We have problems with our tempdb.Whenever we start query analyzer we noticed that tempdb contains tables and stored from our database.

We have two separate scripts for my database but after we ran the first scripts every entities and sprocs on the second script were already present in the database we just created.

Cud these be the problem with the tempdb?
We also noticed that the master database contains those entities.

How could this happen?


Aldwin Enriquez
"Dont you ever give up!"
__________________
\"Dont you ever give up!\"
 
Old December 14th, 2005, 07:11 PM
Authorized User
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi aldwinenriquez,

The problem is not with the tempdb database but with your model database. Check your model database and see if the tables you are referring to are there. What happens is that everytime you restart SQL Server, it recreates the tempdb database and bases its structure from the structure of model database.

Hope this helps.

SQL Server Helper
http://www.sql-server-helper.com
 
Old December 21st, 2005, 04:24 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

The tempdb is also going to be mirroring things that are happening on every database. You can ignore that activity.


mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Tempdb is full koushikroy2001 SQL Server 2000 0 August 5th, 2005 05:42 AM
VB.Net -> Filename -> DTS Package -> tempdB daniel Pro VB.NET 2002/2003 1 October 7th, 2004 01:46 PM
Move SQL TempDB Database ritag SQL Server 2000 2 March 31st, 2004 01:48 PM
TempDB Size factor - Cleanup procedure happygv SQL Server 2000 5 October 7th, 2003 03:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.