踏实,努力向上!

导入数据

上一篇 / 下一篇  2008-01-05 15:52:46 / 个人分类:SQL

导入数据
右击目的数据库,tasks-->import data,-->next -->choose a data source,
输入server name,选择 登录方式,如果是use sql server authentication,输入该服务器 数据库的用户名和密码,输入要导入数据的源数据库。
-->next ,choose a destination,输入目的数据库,-->next
-->copy data from one or more tables or views --->next -->选择要导入的数据表,看清楚目的表和源表。-->edit ,选择:delete rows in destination table 删除目的表的数据,重新插入数据。
append rows to the destination table 在目的表的数据原来的基础上累加。
--> enable identity insert 一定要选择。-->Ok-->next -->finsh.


TAG: SQL

 

评分:0

我来说两句

Open Toolbar