>> You can create a trigger on sysobjects system table to tack changes. But
>> trigger on a system table is not recomended.
[quoted text clipped - 3 lines]
>
> A
> Let me correct it, it sould not be sysobjects, what i ment was syscolumns
OK, if that is the only type of change you are concerned about.
> On the server setting tab( server property), click the 'Allow modification
> to made directly to the system catalogs'
[quoted text clipped - 11 lines]
>
> print 'test'
As you said, definitely not recommended. Also consider the consequences of
applying a service pack, hotfix, or upgrading to SQL Server 2005 or beyond.
Mecn - 09 Jul 2008 18:31 GMT
Thanks all,
Last question, if I add update trigger on syscolumns table, trigger will
fire if SP modified?
Thanks
>> Let me correct it, it sould not be sysobjects, what i ment was
>> syscolumns
[quoted text clipped - 22 lines]
> applying a service pack, hotfix, or upgrading to SQL Server 2005 or
> beyond.
vinu thomas - 09 Jul 2008 21:30 GMT
stored procedures are stored in SYSCOMMENTS table. Also Aaron has pointed out
why you should not do this.
> Thanks all,
>
[quoted text clipped - 29 lines]
> > applying a service pack, hotfix, or upgrading to SQL Server 2005 or
> > beyond.