How can I remove the dbo prefix from my table names when I write my sql statements in SQL Server?

前端 未结 6 1505
一向
一向 2020-12-15 07:51

All the tables in my schema have a prefix of dbo. Now in my sql statements, I don\'t like using dbo.tablename all the time. Any workarounds or configuration changes?

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-15 08:36

    Actually you should leave those dbo. statements because you SQL will be faster since the optimizer doesn't have to lookup the schema

    Check out this link also Performance Impact of Procedure Calls without Owner Qualification

提交回复
热议问题