Not sure if this is what you're looking for, but do perldoc DBI
at a command prompt and search for "selectall_arrayref", "selectall_hashref", and "fetchall_arrayref". Hardy Merrill >>> Xinyu Wen <[EMAIL PROTECTED]> 08/11/04 12:34PM >>> Hi, I would like to know if there is a better way to fetch an entire table to a file (the file has to be tab delimited) instead of using fetchrow_array function? Fetchrow_array is working fine but slow to work with a big table. Thanks, Adam.