I'd like the t-sql that would make a trigger which would,whenever a change in
permissions or indexes was made to a table or view, it would populate a table(logtable)
with getdate(), the id making the change , generate sql script of the original and the new
in directory called original and new.
If the points seem stingy, that can be negotiated.
Using version 6.5.