Finding indexed fields in tables

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
tsg
Forum Contributor
Posts: 142
Joined: Sun Jan 12, 2003 9:22 pm
Location: SE, Alabama
Contact:

Finding indexed fields in tables

Post by tsg »

I am needing a way to either determin if a field in a table is indexed OR list indexed fields for a table with php. It would be something like you would see in phpmyadmin where it shows you the indexed fields, but I am needing to check fields before reindexing in a script.

Thanks!
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

tsg
Forum Contributor
Posts: 142
Joined: Sun Jan 12, 2003 9:22 pm
Location: SE, Alabama
Contact:

Post by tsg »

Thanks a lot! exactly what I needed.

Thanks
Tim
Post Reply