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

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -