dbTalk Databases Forums  

How to Database Synchronization tool ...

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to Database Synchronization tool ... in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mujtaba
 
Posts: n/a

Default How to Database Synchronization tool ... - 10-12-2004 , 07:43 AM






Hi

i am thinking of developing Database Synchronization tool using DTS
(Data Transformation Services's API's), VC++ 6, and SQL Server.

i want to achieve functionality like "Reporting differences between
tables, indexes, columns of two data bases and generating scripts to
bring them in sync."


Could anybody please guide me in the following directions...

1- How to start with data transformation services in vc++, is there
any sample or code snippet.

2- Is it necessary to install SQL Server at my PC where i m using DTS
API's or not.

Thanks in advance...

Mujtaba

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: How to Database Synchronization tool ... - 10-12-2004 , 11:17 AM






To be honest I can't see why you would bother. There are plenty of tools
that already do this, some free, and many very good ones for a small cost.
I also do not think DTS is the best tool, DMO would be better. The inline
answers below will apply to DMO as well as DTS.

"Mujtaba" <tomujtaba (AT) hotmail (DOT) com> wrote

Quote:
Hi

i am thinking of developing Database Synchronization tool using DTS
(Data Transformation Services's API's), VC++ 6, and SQL Server.

i want to achieve functionality like "Reporting differences between
tables, indexes, columns of two data bases and generating scripts to
bring them in sync."


Could anybody please guide me in the following directions...

1- How to start with data transformation services in vc++, is there
any sample or code snippet.
I seem to remember a C++ sample in the sampels folder installed with the
product. DTS is just a COM object model, add a reference to the DTS Package
Object library for the core stuff.

Quote:
2- Is it necessary to install SQL Server at my PC where i m using DTS
API's or not.

Yes. DTS is COM therefore you need at least the DTS DLLs on your local dev
box. I suggest installing the full tools. You don't need a server locally
though.


--
Darren Green
http://www.sqldts.com




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.