In SQL Server, what does it mean to be self-documenting? -
i came across term in reading. here context:
"it best practice make t-sql code self-documenting. speaking, view more self-documenting if column names of view specified in select statement , not listed separately in view."
i curious means. response appreciated.
it same other piece of code.
meaningful names:
- give table names describe contents.
- give columns names , types describe contents , appropriate them.
- give views, stored procedures, functions , other database objects descriptive names.
the specific quote seems recommend using column names in views - take mean use of select *
discouraged (it bad practice various reasons).
Comments
Post a Comment