Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Accessing UDF across servers

Author  Topic 

jco510811
Starting Member

9 Posts

Posted - 2006-07-27 : 05:20:51
Hi,

Does anyone know if it is possible to reference a user defined function which is on another server. The usual like Servername.DB.dbo. does not work with UDF's.

Thanks in advance for your help

Jo

nr
SQLTeam MVY

12543 Posts

Posted - 2006-07-27 : 05:27:29
You aren't allowed to qualify the server in a udf call but you can embed the call in sp_executesql and call that on the remote server.
Better probably to create an SP on the remote server to handle the call.


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

jco510811
Starting Member

9 Posts

Posted - 2006-07-27 : 09:57:32
Thank you

Jo
Go to Top of Page
   

- Advertisement -