dbTalk Databases Forums  

Designing DTS for product development

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


Discuss Designing DTS for product development in the microsoft.public.sqlserver.dts forum.



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

Default Designing DTS for product development - 01-06-2004 , 11:46 PM






Hi,
Ours is a product across multiple platforms and databases - Oracle 8.1.7 , 9i, SQL server on Solaris, AIX windows etc. I have to make sure that the DTS packages are maintainable. i.e I should not be maintaining multiple DTS packages - one for each environment.

The strategy I have used in DTS is defining the DTS connections as "other ODBC data source", namely "SOURCE1". SOURCE1 could inturn be any configured to any other ODBC drivers, oracle or SQL server.

Is this a right approach ?


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

Default Re: Designing DTS for product development - 01-07-2004 , 02:23 AM






"SQL server on Solaris" ????

Yes DTS packages should be as maintenance free as possible. That said it is
not always possible to split as easily. Different RDBMSs play slightly
differently to each other and that is where you can come unstuck.

It is relatively easy in DTS to simply change Source Servers/Catalogs if the
underlying table structure is common throughout. You can change all kinds
of properties in the Object Model and through Disconnected Edit. You can
set these at runtime.

If the Question is "Can I build a package that is infinitely dynamic i.e.
suck from different databases, different tables with differing structures
and move to different tables with different structures" then the answer is
"Yes" but with a lot of recreating and messing about.



--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Break It" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
Ours is a product across multiple platforms and databases - Oracle 8.1.7 ,
9i, SQL server on Solaris, AIX windows etc. I have to make sure that the DTS
packages are maintainable. i.e I should not be maintaining multiple DTS
packages - one for each environment.
Quote:
The strategy I have used in DTS is defining the DTS connections as "other
ODBC data source", namely "SOURCE1". SOURCE1 could inturn be any configured
to any other ODBC drivers, oracle or SQL server.
Quote:
Is this a right approach ?




Reply With Quote
  #3  
Old   
Break It
 
Posts: n/a

Default Re: Designing DTS for product development - 01-07-2004 , 02:41 AM



It was not supposed to be "SQL server on Solaris". Just wanted too give you an idea of the various combinations.

Can you decode your second paragraph a bit. Mainly
"You can change all kinds of properties in the Object Model and through Disconnected Edit. You can
set these at runtime."

Can you give me some pointers/links how to get this done?

Thanks in Advance

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

Default Re: Designing DTS for product development - 01-07-2004 , 03:09 AM



Yep

DTS has an object model and using that object model allows you to change
most if not all parts of the package DataSource server, Catalog, destination
filename etc etc etc.

Disconnected Edit is something that was added to DTS in SQL Server 2000
(Right click designer white space | Disconnected Edit). It will show you
the object model hierarchically and allow you to set properties to the
values of INI files, DB row values, constants etc. These are read in at
Runtime.

We have lots of examples of manipulating packages on www.SQLDTS.com


--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Break It" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
It was not supposed to be "SQL server on Solaris". Just wanted too give
you an idea of the various combinations.

Can you decode your second paragraph a bit. Mainly
"You can change all kinds of properties in the Object Model and through
Disconnected Edit. You can
set these at runtime."

Can you give me some pointers/links how to get this done?

Thanks in Advance



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.