对象名称包含超过允许的最大前缀

Object name contains more than the maximum prefixes allowed

我已经看到很多关于此的问题,但我找不到适合我的正确答案。

触发问题的对象如

test123.de.company.com.Database.dbo.Table

Test123.de.company.com

是数据库服务器。

Object name contains more than the maximum prefixes allowed

我试过这样写[test123.de.company.com].Database.dbo.Table就像[test123.de.company.com].[Database].[dbo].[Table]

你能告诉我这有什么问题吗?

请试试这个:

["test123.de.company.com"].[Database].[dbo].[Table] 

OP在实施上述解决方案后也遇到了新问题。 OP 说:

Thank you! This worked for me. To be more precise, the join is for a view and if I save/close and then later get back to the design option the quote marks are removed and there is [test123.de.company.com] left over and the error returns. Is there a way to keep them fixed? Otherwise if I change anything I always have to add the quote marks again and again

然后在DaleK的帮助下,这个问题也解决了。戴尔克:

Don't use the design option, script it as alter instead