Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 19th, 2007, 02:45 PM
vl vl is offline
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default call oracle function using oracle link server

How to call a oralce stored procedure (Package),function from oracle link server?

I did the following:

select link_server_name..schema_name.MyFunc('tom')

I got the following error message:
The object name contains more than the maximum number of prefixes. The maximum is 2.

  #2 (permalink)  
Old July 12th, 2007, 08:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

You got to resolve the prefixes correctly. it doesnt recognize .. the correct prefix is servername.dbname.ownername.functionname
I think you missed one.

_________________________
- Vijay G
Strive for Perfection


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO LINK ACCESS DATABASE TO ORACLE? pamma_lean Access 1 May 4th, 2005 10:11 AM
call oracle stored procedures from C# k_kosaraju ADO.NET 1 October 21st, 2004 03:03 AM
Using a Pass-Through Query to call an Oracle SP Richelou Access VBA 1 September 17th, 2004 04:56 AM
Call a function from Oracle in C# Rabab C# 1 February 16th, 2004 10:18 AM
Error trying to call Oracle function in VB.NET lou_1 Pro VB.NET 2002/2003 0 January 13th, 2004 06:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.