RE: Getting spatial data?
- From: Philip.Garrett@xxxxxxxxxxx (Philip Garrett)
- Date: Thu, 22 Jun 2006 14:07:56 -0400
-----Original Message-----
From: Todd Chisholm
Sent: Thursday, June 22, 2006 1:54 PM
Subject: Getting spatial data?
[snip]
my $query = "select geometry from processed_product where id=15601";
my $sth = $connect->prepare($query);
$sth->execute();
not
DBD::Oracle::db prepare failed: ERROR OCIDefineObject call needed but
implemented yet [for Statement "select geometry from processed_productwhere
id=15601"] at /home/corp14/tchishol/oracleTst.pl line 11.
You can't use native PL/SQL object types directly in Perl. You'll have
to select just the properties you need in the select clause, like:
select geometry.get_dims() from processed_product where id=15601
Can't call method "execute" on an undefined value at ...oracleTst.plline
12.
Just nit picking here, but don't forget "|| die $connect->errstr"
after your prepare statement.
Philip
.
- Prev by Date: Getting spatial data?
- Next by Date: Re: Getting spatial data?
- Previous by thread: Re: Getting spatial data?
- Next by thread: DBI compile on AIX 5.2
- Index(es):