Re: ODBC - no way to retrieve further indices (except primaries)
| From: | Andreas Karajannis | Date: | Wed, 12 Jul 2000 15:57:02 +0000 |
| Subject: | Re: ODBC - no way to retrieve further indices (except primaries) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24331@lists.php.net to get a copy of this message | ||
waldschrott wrote:
>
> I forgot unique columns, that information was not accessible too....
>
> waldschrott wrote:
>
> > Hmm, I´ve spent a while on the newer ODBC functions and AFAIK there´s no
> > way to retriev further indices. You can get primaries using
> > odbc_primarykeys but no function will contain information that contains
> > data about all created indices (like you can "SHOW KEYS FROM $table" in
> > MySQL).
> >
> > odbc_columns() contains much information buffer_size and stuff but that
> > important index info is just not available, I assume it should be
> > possible to retrieve this via odbc.
> >
Try odbc_statistics().
-Andreas
--
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948