I am curious to find out if there is a performance penalty accessing an object from another database on the same server vs accessing an object from the same database. For example, which one is faster
SELECT Anotherdb.dbo.GetFormattedData(@test)
OR
SELECT dbo.GetFormattedData(@test)
we are using sql server 2008.