|
|
|
SSCommitted
      
Group: Moderators
Last Login: Monday, August 13, 2012 1:06 PM
Points: 1,928,
Visits: 224
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, July 18, 2003 12:00 AM
Points: 1,
Visits: 1
|
|
This article is a good start for my project..I am transforming data from a query to a .csv file and I need to programatically change the name of the results filename. I feel that I can utilize the Global Variable function to do this...I need to control the name of the textfile via ASP.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 6:27 PM
Points: 25,
Visits: 122
|
|
good for start, but if I have more complex dts...may be I can create a job and after execute it from vb.exe with "sp_start_job @job_name = 'My Job'" using and ADO connection and execute it.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, February 20, 2007 3:57 AM
Points: 22,
Visits: 1
|
|
Excellent !!! Good job to describe in few lines Can I use this variables as a parameter to my SQL server Query for downloading the data Thanks again AMIT
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, July 19, 2006 1:31 AM
Points: 9,
Visits: 1
|
|
Hi Brian, Thanks for the great website. I have a Vb program which needs to call a DTS to load some data into SQL server from a text file. I managed to execute the DTS, but I couldn't get any return from DTS, so don't know if my data is loaded correctly unless I check from SQL server. Could you please explain how to solve this problem? Thank you very much! Tina from Singapore
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, March 10, 2005 8:09 AM
Points: 1,
Visits: 1
|
|
Hi Brian, I have many long running dts packages and need a way to notify the client of how many rows have been read. I have played with the On Progress event but my package just freezes up when I check this event. Another nice feature that I want to add is the ability to cancel a package once it starts. Any ideas..... Thanks for your help
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, March 31, 2005 12:05 AM
Points: 8,
Visits: 1
|
|
Hi Brian,
Example is really great to get kick off with DTS package stuff.
Can you explain further, [Global Input Paramerter in DTS] which we set ,,,,,, instead of passing it through VB application can i make it pass through SQL itself (lookup from another table) so tat i can use specified DTS package at schedule. instead of making an exe and running it as service.
Kindest Regards,
Mohd Haneef
Haneef@AFG.COM.KW
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, September 28, 2010 5:55 PM
Points: 5,
Visits: 11
|
|
If your process is long time running process maybe you can send email to client when it is done. DTS package has this possibility or you can use SQL command inside DTS package to send e-mail from SQL server Thanks Janusz
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, March 18, 2011 2:41 PM
Points: 6,
Visits: 23
|
|
This is just a general question. This example may work if you are using VB6 but what about us that use c# and the .NET 2.0 framework? If there is a way to execute an SQL 2000 DTS Package in .NET 2.0 I have yet to figure it out.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, September 28, 2010 5:55 PM
Points: 5,
Visits: 11
|
|
Create your DTS package and save it as VB script, next open it in VS2003 or VS2005 and allow VS to convert it. After that you will have all you need to run package from .Net language. You will have some error to fix because the conversion is not fully valid but they are very easy to fix. You can use this created code to not only run package from your application but you can also create it from your application. Thanks
|
|
|
|