|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Re: Class::DBI exampleby lachoy (Parson) |
| on Feb 11, 2002 at 07:56 UTC ( [id://144629]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Hi Tony, I created a module to do this for SPOPS. I've tested this on MySQL, PostgreSQL and DB2/AS400 thru ODBC. Basically, all you need to do is issue a dummy query against a table so DBI can grab the metadata. Here's an example:
I think most DBDs support this basic metadata. Whenever I've found one that didn't support both of these (like DBD::ASAny at one time), I've harrangued the author and always gotten a quick response :-) Chris
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||