Solved

update systables

Posted on 2006-10-20
4
204 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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Query Missing Money orders... 6 70
Help in Understanding a SQL Query 7 28
Recurring Excel Timelime for Veeam 2 34
SQL JOIN 6 35
Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
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 the fundamental information of how to create a table.

757 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

17 Experts available now in Live!

Get 1:1 Help Now