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 past 8 years of MS based development skipping typing the dbo. prefix and ignoring its function.
Apart from a performance issue with stored proc compile locks is there a downside to skipping typing “.dbo” in SQLqueries and stored procedures?
Further background: All my development is web middle-tier based with integrated security based on a middle tier service account.
[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