Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Executing complex Oracle queries in Excel using PL/SQL

Hi,

Im basically trying to get oracle data into excel by using an ADO ODBC
connection. I was wondering if I am able to build complex queries in PL/SQL
that can include functions and procedures. I use TOAD(A database interface)
to build by queries then I read them into excel to execute them. TOAD wont
let me put my actual SQL query and PL/SQL functions and procedures in the
same file. Is this just something with TOAD or is it impossible to have one
text file that contains the query and all necessary functions? Or is it even
possible to write your own functions and use them on a remote read only
database? I know I can run a few queries, dump them in excel and then
manipulate them with VBA functions to get what I want but I was wondering if
I could just do everything in the query and have it just do a data dump into
a spreadsheet.

I hope this makes sense to everyone. Sorry if it doesnt. I guess it boils
down to: Can I use the full functionality of PL/SQL through excel?

Mark

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Executing complex Oracle queries in Excel using PL/SQL


Using pass-through queries you can execute the oracle sql directlr o
the Oracle server.

I can't test it at the moment but from memory you cannot format a P
SQl and expect it to execute but if it is a stored procedure on th
Oracle database you can execute it using a pass-through.

My usual plan is to model and test using access (including th
pass-through elements) as this just operates as a front end to dat
objects and then code it in Excel.

Hope this helps

--
tony
-----------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...fo&userid=2107
View this thread: http://www.excelforum.com/showthread.php?threadid=50769

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect to Oracle using Microsoft ODBC for Oracle Kent Excel Programming 2 January 18th 06 03:53 AM
Executing queries stored in database in Excel John B Excel Discussion (Misc queries) 0 December 15th 05 09:08 AM
Executing multiple queries through a macro Sharon Excel Discussion (Misc queries) 0 April 1st 05 01:47 AM
Running Queries to Oracle from Excel 2000 Kevin Excel Programming 3 February 25th 05 08:57 PM
Executing a Script on an Oracle DB EWill Excel Programming 1 October 28th 03 08:07 PM


All times are GMT +1. The time now is 02:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"