Re: 2 DTS Questions
From: Guy Dillen (guy_dillen_at_nospam.hotmail.com)
Date: 09/14/04
- Next message: Steve Lloyd: "Re: ActiveX Transformation in DTS Package"
- Previous message: San: "Re: FTP in DTS"
- In reply to: Allan Mitchell: "Re: 2 DTS Questions"
- Next in thread: Allan Mitchell: "Re: 2 DTS Questions"
- Reply: Allan Mitchell: "Re: 2 DTS Questions"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 08:30:05 +0200
Thanks Allan for your answers:
regarding to my first question:
would it be a good solution, creating a table in the SQL Server db with
TableName, UpdateYesNo, UpdateInterval, PackageName or
StoredProcedureNameTimeStamp and using this table e.g. in a C# app to start
the Package/StoredProcedure (starting directly the package or starting the
package via a stored procedure) if the UpdateYesNo = 'Y' and the
UpdateInterval is also ok?
To my 2nd question: i downloaded the document you mentioned, but there are
no examples (if i'm right) of writing DTS packages in C#?
Thanks.
Guy
"Allan Mitchell" <allan@no-spam.sqldts.com> wrote in message
news:%23Cfe8ihmEHA.1152@TK2MSFTNGP11.phx.gbl...
> 1. You can do this but this makes it very dynamic and you will have to
> write a lot of code to do this. DTS is not really this dynamic
>
> 2. You can certainly use C# to launch/write DTS packages and one of the
> best examples is a cookbook produced by Gert Drapers here
>
> http://www.sqldev.net/download/dts/DotNETCookBook.pdf
>
> --
> --
>
> 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
>
>
> "Guy Dillen" <guy_dillen@nospam.hotmail.com> wrote in message
> news:41461cb5$0$15182$ba620e4c@news.skynet.be...
>> I'm rather new to DTS and have the following questions:
>>
>> 1) i need to develop (a) DTS packages that transfers data from an Oracle
>> (8.1) database to SQL Server 2000 db. However the user should have the
>> possibility to select the tables in the Oracle db that he wants to
>> transfer/trasform to the SQL Server db. What is the best way to achieve
>> this?
>> 2) Since i don't know any vbscript, is it possible (and if so where can i
>> find more info) to use C# to launch DTS packages or create packages?
>>
>> Thanks for any help.
>>
>> Guy
>>
>>
>
>
- Next message: Steve Lloyd: "Re: ActiveX Transformation in DTS Package"
- Previous message: San: "Re: FTP in DTS"
- In reply to: Allan Mitchell: "Re: 2 DTS Questions"
- Next in thread: Allan Mitchell: "Re: 2 DTS Questions"
- Reply: Allan Mitchell: "Re: 2 DTS Questions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|