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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -