Solved

update systables

Posted on 2006-10-20
4
205 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

930 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

21 Experts available now in Live!

Get 1:1 Help Now