SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Accessing pl/sql procedure from an SSRS report


Accessing pl/sql procedure from an SSRS report

Author
Message
venus.pvr
venus.pvr
Old Hand
Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)

Group: General Forum Members
Points: 339 Visits: 558
Hello,

In order to access and run pl/sql procedure from an SSRS report:
1) Which format should the pl/sql procedure return the data in?
2) How do I read the data returned from SSRS?

I haven't found any resources on the internet. Please give references if you know of anything that will guide

Thanks and Regards,
Praveena
venus.pvr
venus.pvr
Old Hand
Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)Old Hand (339 reputation)

Group: General Forum Members
Points: 339 Visits: 558
I have tried a few return options and below is what worked for me:
1) return as a ref cursor
2) read oracle procedure from ssrs just like you read a sql server procedure.

Thanks and Regards,
Praveena
PaulB-TheOneAndOnly
PaulB-TheOneAndOnly
SSCertifiable
SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)

Group: General Forum Members
Points: 5353 Visits: 4639
venus.pvr (12/14/2011)
I have tried a few return options and below is what worked for me:
1) return as a ref cursor
2) read oracle procedure from ssrs just like you read a sql server procedure.

Thanks and Regards,
Praveena


Thank you for the feedback Praveena - that will help other SSC members.

By the way, you are corrrect - a PL/SQL storedproc will always return a ref cursor.

_____________________________________
Pablo (Paul) Berzukov

Author of Understanding Database Administration available at Amazon and other bookstores.

Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
dkannanit
dkannanit
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 6
Hi,
Can I have sample procedure for how to use ref cursor in return from procedure , am bit struggling to access the record from oracle proc thru SSRS. thanks n advance.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search