我有以下语句作为存储过程的第一步
As
BEGIN
SET NOCOUNT ON
DELETE DB1.dbo.Members WHERE DB1.dbo.members.ID = DB2.dbo.in_table.ID
--after the delete I will insert all of the new data from in_table to Members
END
DB2.dbo.in_table.ID 不会绑定。存储过程设置为存储在 DB2 上。DB1 位置完美绑定。是数据库权限问题吗?