Re: DBI and Unique Keys

2003-06-04 Thread Mark Martin
<[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 2:02 PM Subject: RE: DBI and Unique Keys > [Mark: please post only plain text, and don't top-post. I've moved your > reply to the bottom] > > Mark Martin wrote: > > - Original Message - > > From: "

RE: DBI and Unique Keys

2003-06-03 Thread Bob Showalter
MAIL PROTECTED]> > Sent: Monday, June 02, 2003 2:14 PM > Subject: RE: DBI and Unique Keys > > > > Mark Martin wrote: > > > Hi, > > > I have an Oracle table with a Unique Key which is generated by a > > > trigger : > > > > >

RE: DBI and Unique Keys

2003-06-03 Thread NYIMI Jose (BMB)
use DBI;use DBD::Oracle; is redundant use DBI; is sufficient. José. > -Original Message- > From: Mark Martin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 12:47 PM > To: Bob Showalter; [EMAIL PROTECTED] > Subject: Re: DBI and Unique Keys > > > Bob,

Re: DBI and Unique Keys

2003-06-03 Thread Mark Martin
ect(); exit; ----- Original Message - From: "Bob Showalter" <[EMAIL PROTECTED]> To: "'Mark Martin'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 02, 2003 2:14 PM Subject: RE: DBI and Unique Keys > Mark Martin wrote: > >

RE: DBI and Unique Keys

2003-06-02 Thread Bob Showalter
Mark Martin wrote: > Hi, > I have an Oracle table with a Unique Key which is generated by a > trigger : > > CREATE TRIGGER MYTRIGGER > before insert on MYTABLE > for each row > begin > select MYSEQUENCE.nextval into :new.MYCOLUMNAME from dual; end; > And this works fine on normal insert > > When

Re: DBI and Unique Keys

2003-06-01 Thread R. Joseph Newton
Mark Martin wrote: > Hi, > I have an Oracle table with a Unique Key which is generated by a trigger : > > CREATE TRIGGER MYTRIGGER > before insert on MYTABLE > for each row > begin > select MYSEQUENCE.nextval into :new.MYCOLUMNAME from dual; > end; > And this works fine on normal insert > > When I

DBI and Unique Keys

2003-05-31 Thread Mark Martin
Hi, I have an Oracle table with a Unique Key which is generated by a trigger : CREATE TRIGGER MYTRIGGER before insert on MYTABLE for each row begin select MYSEQUENCE.nextval into :new.MYCOLUMNAME from dual; end; And this works fine on normal insert When I try to insert from a perl script I get