Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / March 2005

Tip: Looking for answers? Try searching our database.

Question About using Oracle Store Procedure

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tomato - 31 Mar 2005 09:15 GMT
I want to using Oracle store procedure in Reporting Service.The store
procedure return a cursor point to a dataset.
How to get and using the dataset in Reporting Service?
Robert Bruckner [MSFT] - 31 Mar 2005 19:17 GMT
Check this article for general information about how to connect to Oracle
from RS:
http://support.microsoft.com/default.aspx?scid=kb;en-us;834305

Choose "Oracle" as data source type which will give you the managed provider
for Oracle. Also make sure that you use the text-based generic query
designer (2 panes) and not the visual query designer (4 panes) - you can
switch between them through an icon on the toolbar in the data view of
report designer.

In addition, how do you return the data from your stored procedure? Note:
only an out ref cursor is supported. Please follow the guidelines in the
following article on MSDN (scroll down to the section where it talks about
"Oracle REF CURSORs") on how to design the Oracle stored procedure:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
contheadonetdatareader.asp

To use a stored procedure with regular out parameters, you should either
remove the parameter (if it is possible) or write a little wrapper around
the original stored procedure which checks the result of the out parameter
and just returns the out ref cursor but no out parameter.

Finally, in the generic query designer, just specify the name of the stored
procedure without arguments and the parameters should get detected
automatically.

There also have been several discussion threads about Oracle stored
procedures on this newsgroup. You may want to search for these in case you
are running into issues.

-- Robert
Signature

This posting is provided "AS IS" with no warranties, and confers no rights.


>I want to using Oracle store procedure in Reporting Service.The store
> procedure return a cursor point to a dataset.
> How to get and using the dataset in Reporting Service?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.