473,408 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Creating a DTS package programaticaly

Hi,
I want to create a DTS package programatically (preferably in
C#.net),which will copy all my tables from a oracle database to my
sql-server database.
Can anybody help me doing this???
Thanks
Patnayak
Jul 20 '05 #1
2 2927
BOL documents all of the DTS API:
http://msdn.microsoft.com/library/en...papps_21rn.asp

Assuming you are using SQL2000 there's an easy way to familiarise yourself
with the basics of DTS programming. Create a sample DTS package (either
using the Wizard or the Designer), open it up in the Designer and choose
Package/Save As... from the menu. Select "Visual Basic File" from the
Location dropdown and specify a file name. This will generate the Visual
Basic code to create and execute your package. You can then dissect, edit
and extend the code as required.

Inevitably there will be some work involved if you want to move the
generated code to C# but the example of how to manipulate the DTS objects
should give you a helpful start.

--
David Portas
------------
Please reply only to the newsgroup
--
Jul 20 '05 #2
To add to David's response, you can find a cookbook and examples for SQL
Server 2000 DTS with .NET at http://www.sqldev.net/dts/DotNETCookBook.htm.

--
Hope this helps.

Dan Guzman
SQL Server MVP
"Pattnayak" <dp*******@hotmail.com> wrote in message
news:a5**************************@posting.google.c om...
Hi,
I want to create a DTS package programatically (preferably in
C#.net),which will copy all my tables from a oracle database to my
sql-server database.
Can anybody help me doing this???
Thanks
Patnayak

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: yuba | last post by:
I have written an object to handle dealing with fixed and delimited records . Most of the version 1.0 heavy lifting is complete, but I need some help turning the routine into a package and...
3
by: Pattnayak | last post by:
Hi, I want to create a DTS package programatically (preferably in C#.net),which will copy all my tables from a oracle database to my sql-server database. Can anybody help me doing this??? Thanks...
1
by: Jennifer | last post by:
I've created a DTS package and now I need to distribute it to different servers. I've been looking for a way to automatically/programatically create a DTS package, but have not found anything...
2
by: Rajesh Tammana | last post by:
Hi, I am trying to create an SMS package using GetPDFData method. When I call this method it returns the PackageData object instance with C# object type ManagementBaseObject. Usually I call...
1
by: ido | last post by:
Hi all this is my first post here :) I would like to know something about using javascript programaticaly The thing is i have this web site on which when i press a button i uses a function of...
2
by: Michael.Covington | last post by:
I am trying to create a DTS package using C#. I have done this in VB6 without any problems. However, when I convert everything over to C# I get the 'System.InvalidCastException'. I am running...
1
by: Yannick Turgeon | last post by:
Hello all, I'm using A97 on W2K. I've got a form, say "frmMain" which contains a sub form, say "frmMainSub". This sub form is a "continue mode" style form (traducted from french. don't know...
1
by: gbraux | last post by:
Hello, I am dealing with security zones in Internet Explorer. I know how to add websites programaticaly to the intranet zone (using IInternetSecurityManager::SetZoneMapping). But do anyone...
3
by: =?Utf-8?B?U3VzYW4=?= | last post by:
I am attempting to create an installation package for a 64 bit system with Visual Studio 2005. The machine on which I am compiling and creating the package is also 64 Bit. I have the 64 Bit .Net...
3
Kelicula
by: Kelicula | last post by:
This is NOT a complete OO perl tutorial However I thought it could be beneficial to explain some of the basic concepts, and allow some users to simplify the software design process. I have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.