troubleshooting Question

SQL - using remote database value scaled functions

Avatar of tommym121
tommym121Flag for Canada asked on
Microsoft SQL Server 2008
3 Comments2 Solutions218 ViewsLast Modified:
I have a local database say 'local' and remote database called  'remote' on 'RemoteMachine'

I am trying to run a SQL statement on the SSMS like

use local;

select RemoteMachine.remote.dbo.valueScaledFunction (a.field1) from local a

I got an error saying

cannot find either column "remote" or the user-defined function or aggregate "dbo.valueScaledFunction", or the name is ambiguous.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros