> Subject: Getting index metadata with LISTINDEX
> Date: Wed, 28 Apr 1999 16:35:49 -0500
> From: "Moroney, Dennis" <MoroneyD@stripped>
> To: "'msql-mysql-modules@stripped'"
> <msql-mysql-modules@stripped>
>
> I would like to use the documented SQL extension named LISTINDEX get the
> table index by performing the following:
>
> $sth = $dbh->prepare( qq[LISTINDEX $table $index] );
> $sth->execute;
> $idx = $sth->{????};
The msqlListIndex function returns a result table. Thus you don't
have to look at the sth attributes (besides NUM_OF_FIELDS, NAME and
TYPE), but use $sth->fetchrow_hashref() or something similar to
retrieve the information.
Bye,
Jochen
--
Jochen Wiedmann joe@stripped
Wiedmann'sches Idealgewicht: IQ - 30% +49 7123 14887
| Thread |
|---|
| • Re: Getting index metadata with LISTINDEX | Jochen Wiedmann | 26 May |