Link to home
Start Free TrialLog in
Avatar of tsp
tsp

asked on

Use Trigger on table SYSOBJECTS...

I need to create a trigger (or something else) that updates a table if a certain table is added to the database. I've created an insert-trigger on the SYSOBJECTS-table in the database. This would helpup the problem but it doesn't seem to trigger at all. Is there something that I've missed, or isn't it possible to set triggers on the sys-tables?
ASKER CERTIFIED SOLUTION
Avatar of Victor Spiridonov
Victor Spiridonov
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tsp
tsp

ASKER

OK! But do u have a solution to my problem?

What can I do to update a table when an object is added to the database?
You can't trigger this process automatically when new object added. You can only create a SQL Executive task, that will check for new objects at certain intervals.