Help sending sql into ORACLE
- From: "Max" <max.atwood@xxxxxxxxxxxxxxxx>
- Date: 30 Jun 2005 08:50:30 -0700
I am new to VBA and I am working in Excel 2002 (Windows XP). I am
connecting to an ORACLE database. I want to send several sql
"commands" into ORACLE that will not be returning any data. For
example, I want to send a "drop table" command, a "create table"
command and an "analyze table" command. (These commands set up a
filter file in the ORACLE database that will used in later queries.)
So far, I have been able to do this by creating the appropriate sql and
attaching it to a "record set". The sql runs in ORACLE when I open the
record set. However, the coding for this process seems pretty ackward
compared to other programing languages I have worked with. (For
example, in SAS there is a statement ("execute()") that allows you to
send sql statements into ORACLE without creating or expecting a
record/data set on the client side.)
My question is... After making the connection to ORACLE in VBA, is
there a technique/process for sending commands like this through
without creating a record set? (I am hoping there is something that
will simplify my code.) Any examples of code would be very helpful.
Thanks in advance.
Max
(PS. I am also new to Google groups. If there is a more appropriate
group for me to submit this question to, please let me know. Thanks.)
.
- Follow-Ups:
- Re: Help sending sql into ORACLE
- From: Steve Gerrard
- Re: Help sending sql into ORACLE
- Prev by Date: I need help on VFoxPro 6.0 urgently.
- Next by Date: Re: Opening an Access 2000 database
- Previous by thread: I need help on VFoxPro 6.0 urgently.
- Next by thread: Re: Help sending sql into ORACLE
- Index(es):
Relevant Pages
|