I have seen this question before, but aside from it being a few years old and the answer not really being SQL Server related (looks like MySQL) Im hoping someone can provide perhaps a database-option that allows it as it runs perfectly fine on SQL 2000.
So I have 2 databases, Im doing a join between the two databases with a table name that is the same. Normally, the SQL code looks like :
select Category.Category
FROM
Category INNER JOIN TEST123.dbo.Category ON Category.CategoryRef=TEST123.dbo.Category.CategoryRef
I get the dreaded: The objects "TEST123.dbo.Category" and "Category" in the FROM clause have the same exposed names. Use correlation names to distinguish them.
but this all runs fine in SQL 2000 - it quite happily works along, knowing that its 2 different databases. Is there a Database Option that I can enable/disable that will allow this, it just means a LOT of changes in an application that has possibly thousands of SQL statements - thanks!