RE: Oracle Direct Pass

2004-02-26 Thread Gold, Samuel (Contractor)
If you don't have to manipulate any of the data then SQL*Loader is the way to go. If you have to do any sort of manipulation of the data then it is very difficult to use SQL*Loader. Personally I user perl to load my data because I have to format some of the data and replace some of the values. It

RE: DBD:Oracle "perl Makefile.PL" problem

2004-02-26 Thread Howell, Andrew
Yes. This also works. Andrew -Original Message- From: Tim Bunce [mailto:[EMAIL PROTECTED] Sent: February 25, 2004 5:21 PM To: Howell, Andrew Cc: 'Tim Bunce'; '[EMAIL PROTECTED]' Subject: Re: DBD:Oracle "perl Makefile.PL" problem On Wed, Feb 25, 2004 at 04:29:06PM -0500, Howell, Andrew

RE: Oracle Direct Pass

2004-02-26 Thread Andy Crichton
I would always stick with the oracle tools for speed. Sqlloader behaves strangely Sometimes but unless you need to use perl for a specific reason I would stick with It. Another option is to split the data into parts and run multiple parallel loads. This Depends on you hav

Two simple Oracle DBI issues(Oracle NEWBIE)

2004-02-26 Thread spiros
Two problems: First, I tried: my $measurementssth=$dbh->prepare("SELECT POLLENTRAP_ID, ALLER_ID, TYPE, SPORES,FID, (SYSDATE-DATECOLLECTION) FROM $measurements_table WHERE (SYSDATE-DATECOLLECTION) <15 ORDER by 6 LIMIT 1 ") ; (trying to get the one line of data for which DATECOLLECTION IS clos

Re: Two simple Oracle DBI issues(Oracle NEWBIE)

2004-02-26 Thread Chris Jack
Why don't you try to debug this stuff in SQL*Plus before you go to DBI. Issue 1 isn't really a DBI issue - it's an SQL issue. Instead of "LIMIT 1" try adding "and rownum <= 1" to the where clause. For the issue 2 - I'm not sure but it might be worth checking there are no non-visible characters i

DBI and overload are not happy together

2004-02-26 Thread Dave Rolsky
Here's a simple recipe to reproduce this: my $dbh = DBI->connect(...); print "overloaded\n" overload::Overloaded($dbh); The error that comes out is: can: handle 'DBI::db' is not a hash reference at dbi.pl line 9. This is coming from DBI, because the Overloaded function looks like this:

RE: Two simple Oracle DBI issues(Oracle NEWBIE)

2004-02-26 Thread Andy Hassall
> Why don't you try to debug this stuff in SQL*Plus before you > go to DBI. > Issue 1 isn't really a DBI issue - it's an SQL issue. > > Instead of "LIMIT 1" try adding "and rownum <= 1" to the > where clause. But remember that ROWNUM is assigned before any ORDER BY. So you have to wrap it in

How to connect to .mdb file without a DSN

2004-02-26 Thread rherring
Hello, I have been trying to extract data from a access.mdb file using perl5, DBI-1.40, DBD-ODBC-1.07, unixODBC-2.2.7, and libmdbodbc.xx driver from mdbtools. I have seen many sources and posts proclaiming the possibility to avoid needing to define DSN's by connecting similar to the following: m

Re: How to connect to .mdb file without a DSN

2004-02-26 Thread Jeff Zucker
[EMAIL PROTECTED] wrote: Hello, I have been trying to extract data from a access.mdb file using perl5, DBI-1.40, DBD-ODBC-1.07, unixODBC-2.2.7, and libmdbodbc.xx driver from mdbtools. I have seen many sources and posts proclaiming the possibility to avoid needing to define DSN's by connecting si

RE: Oracle with ActiveState build 8xx

2004-02-26 Thread Jeff Urlwin
> > > Jeff, > > I upgraded to perl 5.8.3 and installed both the DBI and the > DBD::Oracle modules from your site. As you suspected, that > did not fix the problem. Unfortunately :( > When I was running the dumpbin utility, I realized that in my > previous email I mis-typed the error mes

RE: Oracle with ActiveState build 8xx

2004-02-26 Thread Lynn. Rickards
> > > > Jeff, > > > > I upgraded to perl 5.8.3 and installed both the DBI and the > > DBD::Oracle modules from your site. As you suspected, that > > did not fix the problem. > > Unfortunately :( > > > > When I was running the dumpbin utility, I realized that in my > > previous email I m

Oracle Direct Pass

2004-02-26 Thread h-taguchi
Hello, Sorry if it is FAQ. So called "Direct Pass" can be used by DBD::Oracle? I ususally load data by my script made with DBI/DBD::Oracle. But sometimes when the data is so big I wonder if I shoud use my script or use SQL*LOADER. I like Perl so much but I can't wait so lo

Re: Reading BLOBs DBI::Oracle

2004-02-26 Thread Tim Bunce
On Thu, Feb 26, 2004 at 12:29:29PM +1000, [EMAIL PROTECTED] wrote: > > I am sure this has been covered but I am a newbie to both DBI::Oracle and > BLOBs. I have done a few Google searches and have found several useful code > example on how to write to a BLOB datatype but nothing that shows me a >