Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL? :multiple operations in one SQL query to oracle

Re: SQL? :multiple operations in one SQL query to oracle

From: Jim Tench <jim_tench_at_usa.net>
Date: 1997/07/04
Message-ID: <01bc88b4$38d97f00$7524cfc2@jimt.enta.net>#1/1

Wrap them up in a begin end, to make a block. This is the same as if you were calling a stored procedure from VB (without using .execute), where the syntax is

begin <procedcedure call:; end;

Hope this helps.

Jim Tench

James Mercer <jpmercer_at_concentric.net> wrote in article <01bc8833$b596cd80$7cd09bcf_at_jpmercer.concentric.net>...
> When I type something like:
>
> select * from table1; select * from table2
>
> from VB or in the Oracle ODBC test program, I get an invalid character
> error (I'm assuming on the ';'). How else could I send two selects in
 one
> SQL statement?
>
> thanks,
> James Mercer
>
Received on Fri Jul 04 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US