in reply to List columns for a MySQL table
Or, for a more portable approach, use the Catalogue methods that the DBI spec defines and that all DBDs should implement.
Update: Ok. I see you originally used column_info and changed for performance reasons. If column_info is that much slower than raw SQL then I'd suggest that someone should raise a bug against DBD::mysql :-)
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: List columns for a MySQL table
by EvanK (Chaplain) on Jun 30, 2006 at 18:02 UTC |