Solved

update systables

Posted on 2006-10-20
4
206 Views
Last Modified: 2008-02-01
I know it is not recommened but how do i update the sysdatabases table?

I detached my tempdb and i need to add it back into that table.

I have tried everything.

I am using sql server 2005.

thanks
0
Comment
Question by:DJMoonLight
4 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 250 total points
ID: 17779184
Before you try to update the sysdatabase table directly (REALLY ill advised) let's try work through this in http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_22032679.html 
0
 
LVL 75

Assisted Solution

by:Aneesh Retnakaran
Aneesh Retnakaran earned 250 total points
ID: 17779574
DJMoonLight,
> I detached my tempdb and i need to add it back into that table.
there is no need to reattach the temp db, tempdb will be created automatically with each restart of the sql server service
:)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

813 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

15 Experts available now in Live!

Get 1:1 Help Now