Implications of an incorrectly modified master database

Posted on 2011-10-11
Medium Priority
Last Modified: 2012-05-12
I was recently given a sql script to setup a database on my sql server. The owner of the script didn't mention that I needed to create a blank db named 'xdb' before running the script.
I ran the script, and it seems to modify the master db, as there was no xdb.
Now, my master db consists of all kinds of tables and views that should be in xdb.
What are the implications? I know that master is required to start sql, so should I restore from backup right away?
Question by:sherryfitzgroup
LVL 15

Assisted Solution

AmmarR earned 400 total points
ID: 36947597

adding tables to master DB wont effect it,

just go in a delete them

you will find them under master as normal tables

Accepted Solution

sachinpatil10d earned 800 total points
ID: 36947854
Below select query will give list all the tables, store procedures, functions, constraints

select * from sys.objects where is_ms_shipped =0

Open in new window


Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

840 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