sql server - Naming a table that is already a reserved word -


i've found coming short, meaningful names don't conflict reserved words 1 of challenging parts of programming. in sql server, can wrap table names in square brackets, [order], looks ugly.

examples are:

  • order customer orders. might called oh orderheader.
  • cast might name table of cast members. might call person table.
  • user table name have. might call usr instead.
  • convert might table name kind of conversion.

q: have trick or technique use when can't think of name table?

i thought adding underscore end of table name if wanted use it, order_, cast_, user_, convert_.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -