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

前端 未结 6 1512
一向
一向 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:32

    I think the user in which you connect have to belong to dbo schema, and then you won't have to type the prefix, it will infer it from the schemas the user belong.

提交回复
热议问题