由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Re: How to migrate a database from one sql server to another?
相关主题
SQL SERVER 2K 移植问题问个SQL Server version的问题
有考SQL 2008 70-433认证得吗请教一下一个关于SQL SERVER非常基本的问题
怎么移植一个SQL server数据库SQLserver 的developer edition是啥意思
How to migrate a database from one sql server to another?MS ACCESS有考试证书吗?
Re: Is there any easy way to truncate the LDF file of SQL SERVER?有人用ms sqlserver来搭自己的网站的吗?
SQL SERVER 2012的认证改了求助很大的sql文件的读取问题!(我不知道怎么check包子,有的话全部分发)
又开始认证了SQL 2012我也去考了SQL Server的证了
是学Oracle还是SQL server?弱问一下, Oracle和SQL SERVER有什么区别
相关话题的讨论汇总
话题: server话题: sql话题: migrate话题: database话题: another
进入Database版参与讨论
1 (共1页)
a*****a
发帖数: 438
1
DTS (Start->Program Files->SQLServer->DTS)
c******n
发帖数: 6
2
My SQL Server (not Enterprise Edition) has no DTS option, what is that?

domain
The

【在 a*****a 的大作中提到】
: DTS (Start->Program Files->SQLServer->DTS)
y***e
发帖数: 39
3
To register SQL Server B in Enterprise Manager, right click "SQL Server Group"
and click "Register Sql Server..." (cannot remember exact name.)
To back up the database, an easy way is use stored procedures:
sp_dttach_db [dbname]
sp_attach_db [dbname] [filename]
if you don't have active connection on A, you can just find the [dbname].MDF
file and copy it to server A and use sp_attach_db directly. This skips the log
file of course. For details, check out these two commands in Books Online.
Another

【在 c******n 的大作中提到】
: My SQL Server (not Enterprise Edition) has no DTS option, what is that?
:
: domain
: The

d******o
发帖数: 115
4
Remember, you need to redo all your logins too. You need to go to the new
server B, in your attached databases, drop all the old users, create new
logins, and assign them to the databases.
If you don't copy log file, you have to use sp_detach_db to deatch it first.
David Gao
MCSE, MCDBA

Group"
log
problem
B.
B.

【在 y***e 的大作中提到】
: To register SQL Server B in Enterprise Manager, right click "SQL Server Group"
: and click "Register Sql Server..." (cannot remember exact name.)
: To back up the database, an easy way is use stored procedures:
: sp_dttach_db [dbname]
: sp_attach_db [dbname] [filename]
: if you don't have active connection on A, you can just find the [dbname].MDF
: file and copy it to server A and use sp_attach_db directly. This skips the log
: file of course. For details, check out these two commands in Books Online.
: Another

c******n
发帖数: 6
5
Thank you so much for you guys' help! I detached the database and directly
copy the mdf and log.ldf to the data folder of another sql server. seems
working well :-).
Chris

[dbname].MDF
in
domain
tried

【在 d******o 的大作中提到】
: Remember, you need to redo all your logins too. You need to go to the new
: server B, in your attached databases, drop all the old users, create new
: logins, and assign them to the databases.
: If you don't copy log file, you have to use sp_detach_db to deatch it first.
: David Gao
: MCSE, MCDBA
:
: Group"
: log
: problem

1 (共1页)
进入Database版参与讨论
相关主题
弱问一下, Oracle和SQL SERVER有什么区别Re: Is there any easy way to truncate the LDF file of SQL SERVER?
包子题:SQL Server 2008, 2012 vs 2014SQL SERVER 2012的认证改了
请教SQL Server简单问题,DB->txt file?又开始认证了SQL 2012
SQL Server 2000 Job level premission?是学Oracle还是SQL server?
SQL SERVER 2K 移植问题问个SQL Server version的问题
有考SQL 2008 70-433认证得吗请教一下一个关于SQL SERVER非常基本的问题
怎么移植一个SQL server数据库SQLserver 的developer edition是啥意思
How to migrate a database from one sql server to another?MS ACCESS有考试证书吗?
相关话题的讨论汇总
话题: server话题: sql话题: migrate话题: database话题: another