Re: Triggering a DTS Package

From: Greg Linwood (g_linwoodQhotmail.com)
Date: 07/28/04


Date: Thu, 29 Jul 2004 08:07:20 +1000

Hi Sanjay

SQL can't tell you when a file appears in a directory - you'd need to do
that using other tools such as the .Net FileSystemWatcher framework class.
Depending on how you built that component (this would be better asked in a
development newsgroup) you could then connect to SQL Server & execute the
DTS task either via it's COM interface, using the DTSRUN.exe utility or the
sp_start_job TSQL command.

HTH

Regards,
Greg Linwood
SQL Server MVP

"Sanjay" <Sanjay@discussions.microsoft.com> wrote in message
news:18D0F8CD-604A-4019-B436-DACB566B5BB2@microsoft.com...
> I have a DTS task which starts from Test File Source inserting data into a
Table
> I Want this package to be Triggered when a file arrives in a particular
directory instead of being sheduled.
>
> How can i do this ?
>
> Thanks
> Sanjay
>
>



Relevant Pages

  • Re: Access 2007->SQL Server2005 "connection was forcibly closed",G
    ... I moved every table I was able to move to the SQL ... closed connections - but all of these errors are in the version which used ... the SQL Server 2000 and everything worked ... communication between ODBC (OLEDB and Native Client, ...
    (microsoft.public.sqlserver.connect)
  • Re: Unable to Apply SP4 to SQL 2000 Cluster (new Node)
    ... Rebuild the node in the failover cluster. ... Scenario 1" in SQL Server 2000 Books Online. ... This setup process updates to SP4 only the binaries on the new ...
    (microsoft.public.sqlserver.clustering)
  • Re: WSS 3.0 question
    ... I followed the advise given in removing WSS 3.0 etc, ... the server is complaining that the SQL service(?) was tempered with or corrupt. ... I may just instal the SQL server as I was going eventuall use it anyway. ... If WSUS 3.0 is installed, I would suggest you uninstall it and then you install WSS 3.0. ...
    (microsoft.public.windows.server.sbs)
  • Re: WSUS
    ... I'm not seeing performance issues with the full enchilada installed, and 25 users busy hitting SQL. ... WSUS isn't difficult to uninstall - if you have WSUS v2 (installed with SBS R2) uninstall R2 from add/remove programs. ... How can anyone work with 4 instances of SQL Server on the same box? ...
    (microsoft.public.windows.server.sbs)
  • Re: SQL Resets
    ... If it were SQL that was falling short, ... The default backlog for SQL Server is 5. ... System.InvalidOperationException: Internal connection fatal error. ... From time to time, under heavy loads, we are getting resets at ...
    (microsoft.public.sqlserver.connect)

Loading