checking presence of table columns in mysql
Mike Starke
plug-discuss@lists.plug.phoenix.az.us
Mon, 10 Feb 2003 23:15:59 -0500
On Mon, Feb 10, 2003 at 08:44:48PM -0700, Lynn David Newton wrote:
/_
/_Since there seems to be some mysql expertise on the
/_list: Does anyone know of a SQL based way to check for
/_the existence of a particular column by name? This came
/_up in work today. I've never been able to do it. I'm
/_not so sure it's possible.
/_
Hmmm, have you tried looking in the array:
my $names = $sth->{NAME} ;