dbTalk Databases Forums  

How is best approach to transform many tables?

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


Discuss How is best approach to transform many tables? in the microsoft.public.sqlserver.dts forum.



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

Default How is best approach to transform many tables? - 09-22-2004 , 06:58 AM






i need to develop a DTS package that uses Oracle8i datanase tables as source
and SQL Server 2k tables as target. The mapping is one-one, meaning the
source columns are mapped to the target columns (no transformation at this
moment).
I need to do this for approx. 180 tables. Is there a way to automate these
transformations (to avoid that for table that needs to be transformed i need
to create a DTS package).
Do i have to do this with scripting, C#, ...?
Any help wellcome.
Guy



Reply With Quote
  #2  
Old   
Jacco Schalkwijk
 
Posts: n/a

Default Re: How is best approach to transform many tables? - 09-22-2004 , 08:18 AM






http://www.sqldts.com/default.aspx?299

will help you on your way.

--
Jacco Schalkwijk
SQL Server MVP


"Guy Dillen" <guy_dillen (AT) nospam (DOT) hotmail.com> wrote

Quote:
i need to develop a DTS package that uses Oracle8i datanase tables as
source and SQL Server 2k tables as target. The mapping is one-one, meaning
the source columns are mapped to the target columns (no transformation at
this moment).
I need to do this for approx. 180 tables. Is there a way to automate these
transformations (to avoid that for table that needs to be transformed i
need to create a DTS package).
Do i have to do this with scripting, C#, ...?
Any help wellcome.
Guy





Reply With Quote
  #3  
Old   
Miguel Salles
 
Posts: n/a

Default RE: How is best approach to transform many tables? - 09-22-2004 , 08:25 AM



Hi,

Not sure for what is THE best way, however, I have done once one VB app that
would set the properties for the DTS on the fly, with that and a bit of work
(a week maybe) a created a app that could read any table on the source and
load it into a one-one table on the destination. (you'll have to create more
connections just to read wich are the fields and its format wich you'll have
tranform to the correspondent in the DTS)

A bit hard, but worked very well for me.




"Guy Dillen" wrote:

Quote:
i need to develop a DTS package that uses Oracle8i datanase tables as source
and SQL Server 2k tables as target. The mapping is one-one, meaning the
source columns are mapped to the target columns (no transformation at this
moment).
I need to do this for approx. 180 tables. Is there a way to automate these
transformations (to avoid that for table that needs to be transformed i need
to create a DTS package).
Do i have to do this with scripting, C#, ...?
Any help wellcome.
Guy




Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: How is best approach to transform many tables? - 09-22-2004 , 04:31 PM



In article <415168f0$0$11670$ba620e4c (AT) news (DOT) skynet.be>, Guy Dillen wrote:
Quote:
i need to develop a DTS package that uses Oracle8i datanase tables as source
and SQL Server 2k tables as target. The mapping is one-one, meaning the
source columns are mapped to the target columns (no transformation at this
moment).
I need to do this for approx. 180 tables. Is there a way to automate these
transformations (to avoid that for table that needs to be transformed i need
to create a DTS package).
Do i have to do this with scripting, C#, ...?
Any help wellcome.
Guy

I presume you want to dynamically pick up new tables on he source and create
new tales on the destination also?

This can be done but you will need to do things through code.

What happens if the definitions of the tbles changes as well?

Doable but a bit of work.


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know





Reply With Quote
  #5  
Old   
Guy Dillen
 
Posts: n/a

Default Re: How is best approach to transform many tables? - 09-23-2004 , 01:54 AM



First of all thanks to all for the answers.

The ultimate goal is the end-user can select the tables that he/she wants to
move from source db to target db. To leave things simple i start with a one
to one mapping from source table to target table.
To store what tables should be moved i was thinking of using an xml file for
this or storing it in the SQL Server database?

Guy



"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
In article <415168f0$0$11670$ba620e4c (AT) news (DOT) skynet.be>, Guy Dillen wrote:
i need to develop a DTS package that uses Oracle8i datanase tables as
source
and SQL Server 2k tables as target. The mapping is one-one, meaning the
source columns are mapped to the target columns (no transformation at
this
moment).
I need to do this for approx. 180 tables. Is there a way to automate
these
transformations (to avoid that for table that needs to be transformed i
need
to create a DTS package).
Do i have to do this with scripting, C#, ...?
Any help wellcome.
Guy


I presume you want to dynamically pick up new tables on he source and
create
new tales on the destination also?

This can be done but you will need to do things through code.

What happens if the definitions of the tbles changes as well?

Doable but a bit of work.


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know






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.