Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-27 Thread John Scoles
, 10/23/08, Martin Evans <[EMAIL PROTECTED]> wrote: From: Martin Evans <[EMAIL PROTECTED]> Subject: Re: suggestions sought on returning rows from oracle proc and deleting them in same proc To: "dbi-users" Date: Thursday, October 23, 2008, 8:40 AM John, John Scoles

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-26 Thread Job Miller
; > Subject: Re: suggestions sought on returning rows from oracle proc and > deleting them in same proc > To: "dbi-users" > Date: Thursday, October 23, 2008, 8:40 AM > John, > > John Scoles wrote: > > > > > > Martin Evans wrote: > >> C

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-23 Thread Martin Evans
John, John Scoles wrote: Martin Evans wrote: Christian Merz wrote: Hi Martin, this is not Perl stuff but Oracle PL/SQL. I disagree. I'm using DBD::Oracle and I need the values selected in the procedure returned to perl. The reason it is particularly applicable to DBD::Oracle is that it

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-23 Thread John Scoles
Martin Evans wrote: Christian Merz wrote: Hi Martin, this is not Perl stuff but Oracle PL/SQL. I disagree. I'm using DBD::Oracle and I need the values selected in the procedure returned to perl. The reason it is particularly applicable to DBD::Oracle is that it would be possible to solve

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-23 Thread Martin Evans
rom: Martin Evans [mailto:[EMAIL PROTECTED] Sent: 22 October 2008 17:19 To: Stewart Anderson Cc: dbi-users Subject: Re: suggestions sought on returning rows from oracle proc and deleting them in same proc Stewart Anderson wrote: Subject: suggestions sought on returning rows from oracle proc an

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread Christian Merz
an only treat the latter ones in a LOOP. cu, Christian From: Martin Evans [mailto:[EMAIL PROTECTED] Sent: 22 October 2008 17:19 To: Stewart Anderson Cc: dbi-users Subject: Re: suggestions sought on returning rows from oracle proc and deleting them in same proc Stewart Anderson wrote: Subject: sug

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread Douglas Wilson
On Wed, Oct 22, 2008 at 9:12 AM, Martin Evans <[EMAIL PROTECTED]> wrote: > John Scoles wrote: >> >> Well what you might want to do is convert the out data like this >> >> SELECT SYSTIMESTAMP,to_char(SYSTIMESTAMP,'mm--dd:hh:s') FROM dual I usually just add this after every connect(): $d

RE: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread Stewart Anderson
> From: Martin Evans [mailto:[EMAIL PROTECTED] > Sent: 22 October 2008 17:19 > To: Stewart Anderson > Cc: dbi-users > Subject: Re: suggestions sought on returning rows from oracle proc and > deleting them in same proc > > Stewart Anderson wrote: > >> Subject: sug

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread Martin Evans
Stewart Anderson wrote: Subject: suggestions sought on returning rows from oracle proc and deleting them in same proc Hi, I am hoping someone might have had to do something like this and have a good solution. I am using DBD::Oracle. I have a table with a simple integer and a timestamp

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread Martin Evans
John Scoles wrote: Well what you might want to do is convert the out data like this SELECT SYSTIMESTAMP,to_char(SYSTIMESTAMP,'mm--dd:hh:s') FROM dual adding to the end of the to_char down to the resolution you need. DBD::Oracle should return this correctly. cheers John Scoles

RE: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread Stewart Anderson
> Subject: suggestions sought on returning rows from oracle proc and > deleting them in same proc > > Hi, > > I am hoping someone might have had to do something like this and have a > good solution. I am using DBD::Oracle. I have a table with a simple > integer and

Re: suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread John Scoles
Well what you might want to do is convert the out data like this SELECT SYSTIMESTAMP,to_char(SYSTIMESTAMP,'mm--dd:hh:s') FROM dual adding to the end of the to_char down to the resolution you need. DBD::Oracle should return this correctly. cheers John Scoles Martin Evans wrote

suggestions sought on returning rows from oracle proc and deleting them in same proc

2008-10-22 Thread Martin Evans
Hi, I am hoping someone might have had to do something like this and have a good solution. I am using DBD::Oracle. I have a table with a simple integer and a timestamp: create mytable (id int, created timestamp); The integer value may appear more than once and the timestamp is the timestamp