Cannot find the object “XXX” because it does not exist or you do not have permission

前端 未结 13 1076
[愿得一人]
[愿得一人] 2021-01-11 11:23

I\'m getting the following error when calling a stored procedure:

Cannot find the object \"XXX\" because it does not exist or you do not have permission.

I\'

13条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-11 11:58

    Always use the dbo. (or other schema) prefix both when creating and when accessing objects.

    I wrote about this very topic recently:

    • Bad habits to kick : avoiding the schema prefix

提交回复
热议问题