The dbo. prefix in database object names, can I ignore it?

前端 未结 6 959
无人及你
无人及你 2021-02-19 07:15

I am looking for a performant default policy for dealing with the .dbo prefix.

I realize that the dbo. prefix is more than syntactic noise, however I got through the pa

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-19 08:05

    [dbo].[xxx]

    The SQL Server engine always parse the query into pieces, if you don't use the prefix definitely it going search for object in similar name with different users before it uses [dbo]. I would suggest you follow the prefix mechanism not only to satisfy the best practices, also to avoid performance glitches and make the code scalable.

    I don't know I answered your question, but these are just my knowledge share

提交回复
热议问题