Syntactic Confectionery Delight | |
PerlMonks |
Re: Retrieving column names from SQL with DBIby perlfan (Vicar) |
on Sep 28, 2020 at 01:02 UTC ( [id://11122278]=note: print w/replies, xml ) | Need Help?? |
Most DBs provide introspection via SQL, for example MySQL/MariaBD's SHOW command. I know in this particular cast, this represents maybe an additional and unnecessary call. But in the future it's good to know this is exposed via SQL and therefore available to you via DBI just like any other SQL.
In Section
Seekers of Perl Wisdom
|
|