I have a Uni assignment due, part of it requires this:
"Create a database trigger called “TRG_PREVENT_VIEW_DROP” that will prevent the dropping of any view
The trigger must log the action in a separate table called event logs and include the following data; the user, date/time, attempt type and view name. The attempt_type and view name data must not be hard coded. "
It's got me stumped, any help will be greatly appreciated, cheers