Re: [GENERAL] simple query question to use with DBI selectall_hashref

2007-07-05 Thread Martijn van Oosterhout
On Thu, Jul 05, 2007 at 01:39:31PM -0400, Kenji Morishige wrote: > I would like to create a query that returns a column with an integer > 1 through (row_count) to use as the index while used in conjunction with > DBI's selectall_hashref($sql,$key) function. In the past I'd usually just > write a w

[GENERAL] simple query question to use with DBI selectall_hashref

2007-07-05 Thread Kenji Morishige
I would like to create a query that returns a column with an integer 1 through (row_count) to use as the index while used in conjunction with DBI's selectall_hashref($sql,$key) function. In the past I'd usually just write a wrapper around selectrow_hashref and put all those results in an array. I