English 中文(简体)
How do I copy a database in SQL Server 2000?
原标题:

How do I create a new database that is an exact copy of an existing one in SQL Server 2000?

For example, I have an existing database DB1. I wish to create a new database named DB2 that is the exact copy of the old database DB1.

How can I achieve this?

问题回答
  • Backup the database DB1.
  • Create a new database DB2
  • Restore the backup of database DB1 in the new database DB2




相关问题
Big Table Advice (SQL Server)

I m experiencing massive slowness when accessing one of my tables and I need some re-factoring advice. Sorry if this is not the correct area for this sort of thing. I m working on a project that aims ...

How do I define a work week in SQL Server 2000?

I need to split a report by work week, and our work week is Saturday through Friday. How would I convert an ISO week from DATEPART(WW, ) into a work week?

SQL Sever Management Studio for SQL Server 2000

We use mostly SQL Server 2005 but have a few SQL Server 2000 servers laying around. Is there a SQL Server Management Studio like application for SQL Server 2000? Thank you.

Sql server 2005 on sql server 2000

I want to ask is there any issues or risks involved in installation of SQL Server 2005 Enterprise Edition on SQL Server 2000 Enterprise Edition in production server? Please tell me the guidelines ...

LINQ, Skip, OrderBy, and SQL Server 2000

I m accessing a data context object that is auto-generated by using LINQ to SQL. The SQL database is a SQL Server 2000 box. The class I m working with is a SQL View. I have a statement that is similar ...

Select Top 5 records of every employee in SQL Server

I have the following issue, I have this query that select the latest 5 records created for an employee: SELECT TOP 5 p.value, p.record_date AS FECHA FROM employee_loan_movements p ...

热门标签