Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Microsoft SQL Server 2014 Administration
This is the forum to discuss the Wrox book Professional Microsoft SQL Server 2014 Administration Adam Jorgensen, Bradley Ball, Steven Wort, Ross LoForte, Brian Knight; ISBN: 978-1-118-85913-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft SQL Server 2014 Administration 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 January 5th, 2017, 05:04 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default call oracle function

How i need to call oracle function with ref cursor output in mssql from linked server?
i use this script
SELECT *
FROM OPENQUERY(oracle ,
'select * from functionname(''N'',''2016-11-01'')')
but i get error


OLE DB provider "OraOLEDB.Oracle" for linked server "oracle" returned message "ORA-00933: SQL command not properly ended".
Msg 7321, Level 16, State 2, Line 33
An error occurred while preparing the query "select * from functionname('N','2016-11-01')" for execution against OLE DB provider "OraOLEDB.Oracle" for linked server "oracle".

any help???


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to call oracle function in VB6. please help me..? isa75 VB Databases Basics 0 April 7th, 2013 06:00 AM
call oracle function using oracle link server vl SQL Server 2000 1 July 12th, 2007 08:19 AM
How to call javascript function from VB function vinod_yadav1919 VB How-To 0 February 13th, 2006 06:03 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.