I'd use a DDL trigger for that.
Details here: http://msdn.microsoft.com/en-us/library/ms175941.aspx
Events available for them to fire on: http://msdn.microsoft.com/en-us/library/62ef24b4-3553-4aed-b62a-670980bae501
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon