Home All Groups Group Topic Archive Search About
Author
19 Jan 2007 8:34 PM
SalamElias
Is there or does SSIS has a mechanism or a task that allows montoting the
arrival of a file in a directory which wiould be the start point for
launching the package, something like filewatcher in .Net.
Second question, can I architecte a package that monitors modifications in
one or several columns in a table.

Thanks

Author
19 Jan 2007 9:01 PM
Simon Sabin
Hello,

The guys at SQLIS.com have written a file watcher task.

As for monitoring a column change, this is possible using query notifications.
You would have to write an task/custom component that sets up a query notification.
The task will then wait until a notification is recieved.


Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons


Show quote
> Is there or does SSIS has a mechanism or a task that allows montoting
> the
> arrival of a file in a directory which wiould be the start point for
> launching the package, something like filewatcher in .Net.
> Second question, can I architecte a package that monitors
> modifications in
> one or several columns in a table.
> Thanks
>
Author
22 Jan 2007 3:24 AM
Charles Wang[MSFT]
Hi,
From your description, I understand that you had two questions:
1. Could some SSIS task help you monitor the arrival of a file in a
directory?
2. Could a SSIS package monitor table fields changes?
If I have misunderstood, please let me know.

For your first question, you can use WMI Event Watcher Task to monitor if a
new file appears in a specific directory.
The query is like this:
SELECT * FROM __InstanceCreationEvent WITHIN 10
WHERE TargetInstance ISA "CIM_DirectoryContainsFile"
AND TargetInstance.GroupComponent = "Win32_Directory.Name=\"c:\\\\Data\""

For more information, please refer to:
SQL Server 2005 - SQL Server Integration Services - Part 10
http://www.databasejournal.com/features/mssql/article.php/3552621


For your second question, I am afraid that you may need to consider to use
Query Notification whereas it has many restrictions.  Please refer to:
Creating a Query for Notification
http://msdn2.microsoft.com/en-US/library/ms181122.aspx

Hope this helps. Please feel free to let me know if you have any other
questions or concerns.

Charles Wang
Microsoft Online Community Support

======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
Author
24 Jan 2007 7:46 AM
Charles Wang[MSFT]
Hi,
I would like to check with you to see if you need further assistance on
this issue. We appreciate your posting back at your convenience.

Thanks for using Microsoft Online Managed Newsgroup. If you have any other
questions or concerns, please feel free to let us know.

Sincerely yours,
Charles Wang
Microsoft Online Community Support
Author
28 Jan 2007 5:20 PM
SalamElias
Thanksforyour responses, I downloaded thecomponent and will give it a go as
well as the notificcation stuff this week. I wil let you know
Thanks again for the info

Show quote
"Charles Wang[MSFT]" wrote:

> Hi,
> I would like to check with you to see if you need further assistance on
> this issue. We appreciate your posting back at your convenience.
>
> Thanks for using Microsoft Online Managed Newsgroup. If you have any other
> questions or concerns, please feel free to let us know.
>
> Sincerely yours,
> Charles Wang
> Microsoft Online Community Support
>
>
Author
29 Jan 2007 7:37 AM
Charles Wang[MSFT]
Thanks for your updating and response.

We look forward to your response. If you have any other questions or
concerns, please feel free to let us know.

Have a great day!

Charles Wang
Microsoft Online Community Support

======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
Author
6 Feb 2007 10:05 AM
Charles Wang[MSFT]
Hi,
How is this issue going? Please feel free to let us know if it persists.

Look forward to your response and have a good day!

Sincerely yours,
Charles Wang
Microsoft Online Community Support

======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================

AddThis Social Bookmark Button