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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -