all groups > sql server programming > november 2003 >
You're in the

sql server programming

group:

any alternative to trigger on system tables / Information_schema views ?


any alternative to trigger on system tables / Information_schema views ? ray
11/2/2003 11:34:40 PM
sql server programming:
Since It is not possible to have a trigger on system tables or
information_schema views (?), is there an alternative? I want to detect
(trap) a change to a column in SysJobs table.

thanks

Re: any alternative to trigger on system tables / Information_schema views ? oj
11/3/2003 1:00:26 AM
no can do...you have to wait for the next version of sqlserver.

--
-oj
Rac v2.2 & QALite!
http://www.rac4sql.net


[quoted text, click to view]

any alternative to trigger on system tables / Information_schema views ? Peter
11/3/2003 3:44:50 AM
Create a profile that will look for an 'ALTER TABLE...',
CREATE command.

Peter


[quoted text, click to view]
Re: any alternative to trigger on system tables / Information_schema views ? Louis Davidson
11/3/2003 1:35:49 PM
Just create a copy of the sysjobs table, at least the primary key and the
columns you want to monitor and build a job consisting of a query to give
you changes and a refresh of the table. Kludge, yes. But it will work.

--
----------------------------------------------------------------------------
-----------
Louis Davidson (drsql@hotmail.com)
Compass Technology Management

Pro SQL Server 2000 Database Design
http://www.apress.com/book/bookDisplay.html?bID=266

Note: Please reply to the newsgroups only unless you are
interested in consulting services. All other replies will be ignored :)

[quoted text, click to view]

AddThis Social Bookmark Button