data view web part with custom query

D

David McKenzie

I would like to call an Oracle stored procedure from the Custom Query of a
Data View Web Part
(The query i wish to run has a join, so i can't just specify rows and
filters)
I have tried entering the SP name and "execute sp_name") but just get "the
database has returned an unexpected result" or some such.
The SP executes fine in an Oracle environment, and the database is reachable
(albeit one table at a time) in the data vies.

What am I missing?
 
J

Jim Buyens

Try accessing the data by means of a view rather than a
stored procedure.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
J

John Jansen \(MSFT\)

When you use CUSTOM sql statements (whether to Oracle or SQL server or
whatever), the server needs to be enabled for this. You should make sure
that the server admin pages are configured to enable passthrough queries.
Also be sure the user and password have permission to view your stored
procs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top