惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
S
SegmentFault 最新的问题
Schneier on Security
Schneier on Security
W
WeLiveSecurity
Webroot Blog
Webroot Blog
T
Threatpost
量子位
大猫的无限游戏
大猫的无限游戏
C
Cisco Blogs
腾讯CDC
N
News | PayPal Newsroom
T
Troy Hunt's Blog
T
Tailwind CSS Blog
Latest news
Latest news
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The Register - Security
The Register - Security
Know Your Adversary
Know Your Adversary
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Engineering at Meta
Engineering at Meta
SecWiki News
SecWiki News
MyScale Blog
MyScale Blog
GbyAI
GbyAI
Application and Cybersecurity Blog
Application and Cybersecurity Blog
A
Arctic Wolf
The GitHub Blog
The GitHub Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Help Net Security
Help Net Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
有赞技术团队
有赞技术团队
NISL@THU
NISL@THU
L
LINUX DO - 最新话题
雷峰网
雷峰网
P
Privacy International News Feed
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
月光博客
月光博客
V
V2EX
H
Help Net Security
博客园 - 三生石上(FineUI控件)
U
Unit 42
B
Blog
PCI Perspectives
PCI Perspectives
G
GRAHAM CLULEY
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
Last Week in AI
Last Week in AI

博客园 - talantlee

C# Windows Form 下通过MethodInvoker 实现异步调用 (不使用thread) Web导出Excel时"0"自动消失的解决方案 - talantlee - 博客园 如何令web中的Select中实现Combox效果 - talantlee - 博客园 Sql Server 2005 新的分页存储过程的推荐写法 .NET 编译时出现LC.exe错误解决方法 C#中通过代码控制IIS服务重启 - talantlee - 博客园 Web所有父窗体与子窗体的交互方法列举(子调用父窗体函数) Javascrip的給人忽略掉的循環寫法(FOR IN) CSS 一些语法规范以及写法(不涉及語法) 学习.NET技術的一些网站推荐 javascript 中面向對象編程 (類的繼承) (小技巧九) 【摘錄】Xml讀寫示例~ javascript MailTo 郵件技巧(小技巧八) - talantlee javascript IE与FireFox 一些兼容写法 (小技巧七) javascript 彈出式窗體詳解 (小技巧六) 【文摘】让你受益匪浅的IT培训语录 javascript 中面向對象編程 (類的構造) (小技巧五) 【文摘】设计模式:Model View Presenter 《文摘》伟大架构师的秘密
SQl2000數據同步技術入門級(DTS,Replication)
talantlee · 2007-04-27 · via 博客园 - talantlee
 

方法一>通過Job,人手寫sql語句去實現(自己按照需求去寫代碼吧。。。)
方法二>使用DTS(Data Transformation services)包。
       
建立方法1>
               
牛人直接到這里建立即可:】

                

像我們菜鳥,推薦使用數據庫導入導出的方式自己生成。

然后按照平時我們進行導入導出動作。

從上面我們可以看到

DTS包可以以4种形式保存
    (1) SQL 
Server(保存在SQl Server中的msdb数据库中)
    (2) SQL Server 
Meta Data Services
    (3) 
结构化存储文件
    (4) Visual basic
文件

按照上面我們已經建好DTS包。

執行方式:1>Enterprise里面執行2> 使用命令行工具dtsrun执行DTS

执行结构化存储文件DTS

dtsrun /Ffilename /Npackage_name /Mpackage_password

执行保存在SQL Server msdb数据库中的DTS

dtsrun /Sserver_name /Uuser_nName /Ppassword /Npackage_name /Mpackage_password 

执行保存在Meta Data Services中的DTS

dtsrun /Sserver_name /Uuser_nrame /Ppassword /Npackage_name /Mpackage_password /Rrepository_name 

>復制

 復制是數據庫根據服務器的空閑時間,通過訂閱和發布來實現數據同步的技術(假如服務器訪問太多,不推薦使用此方法)

必須先建立發布,然后再做訂閱。

發布:

 
訂閱