I noticed that many companies use the prefix for their database tables. For example. tables will be called MS_Order, MS_User, etc. Is there a good reason for this?
The only reason I can think of is to avoid name clashes. But is this really happening? Do people run multiple applications in the same database? Is there any other reason?
In SQL Server 2005 and later, the schema function eliminates the need for any prefix. A good example of their use can be found by reading about Schemes in AdventureWorks .
SQL- .
, .
. , , intellisense, MS_.:) .
, . , "" .
Darn, : -)
, . , , cutomer, cust_, , , inv_ ( ), , , fin_ ..
, , , , , .
, , , . , , , , , , . , , , , , , , .., - , - . , .
, . - , , , , .
, , , -, , , , ( , , ).
, , . . , , , .. , .
- , sql , .
sql- - , . .. admin_ , - .
, . , , , , .
, . , Wordpress, "wp_". , , (, ).
, , .
Source: https://habr.com/ru/post/1713914/More articles:Terminology: the difference between a software interface, a software component, software, a software module - moduleДвойное соединение с habtm в ActiveRecord - ruby-on-railsHow to prevent a full table scan while executing a simple JOIN? - joindotnetnuke: can we create a homepage? - dotnetnukeКак подключиться к Skype с помощью Skype4Java? - skypeWhy not stop the thread? - androidCan i include iostream header file in user namespace? - c ++Django ORM: timezone support - timezoneSaving with HABTM in CakePHP - phpCakePHP HABTM Question - cakephpAll Articles