dbTalk Databases Forums  

Execute from C# .net SQL DTS package

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


Discuss Execute from C# .net SQL DTS package in the microsoft.public.sqlserver.dts forum.



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

Default Execute from C# .net SQL DTS package - 09-03-2003 , 12:10 AM







HI

I want to extract records >50000 from Sybase server to my sqlserver.

1)Which is the best solution for this without impacting the performance?

2) If i have to use a DTS package how do i pass a parameter to
DTS package from .net extract the parameter and use it in a
dynamic query?

3) Can i use BCP from .net?



Any help on this would be useful.



Regards

Subbu


--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
JFB
 
Posts: n/a

Default Re: Execute from C# .net SQL DTS package - 09-03-2003 , 01:38 PM






Hi,
You can create a DTS pkg and execute it from C#.
Here is an example.
http://www.sqldev.net/dts/DotNETCookBook.htm
JFB

"reachsubbu" <member37845 (AT) dbforums (DOT) com> wrote

Quote:
HI

I want to extract records >50000 from Sybase server to my sqlserver.

1)Which is the best solution for this without impacting the performance?

2) If i have to use a DTS package how do i pass a parameter to
DTS package from .net extract the parameter and use it in a
dynamic query?

3) Can i use BCP from .net?



Any help on this would be useful.



Regards

Subbu


--
Posted via http://dbforums.com



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.