On Tue, Aug 5, 2008 at 6:06 PM, Peter Scott <[EMAIL PROTECTED]> wrote:
> On Tue, 05 Aug 2008 09:38:41 +0530, Amit Saxena wrote: > > > What's the DBI equivalent of Oraperl ora_titles function ? > > > > I need it because I want to get the titles (column names) of a select > query > > into an array without fetching the row values from the database. > > I believe you want the NAME statement handle attribute: > > http://search.cpan.org/~timb/DBI-1.607/DBI.pm#NAME_(array-ref,_read-only)<http://search.cpan.org/%7Etimb/DBI-1.607/DBI.pm#NAME_%28array-ref,_read-only%29> > > -- > Peter Scott > http://www.perlmedic.com/ > http://www.perldebugged.com/ > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > Hi Peter, Thanks, it worked for me ! Regards, Amit Saxena