Hello,
I am writing a trigger that grabs\audits some system info and performs an INSERT into a table. This is being fired AFTER DDL database events.
I am grabbing:
* sys.dictionary_obj_type
* sys.dictionary_obj_name
* sys.dictionary_obj_owner
* sys.login_user
What are some other system info that can be captured from the dictionary, i.e. how can I list all the possible dictionary fields?
I know, I know this is a really basic DBA question but I cannot find this anywhere (Internet, books). Maybe I am not searching on the correct string.
Thanks,
Michael42
I am writing a trigger that grabs\audits some system info and performs an INSERT into a table. This is being fired AFTER DDL database events.
I am grabbing:
* sys.dictionary_obj_type
* sys.dictionary_obj_name
* sys.dictionary_obj_owner
* sys.login_user
What are some other system info that can be captured from the dictionary, i.e. how can I list all the possible dictionary fields?
I know, I know this is a really basic DBA question but I cannot find this anywhere (Internet, books). Maybe I am not searching on the correct string.
Thanks,
Michael42