I need to add comments to fields in SQL Server, and I know I can do it through designer.
I have many tables where there are the same fields:
- InsertDate
- ModifyDate
- AddUserId
- ModifyUserId
and so on.
I'd like to write a script that will find all tables and will add comments to these fields. Eventually, I can pass tables names to the scripts.
How can I achieve this?