Solved

Restore VIEWs to a new server?

Posted on 2014-09-15
2
227 Views
Last Modified: 2014-09-16
We have a SQL Server 2000, it has a database that we will restore to SQL Server 2008 R2.
We have created a couple of VIEWs against some tables in this database.

I am wondering after I restore the database to SQL Server 2008 R2, will the VIEWs be also restored? If not, how can I make the VIEWs showing up in SQL Server 2008 R2 without re-creating them manually?

Thanks in advance!
0
Comment
Question by:techcity
2 Comments
 
LVL 13

Accepted Solution

by:
Russell Fox earned 500 total points
ID: 40324086
The views are database objects, so they should also restore. You should test them, however, just in case something has broken between 2000 and 2008.
0
 
LVL 1

Author Closing Comment

by:techcity
ID: 40326273
Yes, I saw the views after restoration!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
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.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

685 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