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

Home -> Community -> Usenet -> c.d.o.server -> Re: Executing SQL Statements throught ADO

Re: Executing SQL Statements throught ADO

From: Howard J. Rogers <hjr_at_dizwell.com>
Date: Fri, 5 Dec 2003 09:36:37 +1100
Message-ID: <3fcfb6f6$0$20488$afc38c87@news.optusnet.com.au>


"Mark Filson" <mfilson29NOSPAM_at_hotmail.com> wrote in message news:0xNzb.9535$d35.6492_at_edtnps84...
>
> "mcstock" <mcstock @ enquery .com> wrote in message
> news:RYOdnfTT6fbmPFKiRVn-gw_at_comcast.com...
> > "Mark Filson" <mfilson29NOSPAM_at_hotmail.com> wrote in message
> > news:lpMzb.9514$d35.2257_at_edtnps84...
> > | Hi All,
> > |
> > | Here's the issue I'm having... I have a VB COM component that is used
to
> > | parse SQL files and apply them to an instance of Oracle. Most of the
> > | statements in the sql file work but a few don't. Here is an example
of
> an
> > | offending one:
> > |
> > |
> > | CREATE OR REPLACE TRIGGER TR_SEQ_APPLICATION_SETTINGS
> > | AFTER INSERT OR UPDATE ON APPLICATION_SETTINGS
> > | FOR EACH ROW
> > | BEGIN
> > | SELECT SEQ_APPLICATION_SETTINGS.nextval INTO :new.ID FROM dual;
> > | END TR_SEQ_APPLICATION_SETTINGS;
I'm no developer, but that ":new" looks distinctly dodgy to me. I'm almost certain the ":" is not going to be read correctly.

Not entirely sure what you'd do about it though. Scrub that: I haven't a clue what you'd do about it.

Sorry.

Regards
HJR

-- 
------------------------------------
Oracle insights at www.dizwell.com
------------------------------------
Received on Thu Dec 04 2003 - 16:36:37 CST

Original text of this message

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