dbTalk Databases Forums  

Trigger

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Trigger in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Shakespeare
 
Posts: n/a

Default Re: Trigger - 03-07-2008 , 07:16 AM







<Bumsys (AT) gmail (DOT) com> schreef in bericht
news:5c0cd8b2-7001-4214-825d-597ee4280aa9 (AT) 59g2000hsb (DOT) googlegroups.com...
Quote:
create or replace trigger trg_i_au_clients
before insert on au_clients for each row
begin
select au_clients_seq.nextval into :new.id from dual;
end;

I have error "java.lang.IllegalArgumentException: No SQL selected for
execution.Position: 0".
Why can it be? Please help.
From which (appearantly java)tool do you run this statement?
I think Frank may be right....

Shakespeare




Reply With Quote
  #22  
Old   
Shakespeare
 
Posts: n/a

Default Re: Trigger - 03-07-2008 , 07:16 AM







<Bumsys (AT) gmail (DOT) com> schreef in bericht
news:5c0cd8b2-7001-4214-825d-597ee4280aa9 (AT) 59g2000hsb (DOT) googlegroups.com...
Quote:
create or replace trigger trg_i_au_clients
before insert on au_clients for each row
begin
select au_clients_seq.nextval into :new.id from dual;
end;

I have error "java.lang.IllegalArgumentException: No SQL selected for
execution.Position: 0".
Why can it be? Please help.
From which (appearantly java)tool do you run this statement?
I think Frank may be right....

Shakespeare




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.