Keep It Simple, Stupid | |
PerlMonks |
DBI: interpreting column_info()by ibm1620 (Hermit) |
on Feb 17, 2013 at 06:43 UTC ( [id://1019110]=perlquestion: print w/replies, xml ) | Need Help?? |
ibm1620 has asked for the wisdom of the Perl Monks concerning the following question: After two days of reading the CPAN doc on DBI and saying to myself "I KNOW it's here somewhere", I have to ask for help. The following, I believe, retrieves *all* available metadata info for each column, and puts it into an array: Here is some sample output:
My questions are: * Where is each field documented? * Where is a list of translations for the codes appearing in some fields? * Are there any helpful constants or other symbols anywhere, for referring to the columns and the codes within? * If there *are* helpful symbols identifying these various fields, how can I use them in a call to fetchall_arrayref? (I tried fetchall_arrayref(qw/COLUMN_NAME .../), choosing some symbol-like strings from the documentation, but only got back undefs.) I'd be very grateful if someone could help me move past this point of complete frustration!
Back to
Seekers of Perl Wisdom
|
|