473,396 Members | 1,895 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,396 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 19 '05 #1
3 8352
Pattnayak wrote:
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

DTS? What is a DTS (package)?
Do you want to "push" the data from Oracle to SQL-Server
or pull the data from Oracle to SQL-Server?

Jul 19 '05 #2
Pattnayak wrote:

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


I suggest strongly that you start by looking at Oracle's documentation
available publically at http://docs.oracle.com and specifically look
for heterogeneous services.

Are you in the MCA program as well? If so, please advise your fellow
students that the instructor is probably monitoring this newsgroup.

Also please note that this newsgroup is officially replaced by
comp.databases.oracle.misc, and has been for several years. Not all
possible respondents will be able to see your question here.
Jul 19 '05 #3
On 1 Jan 2004 03:04:13 -0800, Pattnayak wrote:
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???


G'day Patnayak,

If you do decide to use DTS for your table copies, then you'd be better
asking in this newsgroup:

microsoft.public.sqlserver.dts

Also, you should check out this website:

http://www.sqldts.com/

As for building a package programmatically, DTS will happily give you
some sample code. Just build a package graphically in the designer, Save
As and set Location to Visual Basic File. Then start reading the code.
It isn't the best code (i.e. you can rewrite it a lot better, it is
simplistic auto-generated code) but it will give you an understanding of
how it all works. You will also need to read the sections in BOL (Books
On-Line) or MSDN that cover the DTS object model. Check out the website
above to find out how to do it in C#.

Having gotten that out of the way, why do you want to use DTS to do
this? As other respondents have mentioned, there are other ways that
might be more suitable.

cheers,
Ross.
--
Ross McKay, WebAware Pty Ltd
"The lawn could stand another mowing; funny, I don't even care"
- Elvis Costello
Jul 19 '05 #4

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...
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: 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...
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
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.