From spikeh at mweb.co.za Mon Feb 7 05:11:38 2005 From: spikeh at mweb.co.za (Spike) Date: Mon Feb 7 05:14:23 2005 Subject: [Za-pm] col names Message-ID: <6.2.0.14.2.20050207150907.02f5d640@pop3.mweb.co.za> Anyone know a DBI/DBD method to bring back the column names from a table. I am sure I read about it recently but I just cant remember where. I know array_hashref will have the col names in the keys buy I am sure there is a simpler call. From tvilliers at lastminute.com Mon Feb 7 05:21:05 2005 From: tvilliers at lastminute.com (Tielman de Villiers) Date: Mon Feb 7 05:21:10 2005 Subject: [Za-pm] col names In-Reply-To: <6.2.0.14.2.20050207150907.02f5d640@pop3.mweb.co.za> References: <6.2.0.14.2.20050207150907.02f5d640@pop3.mweb.co.za> Message-ID: <1107782466.28655.3.camel@localhost.localdomain> On Mon, 2005-02-07 at 13:11 +0000, Spike wrote: > Anyone know a DBI/DBD method to bring back the column names from a > table. > I am sure I read about it recently but I just cant remember where. I > know > array_hashref will have the col names in the keys buy I am sure there > is a > simpler call. > @hdrs = $sth->{NAME_lc};